IADD32I

Integer, logic, video and predicate instructions

fixed bit field field the encoding fixes should be

IADD32I

6362616059585756555453525150494847464544434241403938373635343332
0001110[56:55][53][52]immediate
313029282726252423222120191817161514131211109876543210
immediatepred.notpredRaRd

bits 63:48: 0001 110- ---- ----

Runs execute_IADD32I with Form() 0.

Fields

FieldBitsFrom
[56:55]56:55execute_IADD32I
[53]53execute_IADD32I
[52]52execute_IADD32I
immediate51:20execute_IADD32I
pred.not19the decoder
pred18:16the decoder
Ra15:8RegA()
Rd7:0Dst()

Operation Sail

let immediate = Bits32(Field(20, 32));
R_write(Dst(), IntegerAdd(R_read(RegA()), immediate, UInt(Field(55, 2)), UInt(Field(53, 1)), UInt(Field(52, 1))))

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).