[ARC] Fix tst_movb pattern.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 18 Mar 2019 09:28:33 +0000 (10:28 +0100)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 18 Mar 2019 09:28:33 +0000 (10:28 +0100)
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.md (tst_movb): Fix constraint.

From-SVN: r269757

gcc/ChangeLog
gcc/config/arc/arc.md

index 5af94f9293dfa607c203455ffe828776d97dffe4..0ecd5c4f1e9e9b7cd68c1f2b81530f7c7b2d5831 100644 (file)
@@ -1,3 +1,7 @@
+2019-03-18  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * config/arc/arc.md (tst_movb): Fix constraint.
+
 2019-03-18  Claudiu Zissulescu  <claziss@synopsys.com>
 
        * config/arc/arc.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define.
index d9efc6967651942cf3863c75688c6d9938320600..01a715ee1675bbd9130e3d60825aa9475fc4bbfb 100644 (file)
@@ -960,10 +960,10 @@ core_3, archs4x, archs4xd, archs4xd_slow"
      (match_operand 0 "cc_register" "")
      (match_operator 4 "zn_compare_operator"
        [(and:SI
-         (match_operand:SI 1 "register_operand"  "%Rcq,Rcq, c,  c,  c,  c,Rrq,  3,  c")
+         (match_operand:SI 1 "register_operand"  "%Rcq,Rcq, c,  c,  c,  c,Rrq,Rrq,  c")
          (match_operand:SI 2 "nonmemory_operand"  "Rcq,C0p,cI,C1p,Ccp,Chs,Cbf,Cbf,???Cal"))
        (const_int 0)]))
-   (clobber (match_scratch:SI 3 "=X,X,X,X,X,X,Rrq,Rrq,c"))]
+   (clobber (match_scratch:SI 3 "=X,X,X,X,X,X,Rrq,1,c"))]
   "TARGET_NPS_BITOPS"
   "movb.f.cl %3,%1,%p2,%p2,%s2"
   "TARGET_NPS_BITOPS && reload_completed