SPA 5.0:
{@{!}Pg}
SYNC
{CC.test}
{&req_6}
{?sched>=?WAIT5}
;
.test: { .F, .LT, .EQ, .LE, .GT, .NE, .GE, .NUM, Signed numeric tests
.NAN, .LTU, .EQU, .LEU, .GTU, .NEU, .GEU, .T, Signed or Unordered tests
.OFF, .LO, .SFF, .LS, .HI, .SFT, .HS, .OFT, Unsigned integer tests
.CSM_TA, .CSM_TR, .CSM_MX, .FCSM_TA, .FCSM_TR, .FCSM_MX, .RLE, .RGT } Clip State Machine tests
This instruction is used to mark the end of each code path (the "if" and "else" paths). This instruction searches the stack to find any CRS_TYPE_DIV tokens on the stack before the CRS_TYPE_SSY, and executes through those divergent paths for those corresponding threads and active masks. When the CRS_TYPE_SSY is finally found, it restores the active mask that SSY pushed and continues from the target of the SSY instruction. From the view of any one thread, execution goes from the SYNC instruction to the SSY target instruction.
SYNC;