Add x86 encodings for same-size bint conversions up to 64 bits

This commit is contained in:
Andrew Brown
2020-04-18 15:07:53 -07:00
parent 1873c0ae46
commit 2048d3d30c

View File

@@ -689,6 +689,12 @@ fn define_moves(e: &mut PerCpuModeEncodings, shared_defs: &SharedDefinitions, r:
} }
} }
} }
for (to, from) in &[(I16, B16), (I32, B32), (I64, B64)] {
e.enc_both(
bint.bind(*to).bind(*from),
rec_urm_noflags_abcd.opcodes(&MOVZX_BYTE),
);
}
// Copy Special // Copy Special
// For x86-64, only define REX forms for now, since we can't describe the // For x86-64, only define REX forms for now, since we can't describe the