[LLVMdev] Emitting x86 Multi-Byte NOP in MachineFunctionPass
John Criswell
criswell at illinois.edu
Fri Nov 8 14:39:38 PST 2013
Dear All,
I'm trying to emit one of the multi-byte NOP sequences for x86. Any one
of the following NOP encodings will do:
0x66 0x90
0x0f 0x1f 0x00
0x0f 0x1f 0x40 0x00
In LLVM 3.1, there doesn't seem to be a multi-byte NOP in the TD files.
Is there a way to get a MachineFunctionPass to emit one of these
sequences (or to just tell it to emit a certain byte sequence into the
code segment)?
-- John T.
More information about the llvm-dev
mailing list