Changes between Version 22 and Version 23 of GcnInstrsVop3
- Timestamp:
- 05/29/16 10:00:30 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GcnInstrsVop3
v22 v23 878 878 <p>Opcode: 324 (0x144) for GCN 1.0/1.1; 452 (0x1c4) for GCN 1.2<br /> 879 879 Syntax: 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]>=0?1:0),880 Description: Cubemap face identification. Determine face by comparing three single FP 881 values: SRC0 (X), SRC1 (Y), SRC2(Z). Choose highest absolute value and check whether is 882 negative or positive. Store floating point value of face ID: (DIM*2.0)+(V[DIM]>=0?1:0), 883 883 where DIM is number of choosen dimension (X - 0, Y - 1, Z - 2); 884 884 V - vector = [SRC0, SRC1, SRC2].<br /> … … 1263 1263 <p>Opcode: 322 (0x142) for GCN 1.0/1.1; 450 (0x1c2) for GCN 1.2<br /> 1264 1264 Syntax: 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 />1265 Description: Multiply 24-bit signed integer value from SRC0 by 24-bit signed value from 1266 SRC1, add SRC2 to this product, and and store result to VDST.<br /> 1267 1267 Operation:<br /> 1268 1268 <code>INT32 V0 = (INT32)((SRC0&0x7fffff) | (SSRC0&0x800000 ? 0xff800000 : 0))