r143047 - in /trunk/gcc: ChangeLog config/alpha...

uros@gcc.gnu.org uros@gcc.gnu.org
Sun Jan 4 11:45:00 GMT 2009


Author: uros
Date: Sun Jan  4 11:45:50 2009
New Revision: 143047

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143047
Log:
	* config/s390/s390.md (UNSPEC_MB): Rename from UNSPECV_MB.
	(memory_barrier): Expand as unspec instead of unspec_volatile.
	Remove mem:BLK from insn operands.  Use Pmode scratch register.
	(*memory_barrier): Define as unspec instead of unspec_volatile.
	Use (match_dup 0) as input operand.

	* config/sparc/sparc.md (UNSPEC_MEMBAR): Rename from UNSPECV_MEMBAR.
	* config/sparc/sync.md (memory_barrier): Expand as unspec instead of
	unspec_volatile.  Remove mem:BLK from insn operands.  Use Pmode
	scratch register.  Remove operand 1.
	(*stbar): Define as unspec instead of unspec_volatile.
	Use (match_dup 0) as input operand, remove (const_int 8).
	(*membar): Define as unspec instead of unspec_volatile.
	Use (match_dup 0) as input operand, remove input operand 2.

	* config/xtensa/xtensa.md (UNSPEC_MEMW): Rename from UNSPECV_MEMW.
	(memory_barrier): Expand as unspec instead of unspec_volatile.
	Remove mem:BLK from insn operands.  Use Pmode scratch register.
	(*memory_barrier): Define as unspec instead of unspec_volatile.
	Use (match_dup 0) as input operand.

	* config/ia64/sync.md (memory_barrier): Redefine as expander pattern.
	Remove mem:BLK from insn operands.  Use Pmode scratch register.
	Set volatile flag on operand 0.
	(*memory_barrier): New insn pattern.

	* config/rs6000/sync.md (memory_barrier): Remove mem:BLK from
	insn operands.
	(*memory_barrier): Use (match_dup 0) as input operand.

	* config/mips/sync.md (memory_barrier): Redefine as expander pattern.
	Remove mem:BLK from insn operands.  Use Pmode scratch register.
	Set volatile flag on operand 0.
	(*memory_barrier): New insn pattern.

	* config/alpha/sync.md (*memory_barrier): Rename from *mb_internal.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/alpha/sync.md
    trunk/gcc/config/ia64/sync.md
    trunk/gcc/config/mips/sync.md
    trunk/gcc/config/rs6000/sync.md
    trunk/gcc/config/s390/s390.md
    trunk/gcc/config/sparc/sparc.md
    trunk/gcc/config/sparc/sync.md
    trunk/gcc/config/xtensa/xtensa.md



More information about the Gcc-cvs mailing list