I'm trying to emit one of the multi-byte NOP sequences for x86. Any one of the following NOP encodings will do:
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.