diff mbox series

[4/5,ARC] Fix tst_movb pattern.

Message ID 20190306102005.15413-5-claziss@gmail.com
State New
Headers show
Series Fix failing tests and use newer macros. | expand

Commit Message

Claudiu Zissulescu Ianculescu March 6, 2019, 10:20 a.m. UTC
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.md (tst_movb): Fix constraint.
---
 gcc/config/arc/arc.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Andrew Burgess March 16, 2019, 11:37 a.m. UTC | #1
* Claudiu Zissulescu <claziss@gmail.com> [2019-03-06 12:20:04 +0200]:

> xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
> 
> 	* config/arc/arc.md (tst_movb): Fix constraint.

This is fine.

Thanks,
Andrew

> ---
>  gcc/config/arc/arc.md | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md
> index c64a7fdb653..1e64331f397 100644
> --- a/gcc/config/arc/arc.md
> +++ b/gcc/config/arc/arc.md
> @@ -958,10 +958,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
> -- 
> 2.20.1
>
diff mbox series

Patch

diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md
index c64a7fdb653..1e64331f397 100644
--- a/gcc/config/arc/arc.md
+++ b/gcc/config/arc/arc.md
@@ -958,10 +958,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