aboutsummaryrefslogtreecommitdiff
path: root/tests/asmtest.S
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 /tests/asmtest.S
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 'tests/asmtest.S')
-rw-r--r--tests/asmtest.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/asmtest.S b/tests/asmtest.S
index 2a9f403..985d824 100644
--- a/tests/asmtest.S
+++ b/tests/asmtest.S
@@ -236,6 +236,7 @@ lcall *(%rax)
#endif
jmp 0x1000
+jmp *(%edi)
#ifdef __i386__
jmp *%eax
#else