https://llvm.org/bugs/show_bug.cgi?id=22854
Russell Gallop <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #4 from Russell Gallop <[email protected]> --- Thanks for the fix Rafael. It looks like that has improved the add encoding but I still get longer encodings for the compare and jump instructions: test.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <_Z3foov>: 0: 55 push %rbp 1: 48 89 e5 mov %rsp,%rbp 4: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%rbp) b: 81 7d fc 01 00 00 00 cmpl $0x1,-0x4(%rbp) 12: 0f 84 13 00 00 00 je 2b <_Z3foov+0x2b> 18: e9 00 00 00 00 jmpq 1d <_Z3foov+0x1d> 1d: 8b 45 fc mov -0x4(%rbp),%eax 20: 83 c0 01 add $0x1,%eax 23: 89 45 fc mov %eax,-0x4(%rbp) 26: e9 e0 ff ff ff jmpq b <_Z3foov+0xb> 2b: 5d pop %rbp 2c: c3 retq I've reopened but can submit this as a separate bug if you think that would be best. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
