ISET

Integer, logic, video and predicate instructions

fixed bit field field the encoding fixes should be

ISET (reg)

6362616059585756555453525150494847464544434241403938373635343332
010110110101
313029282726252423222120191817161514131211109876543210
Rbpred.notpredRaRd

bits 63:48: 0101 1011 0101 ----

Runs execute_ISET with Form() 0.

ISET (cbuf)

6362616059585756555453525150494847464544434241403938373635343332
010010110101cbuf.bankcbuf.offset
313029282726252423222120191817161514131211109876543210
cbuf.offsetpred.notpredRaRd

bits 63:48: 0100 1011 0101 ----

Runs execute_ISET with Form() 1.

ISET (imm)

6362616059585756555453525150494847464544434241403938373635343332
0011011imm.sign0101imm
313029282726252423222120191817161514131211109876543210
immpred.notpredRaRd

bits 63:48: 0011 011- 0101 ----

Runs execute_ISET with Form() 2.

Fields

The operation reads some of these fields in some forms alone (it chooses by Form()), so the diagrams show only the decoder's.

FieldBitsFrom
[47]47execute_ISET
test46:45execute_ISET
truth44execute_ISET
condition42execute_ISET
condition41:39execute_ISET
Rb27:20the right operand
pred.not19the decoder
pred18:16the decoder
Ra15:8RegA()
Rd7:0Dst()

Operation Sail

let left = R_read(RegA());
let right = RightOf(Form());
let test0 = IntegerCompare(left, right);
let condition = PredRead(UInt(Field(39, 3)), UInt(Field(42, 1)));
let test = Combine53(UInt(Field(45, 2)), test0, condition);
let truth = Bits32(if Field(44, 1) == 0b1 then 0x3f800000 else 0xffffffff);
let result = RawSelect(test, truth, 0x00000000);
if Field(47, 1) == 0b1 then FlagsLogic(result);
R_write(Dst(), result)

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 Eden's maxwell.inc (GPL-2.0-or-later).