aboutsummaryrefslogtreecommitdiff
path: root/x86_64-asm.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-05-11 18:56:19 +0200
committerMichael Matz <matz@suse.de>2016-05-11 18:56:19 +0200
commit613962e35399e0b87baf8ac031b74aecd09f24f1 (patch)
treeeb293c335d659f2f1868affbbb66c592820a7503 /x86_64-asm.h
parentbd93dc6923a9fe202401666a1f2749fbdced9971 (diff)
downloadtinycc-613962e35399e0b87baf8ac031b74aecd09f24f1.tar.gz
tinycc-613962e35399e0b87baf8ac031b74aecd09f24f1.tar.bz2
x86-64 asm: Remove useless jmp opcode
Also remove the hacky mod/rm byte emission during disp/imm writing.
Diffstat (limited to 'x86_64-asm.h')
-rw-r--r--x86_64-asm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/x86_64-asm.h b/x86_64-asm.h
index 14e5969..4da5c0b 100644
--- a/x86_64-asm.h
+++ b/x86_64-asm.h
@@ -200,7 +200,6 @@ ALT(DEF_ASM_OP2(shrdw, 0x0fad, 0, OPC_MODRM | OPC_WLQ, OPT_REGW, OPT_EA | OPT_RE
ALT(DEF_ASM_OP1(call, 0xff, 2, OPC_MODRM, OPT_INDIR))
ALT(DEF_ASM_OP1(call, 0xe8, 0, OPC_JMP, OPT_ADDR))
ALT(DEF_ASM_OP1(jmp, 0xff, 4, OPC_MODRM, OPT_INDIR))
-ALT(DEF_ASM_OP1(jmp, 0xff, 0, OPC_JMP | OPC_WL, OPT_REGW))
ALT(DEF_ASM_OP1(jmp, 0xeb, 0, OPC_SHORTJMP | OPC_JMP, OPT_ADDR))
ALT(DEF_ASM_OP1(lcall, 0xff, 3, OPC_MODRM, OPT_EA))