Re: prevent GCC from re-arranging two emit_insn()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/11/19 10:56 AM, William Tambe wrote:
> How to enforce that GCC will not re-arrange two emit_insn() such that,
> in the example below, insn2 will always follow insn1; ie:
> 
> emit_insn (gen_insn1 ()); // emit insn1.
> emit_insn (gen_insn2 ()); // emit insn2
> 
There's a variety of ways to do it.  A blockage insn for example.  But
I'd actually take a step back and ask why you want to do this.

Jeff



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux