S2R

Moves and predicates

fixed bit field field the encoding fixes should be

Encoding

12712612512412312212112011911811711611511411311211111010910810710610510410310210110099989796
reusewaitrd_barwr_baryieldstall
9594939291908988878685848382818079787776757473727170696867666564
[79:72]
6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
Rdpred.notpred100100011001

bits 15:0: ---- 1001 0001 1001

0x80d, which neither NAK nor CuAssembler's sm_86 list has: by the name, PSETP ("Combine Predicates and Set Predicate"), which NVIDIA's Ampere instruction set table lists in the predicate group beside PLOP3 (0x81c) and which compute compilers don't emit. An Ounce game's vertex programs end with two of them after six FSETPs of the position against its w (P0 to P5, outside each clip plane), then @P0 EXIT before any output is written: a cull test of the vertex. Its destinations are at bits 81 and 84 as PLOP3's (both PT in the first, P0 in the second); bits 32-63 hold 0xc4321111 in the first and 0x80000000 in the second, by their nibbles the predicate operands (not decoded). Only this form is seen

Runs execute_S2R.

Fields

FieldBitsFrom
reuse125:122the decoder
wait121:116the decoder
rd_bar115:113the decoder
wr_bar112:110the decoder
yield109the decoder
stall108:105the decoder
[79:72]79:72execute_S2R
Rd23:16the decoder
pred.not15the decoder
pred14:12the decoder

Operation Sail

R_write(Dst(), ProgramSr(UInt(Field(72, 8))))

Made from ScarletNX's Sail at 166ad3910f80. The Sail and the encodings' file are ScarletNX's (GPL-3.0-or-later); its encodings are from Mesa's NAK (sm70_encode.rs, MIT) and CuAssembler's sm_86 records.