Changes between Version 22 and Version 23 of GcnInstrsVop3


Ignore:
Timestamp:
05/29/16 10:00:30 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsVop3

    v22 v23  
    878878<p>Opcode: 324 (0x144) for GCN 1.0/1.1; 452 (0x1c4) for GCN 1.2<br />
    879879Syntax: V_CUBEID_F32 VDST, SRC0, SRC1, SRC2<br />
    880 Description: Cubemap face identification. Determine face by comparing three single FP values:
    881 SRC0 (X), SRC1 (Y), SRC2(Z). Choose highest absolute value and check whether is negative or
    882 positive. Store floating point value of face ID: (DIM*2.0)+(V[DIM]&gt;=0?1:0),
     880Description: Cubemap face identification. Determine face by comparing three single FP
     881values: SRC0 (X), SRC1 (Y), SRC2(Z). Choose highest absolute value and check whether is
     882negative or positive. Store floating point value of face ID: (DIM*2.0)+(V[DIM]&gt;=0?1:0),
    883883where DIM is number of choosen dimension (X - 0, Y - 1, Z - 2);
    884884V - vector = [SRC0, SRC1, SRC2].<br />
     
    12631263<p>Opcode: 322 (0x142) for GCN 1.0/1.1; 450 (0x1c2) for GCN 1.2<br />
    12641264Syntax: V_MAD_I32_I24 VDST, SRC0, SRC1, SRC2<br />
    1265 Description: Multiply 24-bit signed integer value from SRC0 by 24-bit signed value from SRC1,
    1266 add SRC2 to this product, and and store result to VDST.<br />
     1265Description: Multiply 24-bit signed integer value from SRC0 by 24-bit signed value from
     1266SRC1, add SRC2 to this product, and and store result to VDST.<br />
    12671267Operation:<br />
    12681268<code>INT32 V0 = (INT32)((SRC0&amp;0x7fffff) | (SSRC0&amp;0x800000 ? 0xff800000 : 0))