diff mbox

[Committed] S/390: Fix typo in atomic code iterator

Message ID 20150122114012.GA583@maggie
State New
Headers show

Commit Message

Andreas Krebbel Jan. 22, 2015, 11:40 a.m. UTC
Hi,

I've committed the following bugfix which fixes an obvious typo in the
atomic code attribute.  Due to this the load and or instructions was
not used.

Committed to 4.9 branch and mainline.

Bye,

-Andreas-

2015-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.md (atomic code attribute): Fix typo "ior" ->
	"or".
diff mbox

Patch

diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md
index fab1898..90f6fc9 100644
--- a/gcc/config/s390/s390.md
+++ b/gcc/config/s390/s390.md
@@ -417,7 +417,7 @@ 
 ;; This iterator and attribute allow to combine most atomic operations.
 (define_code_iterator ATOMIC [and ior xor plus minus mult])
 (define_code_iterator ATOMIC_Z196 [and ior xor plus])
-(define_code_attr atomic [(and "and") (ior "ior") (xor "xor")
+(define_code_attr atomic [(and "and") (ior "or") (xor "xor")
 			  (plus "add") (minus "sub") (mult "nand")])
 (define_code_attr noxa [(and "n") (ior "o") (xor "x") (plus "a")])