Add (some) encodings for x86_push/pop instructions. Simple uses actually pass the legalizer now.

This commit is contained in:
Tyler McMullen
2017-11-22 19:18:51 -08:00
committed by Jakob Stoklund Olesen
parent cdf70ccb77
commit b8275f5713
4 changed files with 22 additions and 5 deletions

View File

@@ -227,6 +227,10 @@ enc_i32_i64(base.regfill, r.rfi32, 0x8b)
enc_both(base.fill.b1, r.fiSib32, 0x8b)
enc_both(base.regfill.b1, r.rfi32, 0x8b)
# Push and Pop
I64.enc(x86.push.i64, *r.pushq(0x50))
I64.enc(x86.pop.i64, *r.popq(0x58))
#
# Float loads and stores.
#