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: -fno-tree-cselim not working?


>>>>> "David" == David Miller <davem@davemloft.net> writes:

David> I suspect that local.a++ will be represented as a frame relative
David> access.  Test compiles show that gcc does update the on-stack
David> copy on Sparc,

It does on i386 too.

David> now just to check if the conditional memory operation cases
David> trigger here too.

It doesn't because you have the spin_unlock() in the "then" part so it
is no longer a single assignment (the only case that gets "optimized"
currently).

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/


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