diff options
| author | Michael Matz <matz@suse.de> | 2016-05-11 18:56:19 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2016-05-11 18:56:19 +0200 |
| commit | 613962e35399e0b87baf8ac031b74aecd09f24f1 (patch) | |
| tree | eb293c335d659f2f1868affbbb66c592820a7503 /i386-asm.c | |
| parent | bd93dc6923a9fe202401666a1f2749fbdced9971 (diff) | |
| download | tinycc-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 'i386-asm.c')
| -rw-r--r-- | i386-asm.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1042,13 +1042,6 @@ ST_FUNC void asm_opcode(TCCState *s1, int opcode) g(0xE0 + ops[i].reg); } #endif -#ifdef TCC_TARGET_X86_64 - } else if (v & (OP_REG32 | OP_REG64)) { - if (pa->instr_type & (OPC_JMP | OPC_SHORTJMP)) { - /* jmp $r */ - g(0xE0 + ops[i].reg); - } -#endif } } #ifdef I386_ASM_16 |
