From patchwork Sun Aug 27 19:01:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 136987 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp2947486vqm; Sun, 27 Aug 2023 12:02:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/Fa5lPwmhSrweo4c95oK0A7VTq51sA9021hZkQMuETNEBYI6rstuL+itBnhFpTOu6A+jH X-Received: by 2002:a17:906:2192:b0:98e:26ae:9b07 with SMTP id 18-20020a170906219200b0098e26ae9b07mr16715287eju.35.1693162940622; Sun, 27 Aug 2023 12:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693162940; cv=none; d=google.com; s=arc-20160816; b=tfv99VaVkpbTUCXX/dCwhkc70rmBbDj3A0SFwOPAvCRNNQujEKsoBeoTw3KBf1tATa UCVPp59tuXfMVReo9hTJu+3dJDP4nIema+NimC0YqVYVFr3aOjIXll0OpWabDoV4H8do Ps/5jYjPiVLippziGdYVBlm+R/HRdbc0qF5G0z5gA9SFMgEOeTr/c7u7StVrZOEKjTc0 okSo1h4KI/yTrgtlhDfDdQdhktapYS6WsNt0FGXZMGTnxv1L3F5//CxutOrSm1kYmlyQ 4pjHR8wuIzR6mb5NKIfvVhMbnnNmRjcOG+vjaAoZT/lKb4+dqjeo9FrGvoqqyRy/7cl+ oIPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:from:to :content-language:user-agent:mime-version:date:message-id :dkim-signature:dmarc-filter:delivered-to; bh=vzisCSlU1REUVxF3RMx5vPn4u6+jlyL1r82eAlA3lMo=; fh=XNn3asQvIblazGK92GBt13dVv+YmGV3pBS0JC29ZQco=; b=lmIs7+E76XG70mBFSnJg7Gxh0RKqGFN7+n156fyKSeqTgt0x4o3PvBwEqrcHBlYw+3 4DOKPFSB77ZygxpvSFUua57yU7BRvPSqnT389Nu959DxgXPD2k9M9nAoeobAqF3uFKob eNnzianOvKNx8tf0mn1m48ccITOO05YZ7ntq8cMB60hc3rhEut+DcmCqeHQs1ynECT6g DzpqMTBkEHhGMVmIgqG4Y6ogEL7MZWXbfzILRi2cZkEntOqe06UfqmGh0WbZM0kM7FaT pBeWLpiFv4unJW1tZP1+pLbl0oKwAOtZ04ocSMAjYLx1NHOrMMgWhADA6IsO/0v+OCop YBDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=BTpA9XXC; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id rk25-20020a170907215900b009a1c2fcdce2si3538993ejb.154.2023.08.27.12.02.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 12:02:20 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=BTpA9XXC; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 53DDE3858017 for ; Sun, 27 Aug 2023 19:02:13 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by sourceware.org (Postfix) with ESMTPS id B67863858D1E for ; Sun, 27 Aug 2023 19:01:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B67863858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3a76d882080so2040243b6e.2 for ; Sun, 27 Aug 2023 12:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1693162907; x=1693767707; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=vzisCSlU1REUVxF3RMx5vPn4u6+jlyL1r82eAlA3lMo=; b=BTpA9XXClG0I9BiJFgMenL2H4b3jfdEcC0PWOnmXRg/LaQbmXr7u126Wfmj75IuUnT 3IlVxkw/XJY8OsmgN0WmB+vYqMrSHQfJJpPvagu+THP0/AEIg43DMC6Z3thAISbDCTfc ZafguD3O4I9GaY7Cgz2u5KH8p/UuNUu3g2Hd52WaMTKAAITeLqnVl67P2wpmv84wfO1N q08U4zFNkNLaIRIUATC58VYDkoxySqpH52fGaXW5fLAsvCnQGF8Y/aiAXS0iUWytArrd bgtqUk7ZhK9WMvx3Xb/NB4ETAqkM8MiXOqdddUfoJnDBHx0ToPU6hXmHm+56VpCj0Zmm nUuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693162907; x=1693767707; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vzisCSlU1REUVxF3RMx5vPn4u6+jlyL1r82eAlA3lMo=; b=NTEK0T5nfdE5HxAstAlO2Z0GN1Iu2HbfpSV0ZtKnztXZBGDKDaikmoXg85d2V1qkzg P9m2Pu6fRrhfvg6NsUun6C8AQ2fHY2+MUsHZ92rPjUYCro7bL2de5kNXJDHO4jFDkQoP YELQIaztGPj7mbFdVxiXdSEOBgpibqenmsZFD3Ngqdzlc6lkOy8YrXHBiPcfI+HGs9g/ P8ZqdBQLKqu2+qarqv5bOGIcl9j2XeDrVKagV6R/wf48KUxp7p8BI2H5BPgbq+eKVd67 DbDrvM/98KDU6OOhejtUITTJjliOsch80e4EhvLePMpgmh0aVQeMxJzwp1G4cTqCp7dr iLow== X-Gm-Message-State: AOJu0Yz9lnUS791VR19lZjz5yO4DU9hYtAaf8sEyKs4mvydqkrmwaGxP gaVL9CEu6iMxDrOp8Bob4JnNh2oMfrczrQUB4UDFJA== X-Received: by 2002:a05:6358:33a7:b0:134:ec9d:ef18 with SMTP id i39-20020a05635833a700b00134ec9def18mr24076330rwd.28.1693162907580; Sun, 27 Aug 2023 12:01:47 -0700 (PDT) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id c27-20020a63725b000000b0056456fff676sm5668014pgn.66.2023.08.27.12.01.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Aug 2023 12:01:46 -0700 (PDT) Message-ID: <8e784353-c7d4-b125-7d48-005efee26438@ventanamicro.com> Date: Sun, 27 Aug 2023 13:01:45 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: "gcc-patches@gcc.gnu.org" From: Jeff Law Subject: [committed] RISC-V: Fix spill-11.c testsuite failure X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775410023751826698 X-GMAIL-MSGID: 1775410023751826698 Jivan's work also results in using a different save/restore function for the spill-11 test. So the expected output needs minor adjusting. Committed to the trunk. Jeff commit 3745feb19ed072e0865b12a891d7dbf7ba12c337 Author: Jeff Law Date: Sun Aug 27 13:00:13 2023 -0600 RISC-V: Fix spill-11.c testsuite failure Jivan's work also results in using a different save/restore function for the spill-11 test. So the expected output needs minor adjusting gcc/testsuite * gcc.target/riscv/rvv/base/spill-11.c: Adjust expected output. diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c index 179be1c8c5b..484a2510885 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c @@ -9,7 +9,7 @@ void fn3 (char*); /* ** stack_save_restore_2: -** call\tt0,__riscv_save_2 +** call\tt0,__riscv_save_1 ** csrr\tt0,vlenb ** slli\tt1,t0,1 ** sub\tsp,sp,t1 @@ -23,7 +23,7 @@ void fn3 (char*); ** li\tt0,8192 ** addi\tt0,t0,-192 ** add\tsp,sp,t0 -** tail\t__riscv_restore_2 +** tail\t__riscv_restore_1 */ int stack_save_restore_2 (float a1, float a2, float a3, float a4, float a5, float a6, float a7, float a8,