ULDC

Memory

fixed bit field field the encoding fixes should be

Encoding

12712612512412312212112011911811711611511411311211111010910810710610510410310210110099989796
reusewaitrd_barwr_baryieldstall
9594939291908988878685848382818079787776757473727170696867666564
[91]kind
6362616059585756555453525150494847464544434241403938373635343332
bankoff
313029282726252423222120191817161514131211109876543210
dpred.notpred101010111001

bits 15:0: ---- 1010 1011 1001

Runs execute_ULDC.

Fields

FieldBitsFrom
reuse125:122the decoder
wait121:116the decoder
rd_bar115:113the decoder
wr_bar112:110the decoder
yield109the decoder
stall108:105the decoder
[91]91execute_ULDC
kind75:73execute_ULDC
bank58:54execute_ULDC
off53:38execute_ULDC
d21:16execute_ULDC
pred.not15the decoder
pred14:12the decoder

Operation Sail

ULDC: the types as ULDC.IDX's (CuAssembler's sm_86 records give ULDC.U8, .S8 and .U16 too)

let kind = UInt(Field(73, 3));
let bank = UInt(Field(54, 5));
let off = UInt(Field(38, 16));
if Field(91, 1) == 0b1 | kind > 5 then throw(Unsupported("ULDC of type %u", kind));
let d = UInt(Field(16, 6));
if kind < 4 then U_write(d, CbufSubword(bank, off, kind)) else {
    U_write(d, CbufLoad(bank, off));
    if kind == 5 & d < URZ then U_write(d + 1, CbufLoad(bank, off + 4))
}

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.