public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, alpha]: Fix PR 82772, could not split atomic_andsi insn
@ 2017-10-31 11:02 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2017-10-31 11:02 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

The constraint for atomic_andsi didn't fit predicate.

2017-10-31  Uros Bizjak  <ubizjak@gmail.com>

    PR target/82772
    * config/alpha/sync.md (fetchop_constr) <and>: Change to "rINM".

Bootstrapped on alphaev68-linux-gnu, committed to mainline SVN and
release branches under obvious rule.

Uros.

[-- Attachment #2: a.diff.txt --]
[-- Type: text/plain, Size: 525 bytes --]

Index: config/alpha/sync.md
===================================================================
--- config/alpha/sync.md	(revision 254243)
+++ config/alpha/sync.md	(working copy)
@@ -24,7 +24,7 @@
   [(plus "add_operand") (minus "reg_or_8bit_operand")
    (ior "or_operand") (xor "or_operand") (and "and_operand")])
 (define_code_attr fetchop_constr
-  [(plus "rKL") (minus "rI") (ior "rIN") (xor "rIN") (and "riNM")])
+  [(plus "rKL") (minus "rI") (ior "rIN") (xor "rIN") (and "rINM")])
 
 
 (define_expand "memory_barrier"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-31 10:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31 11:02 [PATCH, alpha]: Fix PR 82772, could not split atomic_andsi insn Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).