aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/xtensa
diff options
context:
space:
mode:
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>2023-02-23 12:42:32 +0900
committerMax Filippov <jcmvbkbc@gmail.com>2023-02-23 01:30:57 -0800
commit4f609c6f762832e43524352527a7ecbea2698ff9 (patch)
tree127394031ea65134cc6f924e4c940ae1c687c8a5 /gcc/config/xtensa
parent782e442e4f3b88937a725a01245dd749f3f893b9 (diff)
downloadgcc-4f609c6f762832e43524352527a7ecbea2698ff9.zip
gcc-4f609c6f762832e43524352527a7ecbea2698ff9.tar.gz
gcc-4f609c6f762832e43524352527a7ecbea2698ff9.tar.bz2
xtensa: Fix missing mode warnings in machine description
gcc/ChangeLog: * config/xtensa/xtensa.md (zero_cost_loop_start, zero_cost_loop_end, loop_end): Add missing "SI:" to PLUS RTXes.
Diffstat (limited to 'gcc/config/xtensa')
-rw-r--r--gcc/config/xtensa/xtensa.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md
index d3996b2..d6116d6 100644
--- a/gcc/config/xtensa/xtensa.md
+++ b/gcc/config/xtensa/xtensa.md
@@ -2028,8 +2028,8 @@
(label_ref (match_operand 1 "" ""))
(pc)))
(set (match_operand:SI 0 "register_operand" "=a")
- (plus (match_dup 0)
- (const_int -1)))
+ (plus:SI (match_dup 0)
+ (const_int -1)))
(unspec [(const_int 0)] UNSPEC_LSETUP_START)]
"TARGET_LOOPS && optimize"
"loop\t%0, %l1_LEND"
@@ -2044,8 +2044,8 @@
(label_ref (match_operand 1 "" ""))
(pc)))
(set (match_operand:SI 0 "nonimmediate_operand" "=a,m")
- (plus (match_dup 0)
- (const_int -1)))
+ (plus:SI (match_dup 0)
+ (const_int -1)))
(unspec [(const_int 0)] UNSPEC_LSETUP_END)
(clobber (match_scratch:SI 3 "=X,&r"))]
"TARGET_LOOPS && optimize"
@@ -2061,8 +2061,8 @@
(label_ref (match_operand 1 "" ""))
(pc)))
(set (match_operand:SI 0 "register_operand" "=a")
- (plus (match_dup 0)
- (const_int -1)))
+ (plus:SI (match_dup 0)
+ (const_int -1)))
(unspec [(const_int 0)] UNSPEC_LSETUP_END)]
"TARGET_LOOPS && optimize"
{