MOV

Integer, logic, video and predicate instructions

fixed bit field field the encoding fixes should be

MOV (reg)

6362616059585756555453525150494847464544434241403938373635343332
0101110010011
313029282726252423222120191817161514131211109876543210
Rbpred.notpredRd

bits 63:48: 0101 1100 1001 1---

Runs execute_MOV with Form() 0.

MOV (cbuf)

6362616059585756555453525150494847464544434241403938373635343332
0100110010011cbuf.bankcbuf.offset
313029282726252423222120191817161514131211109876543210
cbuf.offsetpred.notpredRd

bits 63:48: 0100 1100 1001 1---

Runs execute_MOV with Form() 1.

MOV (imm)

6362616059585756555453525150494847464544434241403938373635343332
0011100imm.sign10011imm
313029282726252423222120191817161514131211109876543210
immpred.notpredRd

bits 63:48: 0011 100- 1001 1---

Runs execute_MOV 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
[42:39]42:39execute_MOV
Rb27:20the right operand
pred.not19the decoder
pred18:16the decoder
Rd7:0Dst()

Operation Sail

MOV: with the write mask at 39-42 1 or 15; a register's as the block holds it (reg_copy)

if Form() == 0 then R_copy(Dst(), UInt(Field(20, 8))) else R_write(Dst(), RightOf(Form()))

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