]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/xtensa/predicates.md
Update copyright years.
[thirdparty/gcc.git] / gcc / config / xtensa / predicates.md
index 109d699a7479682df1f9b4cf4bbe8b7d8682f528..f55b877276737b1d62869f4ffe8329511f63f0af 100644 (file)
@@ -1,5 +1,5 @@
 ;; Predicate definitions for Xtensa.
-;; Copyright (C) 2005-2017 Free Software Foundation, Inc.
+;; Copyright (C) 2005-2021 Free Software Foundation, Inc.
 ;;
 ;; This file is part of GCC.
 ;;
@@ -25,9 +25,8 @@
 
 (define_predicate "addsubx_operand"
   (and (match_code "const_int")
-       (match_test "INTVAL (op) == 2
-                   || INTVAL (op) == 4
-                   || INTVAL (op) == 8")))
+       (match_test "INTVAL (op) >= 1
+                   && INTVAL (op) <= 3")))
 
 (define_predicate "arith_operand"
   (ior (and (match_code "const_int")