From 613962e35399e0b87baf8ac031b74aecd09f24f1 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Wed, 11 May 2016 18:56:19 +0200 Subject: x86-64 asm: Remove useless jmp opcode Also remove the hacky mod/rm byte emission during disp/imm writing. --- tests/asmtest.S | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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 -- cgit v1.3.1