From patchwork Thu Aug 24 18:04:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick O'Neill X-Patchwork-Id: 136860 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp1295967vqm; Thu, 24 Aug 2023 11:06:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWfUp9YQDHMXf/z7a7oZ8y9FNrUCDyZ05QOYKzFKWGOU9S2Di5MewX27zE45Steb2xYhwv X-Received: by 2002:a17:906:76cc:b0:9a1:f668:dae9 with SMTP id q12-20020a17090676cc00b009a1f668dae9mr3058215ejn.33.1692900370979; Thu, 24 Aug 2023 11:06:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692900370; cv=none; d=google.com; s=arc-20160816; b=MXwn40zemlzG+BySbC78VNCiYtVsQsiHiutnlqsCL1IEdfSvJaKmztwtBNAm2R2Cqo JzZD1LtR86jfYroH+6KeimbVopdDchWB0+0/NNJ9nZQPXkA9iSczHxIYohq+4/BPM5F2 YF1XOBfYR/km/eIeTd/X7pyinUG1p+RCpNyUgCSmgShP/DDxGB+pP7rZ0hyDaeZf1e1G JCCgEpLjGh4Unp4o9DWHbsqsfIbh/x/BAjm9QtDOFBhVa59KvoRop/AIWoTQ6wSIyg8J dZtQF78f4zK1j7g9Q4PiMSMizIntBPHPrEF4I6sIKcoFX5VOXq+3to02jFYBL1MTblAb ne6Q== 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:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :dmarc-filter:delivered-to; bh=+yglns5254q3+npB0Ia3md99sdXWmvs9BLUHefL/B/o=; fh=N5DDj+m4vICnTb84RsZTj9vlwGQr/3IL2lSrQrOMFSo=; b=SVrXrx6IUyoL0O4s1GficirVqgZvweOD5cnNwF40dAP0laFM128G6SVoUsvPytXql5 Zbf7oDyJKxjbsqHcLK/lGonAnArb8ZKgdEBHZZx3cEqJEIgPfQBeUXIt7tkf+X8xiAQd bB/HjuTJQdta/CTZAeDQ9/2Dzx2FwwjA70CVRiv9xtWOHWkjEcXYFSILIVVhQJ2wgnb7 kX5Nqb8ziipMS9/KVLkpNtWFNlw0Ak1iR039wX65eO24JQBulo1jt0QGiQ0kIz/xcKVT /rTwMepDC7R0pKOtl/MED6dvSLN+nTVrJOWS3cXpsSV9fYR0Jo1u/VsFnPJNjCMCOudP a6pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=MsbBNnDr; 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" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id z5-20020a1709060ac500b0099d5e9aedd7si9938015ejf.482.2023.08.24.11.06.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Aug 2023 11:06:10 -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=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=MsbBNnDr; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5F68F3851ABE for ; Thu, 24 Aug 2023 18:05:46 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by sourceware.org (Postfix) with ESMTPS id F358B3857C44 for ; Thu, 24 Aug 2023 18:05:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F358B3857C44 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1bdc19b782aso1746265ad.0 for ; Thu, 24 Aug 2023 11:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1692900305; x=1693505105; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+yglns5254q3+npB0Ia3md99sdXWmvs9BLUHefL/B/o=; b=MsbBNnDrLrzHv4dgpZKhL17IrPA7gDDKiZe/PagU/1GdXR+BUdn7uqHyDedw9V3OfT kyw3M7oHF/fTnCcIEa7+bKrDckIMs0bkQ2WAys/A+NY7LxCAg4oG5TjhukC5nlgx/cTO b/4ScWEFh5srdL16pkJqEvTAp/yHKFd045H33zjXZdy4AXwe2WnrENKFFaIXhktIsPFh p1R7Xe9N6zTxLFSFMYY9+xM3wYMB/0Q1BtaJ1O+P8i2ZMvuNnM4lfkONJ6mEYeg/blhN tqybTN5ZhwEG7+xxPP6JkfbVUHyY7cckqIgpl0t5l5sfTBHzlNZargmtjF4XIzmTfarf JF4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692900305; x=1693505105; 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=+yglns5254q3+npB0Ia3md99sdXWmvs9BLUHefL/B/o=; b=hmkO7Pzs7dJZFeVIQMJn+LuTubKvMzAkWsfEKIHjjVCXLHk1L9Dk0rumEtduvc5D9Y pKwfgxqZJJyPsz6I2t+Mnrx+o/G4EOIlljH9id9UPaNUn3vuTOEriUdQfm7KWQkLdj2b NkThZQkVP7XHdlRZjIBXbfsT2p4j4pbulC2QwxR81HrKjQ15K7HFoqmvlooF4zYahNod YbffnFJugSDVMQ0bZ2Nq5KFfgIXxTMenOAnii9swOVnJX+I6U6A/WoLV3LF3XD5u4CfC TzwfrvEerBMSEQBFdyIr2Qk88MacvYIx1B4gSo/lh1U8wnPXOdVkLUe8RnMvb2mnrLpZ eHTA== X-Gm-Message-State: AOJu0YxCiYiHqugSPuU5b1S4McWipGBQQqTRUsro9XxkoLp4NaTXaru6 FeIZ8FL9067U79GFk+qsSY1E86jSTdiGpXqh6q09fg== X-Received: by 2002:a17:902:db10:b0:1c0:b3d1:5826 with SMTP id m16-20020a170902db1000b001c0b3d15826mr5927445plx.53.1692900305386; Thu, 24 Aug 2023 11:05:05 -0700 (PDT) Received: from patrick-ThinkPad-X1-Carbon-Gen-8.hq.rivosinc.com ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id z7-20020a170902834700b001b8ad8382a4sm12977955pln.216.2023.08.24.11.05.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Aug 2023 11:05:05 -0700 (PDT) From: Patrick O'Neill To: gcc-patches@gcc.gnu.org Cc: jeffreyalaw@gmail.com, gnu-toolchain@rivosinc.com, juzhe.zhong@rivai.ai, kito.cheng@gmail.com, Patrick O'Neill Subject: [PATCH] RISC-V: Move vector-abi testcases into rvv/base folder Date: Thu, 24 Aug 2023 11:04:59 -0700 Message-Id: <20230824180459.465060-1-patrick@rivosinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, 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: 1775134699802029387 X-GMAIL-MSGID: 1775134699802029387 Resolves failures like this on rv32gcv linux: compiler exited with status 1 output is: In file included from /tc-baseline/build-linux-gcv/sysroot/usr/include/features.h:515, from /tc-baseline/build-linux-gcv/sysroot/usr/include/bits/libc-header-start.h:33, from /tc-baseline/build-linux-gcv/sysroot/usr/include/stdint.h:26, from /tc-baseline/build-linux-gcv/lib/gcc/riscv32-unknown-linux-gnu/14.0.0/include/stdint.h:9, from /tc-baseline/build-linux-gcv/build-gcc-linux-stage2/gcc/include/stdint.h:9, from /tc-baseline/build-linux-gcv/build-gcc-linux-stage2/gcc/include/riscv_vector.h:28, from /tc-baseline/gcc/gcc/testsuite/gcc.target/riscv/vector-abi-1.c:4: /tc-baseline/build-linux-gcv/sysroot/usr/include/gnu/stubs.h:17:11: fatal error: gnu/stubs-lp64d.h: No such file or directory compilation terminated. Tested using: rv{32/64}{gc/gcv} newlib rv{32/64}gcv linux gcc/testsuite/ChangeLog: * gcc.target/riscv/vector-abi-1.c: Moved to... * gcc.target/riscv/rvv/base/vector-abi-1.c: ...here. * gcc.target/riscv/vector-abi-2.c: Moved to... * gcc.target/riscv/rvv/base/vector-abi-2.c: ...here. * gcc.target/riscv/vector-abi-3.c: Moved to... * gcc.target/riscv/rvv/base/vector-abi-3.c: ...here. * gcc.target/riscv/vector-abi-4.c: Moved to... * gcc.target/riscv/rvv/base/vector-abi-4.c: ...here. * gcc.target/riscv/vector-abi-5.c: Moved to... * gcc.target/riscv/rvv/base/vector-abi-5.c: ...here. * gcc.target/riscv/vector-abi-6.c: Moved to... * gcc.target/riscv/rvv/base/vector-abi-6.c: ...here. * gcc.target/riscv/vector-abi-7.c: Moved to... * gcc.target/riscv/rvv/base/vector-abi-7.c: ...here. * gcc.target/riscv/vector-abi-8.c: Moved to... * gcc.target/riscv/rvv/base/vector-abi-8.c: ...here. * gcc.target/riscv/vector-abi-9.c: Moved to... * gcc.target/riscv/rvv/base/vector-abi-9.c: ...here. Signed-off-by: Patrick O'Neill Reviewed-by: Palmer Dabbelt --- gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-1.c | 0 gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-2.c | 0 gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-3.c | 0 gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-4.c | 0 gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-5.c | 0 gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-6.c | 0 gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-7.c | 0 gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-8.c | 0 gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-9.c | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-1.c (100%) rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-2.c (100%) rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-3.c (100%) rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-4.c (100%) rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-5.c (100%) rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-6.c (100%) rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-7.c (100%) rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-8.c (100%) rename gcc/testsuite/gcc.target/riscv/{ => rvv/base}/vector-abi-9.c (100%) -- 2.34.1 diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-1.c similarity index 100% rename from gcc/testsuite/gcc.target/riscv/vector-abi-1.c rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-1.c diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-2.c similarity index 100% rename from gcc/testsuite/gcc.target/riscv/vector-abi-2.c rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-2.c diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-3.c similarity index 100% rename from gcc/testsuite/gcc.target/riscv/vector-abi-3.c rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-3.c diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-4.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-4.c similarity index 100% rename from gcc/testsuite/gcc.target/riscv/vector-abi-4.c rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-4.c diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-5.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-5.c similarity index 100% rename from gcc/testsuite/gcc.target/riscv/vector-abi-5.c rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-5.c diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-6.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-6.c similarity index 100% rename from gcc/testsuite/gcc.target/riscv/vector-abi-6.c rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-6.c diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-7.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-7.c similarity index 100% rename from gcc/testsuite/gcc.target/riscv/vector-abi-7.c rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-7.c diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-8.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-8.c similarity index 100% rename from gcc/testsuite/gcc.target/riscv/vector-abi-8.c rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-8.c diff --git a/gcc/testsuite/gcc.target/riscv/vector-abi-9.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c similarity index 100% rename from gcc/testsuite/gcc.target/riscv/vector-abi-9.c rename to gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c