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: [PATCH, committed] PowerPC atomic ops (1/n)


David Edelsohn <dje@watson.ibm.com> writes:

> 	The following patch is one in a series to clean up the PowerPC
> atomic ops implementation.  This is based on the Alpha implementation, as
> suggested by Richard Henderson.
> 
> 	All atomic UNSPEC codes are changed to volatile.

I didn't use unspec_volatile in the original implementation because it
is unnecessarily strict; it prevents the compiler from moving any kind
of instruction over these, even instructions that only affect registers.


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