Patchwork [RFA,4.7,ia64] : Change ior attribute to "or" in sync.md

login
register
mail settings
Submitter Uros Bizjak
Date June 13, 2012, 5:04 p.m.
Message ID <CAFULd4bmxkMyKCb0VSq+BowXPDTEr2PfEbTKC9U3t3Byn9Oo5A@mail.gmail.com>
Download mbox | patch
Permalink /patch/164732/
State New
Headers show

Comments

Uros Bizjak - June 13, 2012, 5:04 p.m.
Hello!

This patch fixes a trivial oversight in the name of "or" family of
sync functions.

2012-06-12  Uros Bizjak  <ubizjak@gmail.com>

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

Tested on ia64-unknown-linux-gnu.  Is it still OK to squeeze this
trivial one-liner to 4.7 branch?

Uros.
Jakub Jelinek - June 13, 2012, 5:40 p.m.
On Wed, Jun 13, 2012 at 07:04:54PM +0200, Uros Bizjak wrote:
> This patch fixes a trivial oversight in the name of "or" family of
> sync functions.
> 
> 2012-06-12  Uros Bizjak  <ubizjak@gmail.com>
> 
> 	* config/ia64/sync.md (fetchop_name): Change ior attribute to "or".
> 
> Tested on ia64-unknown-linux-gnu.  Is it still OK to squeeze this
> trivial one-liner to 4.7 branch?

Ok.

> --- config/ia64/sync.md (revision 188475)
> +++ config/ia64/sync.md (working copy)
> @@ -28,7 +28,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_expand "mem_thread_fence"
>    [(match_operand:SI 0 "const_int_operand" "")]                ;; model

	Jakub

Patch

Index: config/ia64/sync.md
===================================================================
--- config/ia64/sync.md (revision 188475)
+++ config/ia64/sync.md (working copy)
@@ -28,7 +28,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_expand "mem_thread_fence"
   [(match_operand:SI 0 "const_int_operand" "")]                ;; model