LIMM

Moves

fixed bit field field the encoding fixes should be

Encoding

6362616059585756555453525150494847464544434241403938373635343332
11111100skipinvnosched10dest_extendimm[31:26]predimm[25:21]dest_bank
313029282726252423222120191817161514131211109876543210
dest_nimm[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.

Fields

FieldBitsThe Sail reads it in
skipinv55
nosched54
dest_ext51Bit(51)
end50
imm49:44, 40:36, 20:0execute_LIMM
pred43:41
dest_bank33:32execute_LIMM
dest_n27:21execute_LIMM

Operation Sail

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