Fix up the encodings for new instructions, both expected and actual. Make the test more accurate.

This commit is contained in:
Tyler McMullen
2017-11-30 22:34:13 -08:00
committed by Jakob Stoklund Olesen
parent daa7a21d05
commit 6ec4bfc4ca
2 changed files with 9 additions and 9 deletions

View File

@@ -232,7 +232,7 @@ enc_i32_i64(x86.push, r.pushq, 0x50)
enc_i32_i64(x86.pop, r.popq, 0x58)
# Copy Special
enc_i64(base.copy_special, r.copysp, 0x89)
enc_i64(base.copy_special, r.copysp, 0x89, w=1)
I32.enc(base.copy_special, *r.copysp(0x89))
# Adjust SP Imm