search for: 400cea

Displaying 4 results from an estimated 4 matches for "400cea".

Did you mean: 400cda
2016 Jun 22
2
x86: How to Force 2-byte `jmp` instruction in lowering
...e8 a9 f9 ff ff callq -1623 <.plt+0x30> 400cd7: 89 45 fc movl %eax, -4(%rbp) 400cda: 48 83 c4 10 addq $16, %rsp 400cde: 5d popq %rbp 400cdf: c3 retq 400ce0: 2e 66 0f 1f 84 00 00 02 00 00 nopw %cs:512(%rax,%rax) 400cea: 66 0f 1f 44 00 00 nopw (%rax,%rax) --->8 disassembly 8<--- Having looked at this a bit, I think you're right that the jumps are being relaxed, due to the -mrelax-all option being used by clang. The question becomes whether it's possible to inhibit relaxation for spec...
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
...623 <.plt+0x30> > 400cd7: 89 45 fc movl %eax, -4(%rbp) > 400cda: 48 83 c4 10 addq $16, %rsp > 400cde: 5d popq %rbp > 400cdf: c3 retq > 400ce0: 2e 66 0f 1f 84 00 00 02 00 00 nopw %cs:512(%rax,%rax) > 400cea: 66 0f 1f 44 00 00 nopw (%rax,%rax) > > --->8 disassembly 8<--- > > Having looked at this a bit, I think you're right that the jumps are being > relaxed, due to the -mrelax-all option being used by clang. The question > becomes whether it's possible to...
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
Hmm. Odd. I just rebuilt from scratch and it seems to work with the test/CodeGen/X86/xray-attribute-instrumentation.ll test case outputing straight to obj: llc -filetype=obj -o ~/a.o -mtriple=x86_64-apple-macosx < test/CodeGen/X86/xray-attribute-instrumentation.ll What test case are you using? In any case, the issue appears to be that llvm doesn't realize that the target address is
2016 Jun 22
3
x86: How to Force 2-byte `jmp` instruction in lowering
On Wed, Jun 22, 2016 at 6:05 AM Nirav Davé <niravd at google.com> wrote: > This appears to work: > > auto Target = OutContext.createLinkerPrivateTempSymbol(); > > with > > auto Target = OutContext.createTempSymbol(); > > -Nirav > > Thanks Nirav -- I tried this but I'm still getting a "jmpq <address>" with this incantation when I load and