From: Takayuki 'January June' Suwa Date: Thu, 23 Feb 2023 03:42:32 +0000 (+0900) Subject: xtensa: Fix missing mode warnings in machine description X-Git-Tag: basepoints/gcc-14~912 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f609c6f762832e43524352527a7ecbea2698ff9;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md index d3996b26cb5c..d6116d63ddfa 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" {