remove rex-prefixed recipes for e9 and eb jumps

while not incorrect, the prefix has no additional semantics on these
  instructions other than taking an extra byte for the jump
This commit is contained in:
iximeow
2019-05-17 12:28:46 -07:00
committed by Benjamin Bouvier
parent f427a2b923
commit 6059936113
4 changed files with 22 additions and 20 deletions

View File

@@ -490,8 +490,10 @@ X86_64.enc(base.x_return, *r.ret(0xc3))
#
# Branches
#
enc_both(base.jump, r.jmpb, 0xeb)
enc_both(base.jump, r.jmpd, 0xe9)
X86_32.enc(base.jump, *r.jmpb(0xeb))
X86_64.enc(base.jump, *r.jmpb(0xeb))
X86_32.enc(base.jump, *r.jmpd(0xe9))
X86_64.enc(base.jump, *r.jmpd(0xe9))
enc_both(base.brif, r.brib, 0x70)
enc_both(base.brif, r.brid, 0x0f, 0x80)