This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to add a NOP instruction in each basic block for obj code that gcc generates


Jeff <jeffhuang9999@gmail.com> writes:

> Which function should I use in order to emit a nop?

The simplest way is going to be something like
    fprintf (asm_out_file, "\tnop\n");

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]