This is the mail archive of the gcc-patches@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: atomic ops for powerpc


>>>>> Geoff Keating writes:

Geoff> One can do nearly anything in engineering, but this particular thing  
Geoff> is not a good idea.  Labels have alignment, they affect the basic- 
Geoff> block graph, they're deleted if they're not used, and so on.

Geoff> Maybe you're thinking of %=?  That would work, so long as

Geoff> L12344: nop
Geoff> bne- L12344

Geoff> is valid assembler on every powerpc port.

	I think that $-16 and $+16 probably are the best approach.

David


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