Message ID | 20230809115325.3716347-5-c@jia.je |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2743800vqr; Wed, 9 Aug 2023 04:56:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0Yreq/BIDCGQdVyMEB1QumGMa3WcuTb6oa3V6AyGprw6O/x5hsCcAowpM7+F+5bidh11a X-Received: by 2002:a17:907:75c6:b0:99b:b3a1:437b with SMTP id jl6-20020a17090775c600b0099bb3a1437bmr1730100ejc.40.1691582206444; Wed, 09 Aug 2023 04:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691582206; cv=none; d=google.com; s=arc-20160816; b=075VQlMh2z/QE/nICYnhlQ/hV4bH+L5EMBJqf3csL5qoy/BBiVb5/XjtN1SIxgQC34 2KvuRx+hr/L+HEkfSjMxXtne+RN7bby+eUXsNv+Yrzk7Tf1wR6g+nxVGiFv4ghKgdl6O ItO2rVVNgTFwkdMT12jkVp+wt5mB0f5Jfezyba6a0XpUo4dcmlpWt5KijqNZe+AZuYof pAs4wf9Hgbt9gPGrvzHBfbrG625ZGnaJ1LMuJQd/t5kPktZWQW5E0hv3MG6+zdxpPlAV xTG2QY8/LAvnHbsEzMXSErDwgQUvoNsekzNZwWfMebMfVu4+a7mgevlUKX8HNejLlYqB Cc7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=KwbhBmblqXqMpHQ1ZiGktdBC6W6WzjAglaoz95NlhdA=; fh=nBdY3vW/mgwv3C0AxagIWVpWoiWSUh4TsWT+uiKUcFM=; b=T8KGKr7arYb2TMNIJBe9SVHrgAEXq4cOoocIkVOCeMn0k0Xa18q/CgfC4o6ceV3udj 6pGJiZBQe60Id+E9R+Eit1J4E1W7M6PZrhHo+ISuhvwN1fx79IM4wkOIu+cM2Oys1KJi 6vTyw9CPAX1CnFNq17crV4pRd1kKSoZ9uy0g6fuLzXJsqR4/GxJT9IluThSvFfXaco6v ezbCKXyLDynTvyOUcyESO+9WQIClW3WRE+8q6MITEtPsWCdfmZPf5XMhGMM+nTfNNIZL RNlc0uxeZZsF/hFYXMMMXatC1YPgh93ubOdeBDy/I7mN4bmO3oTmD2enh0Je13T9jmdL dgFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="KAc/uNgN"; 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=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id e8-20020a1709062c0800b0098642e99c22si8409581ejh.604.2023.08.09.04.56.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 04:56:46 -0700 (PDT) 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=@gcc.gnu.org header.s=default header.b="KAc/uNgN"; 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=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 01E843853D3A for <ouuuleilei@gmail.com>; Wed, 9 Aug 2023 11:55:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01E843853D3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691582134; bh=KwbhBmblqXqMpHQ1ZiGktdBC6W6WzjAglaoz95NlhdA=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=KAc/uNgNEZ5DUnZ4wph53LyyRIdwZoirPO9HOWI82ej41Y6ruzoSoHSWEjrR7gaj+ hQ1fqS00TAhNGA2s/7epczYXLZ1g4b8YM/IPmWhqb8OAiCgmKnwOv9xr17uGC7P7Hv rcCAt8AnvfXquWuANLfslhHfSAVDBaBYMOHIsI9w= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from hognose1.porkbun.com (hognose1.porkbun.com [35.82.102.206]) by sourceware.org (Postfix) with ESMTPS id 927B13857C41 for <gcc-patches@gcc.gnu.org>; Wed, 9 Aug 2023 11:53:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 927B13857C41 Received: from cslab-raptor.. (unknown [166.111.226.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: c@jia.je) by hognose1.porkbun.com (Postfix) with ESMTPSA id 7E52D44026; Wed, 9 Aug 2023 11:53:54 +0000 (UTC) To: gcc-patches@gcc.gnu.org Cc: xry111@xry111.site, xuchenghua@loongson.cn, Jiajie Chen <c@jia.je> Subject: [PATCH v2 04/14] LoongArch: Fix movgr2frh.w operand order Date: Wed, 9 Aug 2023 19:46:11 +0800 Message-ID: <20230809115325.3716347-5-c@jia.je> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230809115325.3716347-1-c@jia.je> References: <20230809115325.3716347-1-c@jia.je> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_PASS, SPF_PASS, TXREP 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.29 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> From: Jiajie Chen via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Jiajie Chen <c@jia.je> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773752503350246592 X-GMAIL-MSGID: 1773752503350246592 |
Series |
LoongArch: Add loongarch32 and ilp32 abi
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Jiajie Chen
Aug. 9, 2023, 11:46 a.m. UTC
The operand order of movgr2frh.w was wrong. The correct order should be `movgr2frh.w fd, rj`. gcc/ChangeLog: * config/loongarch/loongarch.md (movgr2frh<mode>): Correct movgr2frh.w operand order. --- gcc/config/loongarch/loongarch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/loongarch/loongarch.md b/gcc/config/loongarch/loongarch.md index 95c5b25d22a..93d8bf5bcca 100644 --- a/gcc/config/loongarch/loongarch.md +++ b/gcc/config/loongarch/loongarch.md @@ -2297,7 +2297,7 @@ (match_operand:SPLITF 2 "register_operand" "0")] UNSPEC_MOVGR2FRH))] "TARGET_DOUBLE_FLOAT" - "movgr2frh.w\t%z1,%0" + "movgr2frh.w\t%0,%z1" [(set_attr "move_type" "mgtf") (set_attr "mode" "<HALFMODE>")])