Add Intel encodings for ifcmp_sp.

Also generate an Into<RegUnit> implementation for the RU enums.
This commit is contained in:
Jakob Stoklund Olesen
2018-02-09 14:32:29 -08:00
parent 73c4c356c9
commit 788a78caf4
9 changed files with 34 additions and 8 deletions

View File

@@ -364,6 +364,9 @@ I64.enc(base.trapif, r.trapif, 0)
enc_i32_i64(base.icmp, r.icscc, 0x39)
enc_i32_i64(base.ifcmp, r.rcmp, 0x39)
I32.enc(base.ifcmp_sp.i32, *r.rcmp_sp(0x39))
I64.enc(base.ifcmp_sp.i64, *r.rcmp_sp.rex(0x39, w=1))
#
# Convert flags to bool.
#