Don't use lwsync on E500

David Edelsohn dje@watson.ibm.com
Sat Nov 18 00:23:00 GMT 2006


2006-11-16  Joseph Myers  <joseph@codesourcery.com>

	    gcc/
	    * config/rs6000/rs6000.h (TARGET_NO_LWSYNC): Define.
	    * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
	    __NO_LWSYNC__ if TARGET_NO_LWSYNC.
	    * config/rs6000/sync.md (lwsync): Emit plain sync if
	    TARGET_NO_LWSYNC.

Tested with no regressions with a cross to powerpc-none-linux-gnuspe.  OK 
to commit to mainline, 4.2, 4.1?

	Okay, I guess.

David



More information about the Gcc-patches mailing list