Reality Signal Processor/CPU Core: Difference between revisions

Jump to navigation Jump to search
m
A few value corrections
m (A few value corrections)
 
Line 500:
!Description
|-
|0x20
|0x00
|<code>vlt</code>
|Select the lower value between two VPR
|-
|0x21
|0x01
|<code>veq</code>
|Compare two VPR to check if they are equal
|-
|0x22
|0x02
|<code>vne</code>
|Compare two VPR to check if they are different
|-
|0x23
|0x03
|<code>vge</code>
|Select the greater or equal value between two VPR
|-
|0x24
|0x04
|<code>vcl</code>
|Clip a VPR against two bounds (lower 16-bits)
|-
|0x25
|0x05
|<code>vch</code>
|Clip a VPR against two bounds (higher 16-bits)
|-
|0x26
|0x06
|<code>vcr</code>
|Clip a VPR against a pow-2 bound
|-
|0x27
|0x07
|<code>vmrg</code>
|Merge two VPR selecting each lane according to flags
Line 579:
<code>mtc2</code> moves the lower 16 bits of the general purpose register <code>rt</code> to the bytes <code>VS[vs_elem+1..vs_elem]</code>. If <code>vs_elem</code> is 15, only <code>VS[vs_elem]</code> is written (with <code>rt[15..8]</code>).
 
<code>mfc2</code> moves the 2 bytes <code>VS[vs_elem+1..vs_elem]</code> to GPR <code>rt</code>, sign extending the 16 bits value to 6432 bits. If <code>vs_elem</code> is 15, the lower byte is taken from byte 0 of the register (that is, it wraps around).
 
<code>ctc2</code> moves the lower 16 bits of GPR <code>rt</code> into the control register specified by <code>vs</code>, while <code>cfc2</code> does the reverse, moving the control register specified by <code>vs</code> into GPR <code>rt</code>, sign extending to 6432 bits. Note that both <code>ctc2</code> and <code>cfc2</code> ignore the <code>vs_elem</code> field. For these instructions, the control register is specified as follows:
{| class="wikitable"
!<code>vs</code>
5

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu