[PATCH, alpha]: Simplify memory_barrier RTX

Uros Bizjak ubizjak@gmail.com
Fri Dec 12 12:29:00 GMT 2008


Attached patch simplifies alpha's memory_barrier insn RTX by removing
double mem:BLK operand modifier. This change makes alpha's
memory_barier implementation the same as x86's.

2008-12-12  Uros Bizjak  <ubizjak@gmail.com>

	* config/alpha/sync.md (memory_barrier): Remove mem:BLK from operands.
	Use Pmode for scratch reg.
	(*mb_internal): Use (match_dup 0) for unspec operand.

Patch was bootstrapped and regression tested on
alphaev56-unknown-linux-gnu cfarm machine. Patch is committed to
mainline SVN.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: a.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081212/7739213a/attachment.txt>

More information about the Gcc-patches mailing list