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 |
| 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | skipinv | nosched | 1 | 0 | dest_ext | end | imm[31:26] | pred | imm[25:21] | dest_bank | ||||||||||||||
| 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 |
| dest_n | imm[20:0] | ||||||||||||||||||||||||||||||
bits 63:0: 1111 1100 xx10 xxxx xxxx xxxx xxxx --xx ---- xxxx xxxx xxxx xxxx xxxx xxxx xxxx
It is in a group of patterns that may match the same word: the decoder tries them in this order, and the first that matches decodes it: SMP, PHAS, NOP, BR, SMLSI, SMBO, KILL, LIMM, DEPTHF, SPEC, VLDST.
Runs execute_LIMM with Form() 0.
| Field | Bits | The Sail reads it in |
|---|---|---|
| skipinv | 55 | |
| nosched | 54 | |
| dest_ext | 51 | Bit(51) |
| end | 50 | |
| imm | 49:44, 40:36, 20:0 | execute_LIMM |
| pred | 43:41 | |
| dest_bank | 33:32 | execute_LIMM |
| dest_n | 27:21 | execute_LIMM |
LIMM: its 32-bit immediate (26-31 at 44, 21-25 at 36, 0-20 at 0) into the destination
Dest(DEST, UInt(Field(21, 7)), UInt(Field(32, 2)), Bit(51), false, 7); SetType(DEST, T_U32); Reset(R, 1, K_UINT); Put(R, 0, UConst(UInt(Field(44, 6) @ Field(36, 5) @ Field(0, 21)))); Store(DEST, R, 1, 0)
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 Vita3K's usse_translator_entry.cpp (GPL-2.0-or-later).