Message ID | 20240216101047.3534645-1-kito.cheng@sifive.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp412866dyb; Fri, 16 Feb 2024 02:11:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXAo5KpmtWDfVwbMW+avQJ+S3A2sl6BE8J6b3tJbasGjcQbbejUhuPg0DSSDw6of/kxKyiP9xt0y2y2Z6uCn9N2ehCviA== X-Google-Smtp-Source: AGHT+IHt6yGDSIQPJhqgZPrRF0crevw5Z33D71wRB8eO4I63ykNvzb+uBo4lCzl+i4nATrZqjJ+n X-Received: by 2002:a05:6808:128f:b0:3c0:48ae:fda8 with SMTP id a15-20020a056808128f00b003c048aefda8mr5696493oiw.56.1708078299654; Fri, 16 Feb 2024 02:11:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708078299; cv=pass; d=google.com; s=arc-20160816; b=XjlKHJOrwUo38nkJMXPi1L542azGe8s6iML+cSRPdojz4uw/qf/aIJc4IFlNzzsmnB GrdotzYJCC0qvKHg+pMAqIR0Gr1GhSXD5N2411fykc8Em9Vo1eHNU56nF17l/sVHVSOI a6APb4zHbEgBBf49hY518kwLkErtN9doLBfEo1jcqylUe5EryRBDNfqwlOI1SrcZn5OU kMBMsYIlWpTJjZ5Uqvj0rlcQ3v1TXEczfOavLrKdGYYQsbe9rurPSgEyJ2Po8Nai+N58 s/FBXuFfJIV7mdVLDJAObJW5+3fGcpnwxamRUZ8jUUfwRSnobJGkFtBElMzfRVu5gy7b laog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=OTtqW7c2WHiYJlJazUkmA4vfEQGv6MSbfNdRXYrJWlM=; fh=O9o2qXlgB0KmYon22YHlRtYHiDm0GJIwfSlnUe7VflI=; b=EmilSzYjHRmf47U4ju4lYldE7DeptuRjyV1VsxnPuYft9d2glFi59020sCq5u9O2l0 zBhos6jQ7uoyk7f+p8zyIoIl5O8AO22mUzThnILMjV8jKxAnw7CXInnoMx+ORYpw7hMV Ecekm8CfCFx9Iup+EFxXQPk65r6zo3jfNbynU2RfrcB7PNhrvzoPg9n5UpoxxjqisWLs +SEvFKyc87oVpgXP4KDyjpAq/w7/W44wGcG+D++ZRdpvylXMH2hhfdwprSaAO/uj8fiY EnV5yH9pLD5Bjfoq9jDYXwtXm7AsxMki5min4gk5U518GnKhxhdcqX77Yn6BMCZrJE7k LRYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=Aju8Oy4o; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id gy8-20020a056214242800b0068c43de18ffsi3547377qvb.133.2024.02.16.02.11.39 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:11:39 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=Aju8Oy4o; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 30C743858295 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 10:11:39 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 976CB3858297 for <gcc-patches@gcc.gnu.org>; Fri, 16 Feb 2024 10:10:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 976CB3858297 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sifive.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 976CB3858297 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::530 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708078256; cv=none; b=nxJsjYGz6I1HT6RsnZcnyCcTbMf5Q7+Un6zP0Lyy0gBZrKRFQchKESAJ2EJ/0QVdLOnznhjtx2tXHz4j8j6C9fkAWlENLyeY4NrBxCzBBn4i4Kvr2BEOIJ23uBYtyIIx4o9SEg2Gv1I3bKHdGWY8ntBMju14GwiNlV+IqYM0Bqc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708078256; c=relaxed/simple; bh=0Iofd4Df/ENghFtVR6+GDXDA11MEfccVXFyo+uWb6jA=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=gJh75JZrjdS6MSEXBReQXM05ST/lMuJBTq7Ko1pzY8OnhnZ0uU0XFFmV7dWdxEFVjJ0keiPVFbPFzBcVANHuJgEDPrxaYXjCrB+ny6aL1bIkKLKMqutDJQjpP1DGYFqvwKXl1ZR2A4Jd76LRDNZjMpvQYl3RolCYCdSr5M/kpUc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-5d81b08d6f2so589084a12.0 for <gcc-patches@gcc.gnu.org>; Fri, 16 Feb 2024 02:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1708078252; x=1708683052; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OTtqW7c2WHiYJlJazUkmA4vfEQGv6MSbfNdRXYrJWlM=; b=Aju8Oy4oTOFY+47Zab4OEQ3xkStbEn0OKBw4rQ4qluOAstGGA1WNgXwAID+9jmgv9b FdGXnof48hZxb8a8knPP3m7W19aJKx+u7kgOPzweS4kVp/DjChFWTsB8TdP6liV9SbEp x1GWaB5wbE3z7B7PIjAQHcu0PtmnoHf1uJswh1VdNZPHTG2HeQQDL7MlLIJ3bKfvki0O /ACc6RumCuwLNUheEDkpFrQfkkSMP7qXqNhCiouiInrMGMg/JVm3kJTGc/PNrpUONowE 5i8yIW8VoMNW36hRmBzT3L4LTE7K+F3mjhIU9u25++jBwEx2nC8CpUQ9bzZ3tlmUOnRe oJ0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708078252; x=1708683052; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OTtqW7c2WHiYJlJazUkmA4vfEQGv6MSbfNdRXYrJWlM=; b=V4Pd4Wwo+LIptx0ulBzxsH4JHoCmPewm44JF1cwPxgCnCRr+vT0/Ht2QkHcimcpXfU U5un/mVT2BDisnesBbGwaCRs8xHpKFBhAnT2O4V+PzF/dceA1a7lCF5cF1dsE4a7zbj3 9UBl+qG78F1DjjEMp6fGdFtq+JY5QzJ52xczBNqQXlkTZit7VBw/u9Ym15zPjBalXeik D0Sk4N0xu8DFLiyqNoq5auGV1OIm8RW+aXfui3/Trh8OkULgfnRS7hBfduqnP3qSXc07 mBX4B2WA1880E0P5AwdAg+uq9kqUlY5e1Jq050pzwyPvxpxQAC1F7V1IDih6WIhvquti WehA== X-Gm-Message-State: AOJu0YzIw6fs+ouqzyyPUJLJp0oVLZnuidSCSJWFTrn/UplYWLK7axXp 6zsLbwwcuFCr/VmIeY2WSf6oEvQBnhdAlFWyscUuQNY7Eha/A9bxJwRZETmVRYTzSnr5oP1Yt+i Jx2S9cLVhlDmD8M4loOdcuOKHxmwfxByooCG0fuyb6wC/4z7m+bpLkArkCUKb0FcSQ08+GiBaqh EPYp1LyQMmwL+iPyxixGW5lRusggoBAR2PkXwZtUWo X-Received: by 2002:a05:6a21:2d8f:b0:19e:b198:8241 with SMTP id ty15-20020a056a212d8f00b0019eb1988241mr3868270pzb.41.1708078251824; Fri, 16 Feb 2024 02:10:51 -0800 (PST) Received: from hsinchu18.internal.sifive.com (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id la13-20020a170902fa0d00b001db92e7b80fsm2255760plb.155.2024.02.16.02.10.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:10:51 -0800 (PST) From: Kito Cheng <kito.cheng@sifive.com> To: gcc-patches@gcc.gnu.org, kito.cheng@gmail.com Cc: Kito Cheng <kito.cheng@sifive.com> Subject: [committed] RISC-V: Fix *sge<u>_<X:mode><GPR:mode> pattern Date: Fri, 16 Feb 2024 18:10:47 +0800 Message-Id: <20240216101047.3534645-1-kito.cheng@sifive.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791049911083333538 X-GMAIL-MSGID: 1791049911083333538 |
Series |
[committed] RISC-V: Fix *sge<u>_<X:mode><GPR:mode> pattern
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Kito Cheng
Feb. 16, 2024, 10:10 a.m. UTC
*sge<u>_<X:mode><GPR:mode> pattern has referenced operand[2] which is invalid...it should just use `slti<u>` rather than `slti%i2<u>`. gcc/ChangeLog: PR target/106543 * config/riscv/riscv.md (*sge<u>_<X:mode><GPR:mode>): Fix asm pattern. --- gcc/config/riscv/riscv.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md index 39b29795cd6..3f7a023d941 100644 --- a/gcc/config/riscv/riscv.md +++ b/gcc/config/riscv/riscv.md @@ -3107,7 +3107,7 @@ (any_ge:GPR (match_operand:X 1 "register_operand" " r") (const_int 1)))] "" - "slt%i2<u>\t%0,zero,%1" + "slti<u>\t%0,zero,%1" [(set_attr "type" "slt") (set_attr "mode" "<X:MODE>")])