Integer, logic, video and predicate instructions
fixed bit field field the encoding fixes should be
| 63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
| 0 | 0 | 0 | 1 | 1 | 1 | 0 | [56:55] | [53] | [52] | immediate | |||||||||||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| immediate | pred.not | pred | Ra | Rd | |||||||||||||||||||||||||||
bits 63:48: 0001 110- ---- ----
Runs execute_IADD32I with Form() 0.
| Field | Bits | From |
|---|---|---|
| [56:55] | 56:55 | execute_IADD32I |
| [53] | 53 | execute_IADD32I |
| [52] | 52 | execute_IADD32I |
| immediate | 51:20 | execute_IADD32I |
| pred.not | 19 | the decoder |
| pred | 18:16 | the decoder |
| Ra | 15:8 | RegA() |
| Rd | 7:0 | Dst() |
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).