Changes between Version 2 and Version 3 of GcnInstrsVop2
- Timestamp:
- 11/20/15 21:00:19 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GcnInstrsVop2
v2 v3 300 300 Syntax VOP3a: V_CNDMASK_B32 VDST, SRC0, SRC1, SSRC2(2)<br /> 301 301 Description: If bit for current thread of VCC or SDST is set then store SRC1 to VDST, 302 otherwise store SRC0 to VDST. <br />302 otherwise store SRC0 to VDST. CLAMP and OMOD modifier doesn't affect on result.<br /> 303 303 Operation: 304 304 <code>VDST = SSRC2&(1ULL<<THREADID) ? SRC1 : SRC0</code></p> 305 <h4>V_READLANE_B32</h4> 306 <p>Opcode VOP2: 1 (0x1) for GCN 1.0/1.1<br /> 307 Opcode VOP3a: 257 (0x101) for GCN 1.0/1.1<br /> 308 Syntax: V_READLANE_B32 SDST, VSRC0, SSRC1<br /> 309 Description: Copy one VSRC0 lane value to one SDST. Lane (thread id) choosen from SSRC1&63. 310 SSRC1 can be SGPR or M0.<br /> 311 Operation:<br /> 312 <code>SDST = VSRC0[SSRC1 & 63]</code></p> 313 <h4>V_WRITELANE_B32</h4> 314 <p>Opcode VOP2: 2 (0x2) for GCN 1.0/1.1<br /> 315 Opcode VOP3a: 258 (0x102) for GCN 1.0/1.1<br /> 316 Syntax: V_WRITELANE_B32 VDST, VSRC0, SSRC1<br /> 317 Description: Copy SGPR to one lane of VDST. Lane choosen (thread id) from SSRC1&63. 318 SSRC1 can be SGPR or M0.<br /> 319 Operation:<br /> 320 <code>VDST[SSRC1 & 63] = SSRC0</code></p> 305 321 <h4>V_SUB_F32</h4> 306 322 <p>Opcode VOP2: 4 (0x4) for GCN 1.0/1.1; 2 (0x2) for GCN 1.2<br /> 307 323 Opcode VOP3a: 260 (0x104) for GCN 1.0/1.1; 258 (0x102) for GCN 1.2<br /> 308 324 Syntax: V_SUB_F32 VDST, SRC0, SRC1<br /> 309 Description: Subtract two FP value from SRC0 andSRC1 and store result to VDST.<br />325 Description: Subtract FP value from SRC0 and FP value from SRC1 and store result to VDST.<br /> 310 326 Operation:<br /> 311 327 <code>VDST = (FLOAT)SRC0 - (FLOAT)SRC1</code></p>