Changes between Version 7 and Version 8 of GcnInstrsSop2
- Timestamp:
- 11/14/15 08:10:20 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GcnInstrsSop2
v7 v8 372 372 If result is non-zero store 1 to SCC, otherwise store 0 to SCC.<br /> 373 373 Operation:<br /> 374 <code>UINT8 shift = length&31374 <code>UINT8 shift = SSRC1&31 375 375 UINT8 length = (SSRC1>>16) & 0x7f 376 376 if (length==0) … … 387 387 If result is non-zero store 1 to SCC, otherwise store 0 to SCC.<br /> 388 388 Operation:<br /> 389 <code>UINT8 shift = length& 31389 <code>UINT8 shift = SSRC1 & 31 390 390 UINT8 length = (SSRC1>>16) & 0x7f 391 391 if (length==0) … … 403 403 If result is non-zero store 1 to SCC, otherwise store 0 to SCC.<br /> 404 404 Operation:<br /> 405 <code>UINT8 shift = length&63405 <code>UINT8 shift = SSRC1&63 406 406 UINT8 length = (SSRC1>>16) & 0x7f 407 407 if (length==0) … … 419 419 SDST, SSRC0 are 64-bit, SSRC1 is 32-bit.<br /> 420 420 Operation:<br /> 421 <code>UINT8 shift = length& 63421 <code>UINT8 shift = SSRC1 & 63 422 422 UINT8 length = (SSRC1>>16) & 0x7f 423 423 if (length==0) … … 493 493 <p>Opcode: 8 (0x8)<br /> 494 494 Syntax: S_MIN_I32 SDST, SSRC0, SSRC1<br /> 495 Description: Choose largest signed value value from SSRC0 and SSRC1 and store its into SDST,496 and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />495 Description: Choose largest signed value value from SSRC0 and SSRC1 and store 496 its into SDST, and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br /> 497 497 Operation:<br /> 498 498 <code>SDST = (INT32)SSRC0 > (INT32)SSRC1 ? SSRC0 : SSRC1 … … 501 501 <p>Opcode: 9 (0x9)<br /> 502 502 Syntax: S_MAX_U32 SDST, SSRC0, SSRC1<br /> 503 Description: Choose largest unsigned value value from SSRC0 and SSRC1 and store its into SDST,504 and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />503 Description: Choose largest unsigned value value from SSRC0 and SSRC1 and store 504 its into SDST, and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br /> 505 505 Operation:<br /> 506 506 <code>SDST = SSRC0 > SSRC1 ? SSRC0 : SSRC1 … … 509 509 <p>Opcode: 6 (0x6)<br /> 510 510 Syntax: S_MIN_I32 SDST, SSRC0, SSRC1<br /> 511 Description: Choose smallest signed value value from SSRC0 and SSRC1 and store its into SDST,512 and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />511 Description: Choose smallest signed value value from SSRC0 and SSRC1 and store 512 its into SDST, and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br /> 513 513 Operation:<br /> 514 514 <code>SDST = (INT32)SSRC0 < (INT32)SSRC1 ? SSRC0 : SSRC1 … … 517 517 <p>Opcode: 7 (0x7)<br /> 518 518 Syntax: S_MIN_U32 SDST, SSRC0, SSRC1<br /> 519 Description: Choose smallest unsigned value value from SSRC0 and SSRC1 and store its into SDST,520 and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />519 Description: Choose smallest unsigned value value from SSRC0 and SSRC1 and store 520 its into SDST, and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br /> 521 521 Operation:<br /> 522 522 <code>SDST = SSRC0 < SSRC1 ? SSRC0 : SSRC1