Patchwork [alpha] : Fix atomic_ior_* pattern name

login
register
mail settings
Submitter Uros Bizjak
Date April 18, 2012, 3:09 p.m.
Message ID <CAFULd4ZizuLE7PhZnzMDzWKt=ST9qR_BSjRJ_zz_c5tw-D_gkQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/153530/
State New
Headers show

Comments

Uros Bizjak - April 18, 2012, 3:09 p.m.
Hello!

This patch fixes alpha atomic_or vs atomic_ior confusion.

2012-04-18  Uros Bizjak  <ubizjak@gmail.com>

	* config/alpha/sync.md (fetchop_name): Change ior attribute to "or".

Tested on alphaev68-pc-linux-gnu, committed to mainline and 4.7 branch.

Uros.

Patch

Index: config/alpha/sync.md
===================================================================
--- config/alpha/sync.md	(revision 186571)
+++ config/alpha/sync.md	(working copy)
@@ -19,7 +19,7 @@ 
 
 (define_code_iterator FETCHOP [plus minus ior xor and])
 (define_code_attr fetchop_name
-  [(plus "add") (minus "sub") (ior "ior") (xor "xor") (and "and")])
+  [(plus "add") (minus "sub") (ior "or") (xor "xor") (and "and")])
 (define_code_attr fetchop_pred
   [(plus "add_operand") (minus "reg_or_8bit_operand")
    (ior "or_operand") (xor "or_operand") (and "and_operand")])