From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1880) id AC08A3857437; Thu, 23 Feb 2023 09:32:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC08A3857437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677144733; bh=We2JUg4lkua38cthR0bw1plBcB0YKxQ09von0E3Kmlk=; h=From:To:Subject:Date:From; b=QYR7MFJacCPyrK0oGVkgaNgUBswfrhluKwU4BTcLhO0lq8d196r0VVX0nZxuXZ7H4 qJssoSTOZabBRyQr/ZJxk/Q0kQcOTxfJLr004UiqlDopkhKl32NGKnROvdRZvvvpQ1 2hRyIkr4dupHQrXxl/Lr1UFrpzSTN4hwiPp533dk= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Max Filippov To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-6295] xtensa: Fix missing mode warnings in machine description X-Act-Checkin: gcc X-Git-Author: Takayuki 'January June' Suwa X-Git-Refname: refs/heads/master X-Git-Oldrev: 782e442e4f3b88937a725a01245dd749f3f893b9 X-Git-Newrev: 4f609c6f762832e43524352527a7ecbea2698ff9 Message-Id: <20230223093213.AC08A3857437@sourceware.org> Date: Thu, 23 Feb 2023 09:32:13 +0000 (GMT) List-Id: https://gcc.gnu.org/g:4f609c6f762832e43524352527a7ecbea2698ff9 commit r13-6295-g4f609c6f762832e43524352527a7ecbea2698ff9 Author: Takayuki 'January June' Suwa Date: Thu Feb 23 12:42:32 2023 +0900 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: --- gcc/config/xtensa/xtensa.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md index d3996b26cb5..d6116d63ddf 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" {