search for: 400c10

Displaying 5 results from an estimated 5 matches for "400c10".

Did you mean: 400,10
2016 Jun 22
3
x86: How to Force 2-byte `jmp` instruction in lowering
...irav > > Thanks Nirav -- I tried this but I'm still getting a "jmpq <address>" with this incantation when I load and disassemble from gdb. I'm seeing a 5-instruction jump, followed by the nops. If I disassemble with llvm-objdump though I see the following: _Z3foov: 400c10: e9 09 00 00 00 jmp 9 <_Z3foov+0xE> 400c15: 66 0f 1f 84 00 00 02 00 00 nopw 512(%rax,%rax) I'm not sure whether the extra 0's after '0xe9 0x09' are alignment padding (though I was expecing 0x90 to show up if this was an alignment issue). Is there a...
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
...tried this but I'm still getting a "jmpq <address>" with > this incantation when I load and disassemble from gdb. I'm seeing a > 5-instruction jump, followed by the nops. > > If I disassemble with llvm-objdump though I see the following: > > _Z3foov: > 400c10: e9 09 00 00 00 jmp 9 <_Z3foov+0xE> > 400c15: 66 0f 1f 84 00 00 02 00 00 nopw 512(%rax,%rax) > > I'm not sure whether the extra 0's after '0xe9 0x09' are alignment padding > (though I was expecing 0x90 to show up if this was an alignment...
2016 Jun 22
2
x86: How to Force 2-byte `jmp` instruction in lowering
I have a bit of a riddle: In http://reviews.llvm.org/D19904 I'm trying to spell the following assembly: .palign 2, 0x90 jmp +0x9 nopw 512(%rax,%rax,1) // rest of the code I try the following snippet to accomplish this: OutStreamer->EmitLabel(CurSled); OutStreamer->EmitCodeAlignment(4); auto Target = OutContext.createLinkerPrivateTempSymbol(); // Use a two-byte `jmp`.
2016 Jun 22
2
x86: How to Force 2-byte `jmp` instruction in lowering
...getting a "jmpq <address>" >> with this incantation when I load and disassemble from gdb. I'm seeing a >> 5-instruction jump, followed by the nops. >> >> If I disassemble with llvm-objdump though I see the following: >> >> _Z3foov: >> 400c10: e9 09 00 00 00 jmp 9 <_Z3foov+0xE> >> 400c15: 66 0f 1f 84 00 00 02 00 00 nopw 512(%rax,%rax) >> >> I'm not sure whether the extra 0's after '0xe9 0x09' are alignment >> padding (though I was expecing 0x90 to show up if this w...
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
...dress>" >>> with this incantation when I load and disassemble from gdb. I'm seeing a >>> 5-instruction jump, followed by the nops. >>> >>> If I disassemble with llvm-objdump though I see the following: >>> >>> _Z3foov: >>> 400c10: e9 09 00 00 00 jmp 9 <_Z3foov+0xE> >>> 400c15: 66 0f 1f 84 00 00 02 00 00 nopw 512(%rax,%rax) >>> >>> I'm not sure whether the extra 0's after '0xe9 0x09' are alignment >>> padding (though I was expecing 0x90 to s...