[i386] : Fix PR 53020, another victim of IOR vs OR naming difference

Submitted by Uros Bizjak on April 17, 2012, 5:25 p.m.


Message ID CAFULd4aP0QBr=FCpSxq7EcGNpFtWONjnq7F-ajf6CMSYXngWkA@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak April 17, 2012, 5:25 p.m.

Correct name of atomic "or" named pattern is "atomic_orM", not "atomic_iorM".

Attached patch fixes this oversight.

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

	PR target/53020
	* config/i386/sync.md (atomic_<code><mode>): Rename to

Patch was bootstrapped and tested on x86_64-pc-linux-gnu, will be
committed to all release branches.


Patch hide | download patch | download mbox

Index: config/i386/sync.md
--- config/i386/sync.md	(revision 186539)
+++ config/i386/sync.md	(working copy)
@@ -576,7 +576,7 @@ 
   return "lock{%;} sub{<imodesuffix>}\t{%1, %0|%0, %1}";
-(define_insn "atomic_<code><mode>"
+(define_insn "atomic_<logic><mode>"
   [(set (match_operand:SWI 0 "memory_operand" "+m")
 	  [(any_logic:SWI (match_dup 0)