LEPC

Attributes and the stage's own memory

fixed bit field field the encoding fixes should be

Encoding

12712612512412312212112011911811711611511411311211111010910810710610510410310210110099989796
reusewaitrd_barwr_baryieldstall
9594939291908988878685848382818079787776757473727170696867666564
6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
Rdpred.notpred001101001110

bits 15:0: ---- 0011 0100 1110

LEPC (0x34e): the address of its own instruction into a register pair (CuAssembler's sm_86 record "LEPC R128"). A geometry program that ends through an exit stub adds the stub's offset to it and hands the sum to 0x357, which sets where EXIT goes on; the stub runs OUT and 0x957 before its own EXIT (nxnative's notes on one game's geometry program, MIT). No public table names 0x357 or 0x957

Runs execute_LEPC.

Fields

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

Operation Sail

LEPC: the instruction's address, which only the exit stub's setup reads (STUB_SET)

if Dst() < RZ then R_write(Dst(), to_bits(32, 16 * InsnIndex()));
if Dst() + 1 < RZ then R_write(Dst() + 1, 0x00000000)

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.