From patchwork Thu Oct 5 23:45:52 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: 1844186 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=M+9g8w3w; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S1p9X48d5z1yqF for ; Fri, 6 Oct 2023 10:46:23 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4251C3857722 for ; Thu, 5 Oct 2023 23:46:21 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by sourceware.org (Postfix) with ESMTPS id 097DA3858D3C for ; Thu, 5 Oct 2023 23:46:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 097DA3858D3C 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-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-278f0f565e2so1123202a91.2 for ; Thu, 05 Oct 2023 16:46:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1696549563; x=1697154363; 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=EZhVzVnSS+1NKLArsqcmzbpZ74zwKDu2TqZYgM5lf/w=; b=M+9g8w3wP+V1I5ORPgHZQc7GnLE78Oy06b14ZxwWpIrBUyeMJ6wqWko4rOmuEmkhSj H0YolckgX8JMLDVCKKxpj5pR6+vh7Z4U5/2JPCdhR/JVPmdMo21GcXe2RIcdkkj1M7Cl dkpQMF0nBfB03GEXY1dMO13blYjNeA1LSIP6Eyd2fIb0O0fR+Uz0lrPFU5AcQixjo9BP mf+l9zLa1fXKjVXrp2ujOKlcMY8PacpC+dvG6SkG5tZ8AHsyHw/DQS856obJSX3TxzQD EUBhDuwL9kTpfJ0doy/ne4nsOSoZg0XbRUwbWcwi/0UTOpk82pYax1kKSqlDf/77GjYS 0Haw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696549563; x=1697154363; 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=EZhVzVnSS+1NKLArsqcmzbpZ74zwKDu2TqZYgM5lf/w=; b=jsnrOD80ubTIA/R2WLxxl3qPpdNMTJXqeVgpDTfBmQ8NIYg+GtuRO4KvcSI2YHjLlN H3AKB5IM5JJbrdwIGeXjtDFlFPa0xIYyHsxB28Hqkq47KMZCXH26c7BBryHkSo7t0Gtb kT+G8CUQ4/5JCqf0nHqM3SBvd1bOpI7HGa6PCLlvDg11OS5/LKg+7UoxDr935ignSCOi 3ZpWdJQ0A/FfOhacVgd7ZzPjje/wRYCAImpTl6QQs5vMCry74q/ROiCPAlTmSYbRIzI+ QOHAwxRfYmI8+5V4rtn/HILMgpKvgg0m+MKUwihFnLdNPFrVxiCO3od8QE44DE9rVcMH TJUg== X-Gm-Message-State: AOJu0Yy6JZA2pZnUq5GmR1t8Vv7by7Mi8JeCrkMOK30gl1j2AItD2wPv kK14D92aNFU19daNRElPRf9ARtBOF8SbB0xSEsM= X-Google-Smtp-Source: AGHT+IGzV1DUtM0H2pIKol7RBKVNcwoX5cYWGGJXjKl8ql6JHPfNoaspHSip0ey/1Q9Eeg32BNFhuw== X-Received: by 2002:a17:90b:fcb:b0:276:6b9d:7503 with SMTP id gd11-20020a17090b0fcb00b002766b9d7503mr6783269pjb.28.1696549562921; Thu, 05 Oct 2023 16:46:02 -0700 (PDT) Received: from patrick-ThinkPad-X1-Carbon-Gen-8.ba.rivosinc.com ([2601:647:5700:6860:f43c:ffbd:16db:33a5]) by smtp.gmail.com with ESMTPSA id s8-20020a17090aba0800b00274803c4c90sm2114880pjr.40.2023.10.05.16.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 16:46:02 -0700 (PDT) From: Patrick O'Neill To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, jeffreyalaw@gmail.com, pinskia@gmail.com, juzhe.zhong@rivai.ai, vineetg@rivosinc.com, gnu-toolchain@rivosinc.com, Patrick O'Neill Subject: [PATCH v2] RISC-V: Use stdint-gcc.h in rvv testsuite Date: Thu, 5 Oct 2023 16:45:52 -0700 Message-Id: <20231005234552.954487-1-patrick@rivosinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-11.3 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org stdint.h can be replaced with stdint-gcc.h to resolve some missing system headers in non-multilib installations. Tested using glibc rv32gcv and rv64gcv on r14-4381-g7eb5ce7f58e. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h: Replace stdint.h with stdint-gcc.h. * gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c: Ditto. * gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c: Ditto. * gcc.target/riscv/rvv/autovec/partial/slp-8.c: Ditto. * gcc.target/riscv/rvv/autovec/partial/slp-9.c: Ditto. * gcc.target/riscv/rvv/autovec/pr111232.c: Ditto. * gcc.target/riscv/rvv/autovec/unop/cvt-0.c: Ditto. * gcc.target/riscv/rvv/autovec/unop/cvt-1.c: Ditto. * gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h: Ditto. * gcc.target/riscv/rvv/base/abi-call-args-4-run.c: Ditto. * gcc.target/riscv/rvv/base/pr110119-2.c: Ditto. * gcc.target/riscv/rvv/vsetvl/pr111255.c: Ditto. * gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c: Ditto. Signed-off-by: Patrick O'Neill --- Changes from v1: - Avoid changing riscv_vector.h Failures looked like this: In file included from /riscv-gnu-toolchain/build/sysroot/usr/include/features.h:515, from /riscv-gnu-toolchain/build/sysroot/usr/include/bits/libc-header-start.h:33, from /riscv-gnu-toolchain/build/sysroot/usr/include/stdint.h:26, from /riscv-gnu-toolchain/build/lib/gcc/riscv32-unknown-linux-gnu/14.0.0/include/stdint.h:9, from /riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/include/stdint.h:9, from /riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/include/riscv_vector.h:28, from /riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-7.c:4: /riscv-gnu-toolchain/build/sysroot/usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-ilp32.h: No such file or directory Resolves these failures on rv32gcv (non-multilib): FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv64-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv64-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv64-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv64-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/partial/slp-9.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/pr111232.c -O3 -ftree-vectorize (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/unop/cvt-0.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/unop/cvt-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-1.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-2.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-3.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-4.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-5.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-6.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/perm-7.c -std=c99 -O3 -ftree-vectorize --param riscv-autovec-preference=fixed-vlmax (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls/perm-1.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls/perm-2.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls/perm-3.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls/perm-4.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls/perm-5.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls/perm-6.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/vls/perm-7.c -O3 -ftree-vectorize --param riscv-autovec-preference=scalable (test for excess errors) FAIL: gcc.target/riscv/rvv/base/pr110119-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c -O0 (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c -O1 (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c -O2 (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c -O3 -g (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/pr111255.c -Os (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c -O0 (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c -O1 (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c -O2 (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c -O3 -g (test for excess errors) FAIL: gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c -Os (test for excess errors) Resolves these failures on rv64gcv (non-multilib): FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-rv32-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-rv32-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-rv32-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-1.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-rv32-2.c (test for excess errors) FAIL: gcc.target/riscv/rvv/autovec/partial/slp-8.c (test for excess errors) --- .../riscv/rvv/autovec/cond/cond_convert_float2float-1.h | 2 +- .../riscv/rvv/autovec/cond/cond_convert_float2float-2.h | 2 +- .../riscv/rvv/autovec/cond/cond_convert_float2int-1.h | 2 +- .../riscv/rvv/autovec/cond/cond_convert_float2int-2.h | 2 +- .../riscv/rvv/autovec/cond/cond_convert_int2float-1.h | 2 +- .../riscv/rvv/autovec/cond/cond_convert_int2float-2.h | 2 +- .../gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h | 2 +- .../gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-0.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-1.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h | 2 +- gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) -- 2.34.1 diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h index 4742d926af6..36af15b986a 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-1.h @@ -1,4 +1,4 @@ -#include +#include #define DEF_LOOP(OLD_TYPE, NEW_TYPE) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h index b084eaae19d..1aad4a658de 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2float-2.h @@ -1,4 +1,4 @@ -#include +#include #define DEF_LOOP(OLD_TYPE, NEW_TYPE) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h index 2df68aa2d1e..639adc34c3d 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-1.h @@ -1,4 +1,4 @@ -#include +#include #define DEF_LOOP(OLD_TYPE, NEW_TYPE) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h index 9735141faa1..3d518a45cd2 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_float2int-2.h @@ -1,4 +1,4 @@ -#include +#include #define DEF_LOOP(OLD_TYPE, NEW_TYPE) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h index 5b0baeece41..1c49e39cad0 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-1.h @@ -1,4 +1,4 @@ -#include +#include #define DEF_LOOP(OLD_TYPE, NEW_TYPE) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h index 2177c946de8..640e0db39a3 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2float-2.h @@ -1,4 +1,4 @@ -#include +#include #define DEF_LOOP(OLD_TYPE, NEW_TYPE) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h index c8ef6df399d..eb820d3fe36 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-1.h @@ -1,4 +1,4 @@ -#include +#include #define DEF_LOOP(OLD_TYPE, NEW_TYPE) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h index f53c1b3fde9..5653ef61675 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_convert_int2int-2.h @@ -1,4 +1,4 @@ -#include +#include #define DEF_LOOP(OLD_TYPE, NEW_TYPE) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c index 21219b43d9d..c7bd37e4f0e 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model -ffast-math" } */ -#include +#include #define DEF_LOOP(TYPE, OP) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c index 2fcdc339e70..c2fb92fbbbf 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model -ffast-math" } */ -#include +#include #define DEF_LOOP(TYPE, OP) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c index 8076243f7d4..cb738a84492 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */ -#include +#include #define abs(A) ((A) < 0 ? -(A) : (A)) #define neg(A) (-(A)) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c index 8e44301ae80..d9fb0865fc7 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */ -#include +#include #define abs(A) ((A) < 0 ? -(A) : (A)) #define neg(A) (-(A)) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c index 6da5b6e42e3..145839308e5 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-3.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */ -#include +#include #define abs(A) ((A) < 0 ? -(A) : (A)) #define neg(A) (-(A)) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c index 5428c289d22..e120e8f7e2a 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-4.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */ -#include +#include #define abs(A) ((A) < 0 ? -(A) : (A)) #define neg(A) (-(A)) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c index 8e567378d0d..775e65e7e6a 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-5.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */ -#include +#include #define abs(A) ((A) < 0 ? -(A) : (A)) #define neg(A) (-(A)) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c index 65a36d0e52a..63314402fbd 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-6.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */ -#include +#include #define abs(A) ((A) < 0 ? -(A) : (A)) #define neg(A) (-(A)) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c index 356fe9fc25a..4847aec49e0 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-7.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */ -#include +#include #define abs(A) ((A) < 0 ? -(A) : (A)) #define neg(A) (-(A)) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c index 5208a858882..ae4d11893c9 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/cond/cond_unary-8.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv_zvfh -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model" } */ -#include +#include #define abs(A) ((A) < 0 ? -(A) : (A)) #define neg(A) (-(A)) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c index 2568d6947a2..cf2fd1d656f 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-8.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv32gcv -mabi=ilp32d --param riscv-autovec-preference=scalable -fno-vect-cost-model -fdump-tree-optimized-details" } */ -#include +#include #define VEC_PERM(TYPE) \ TYPE __attribute__ ((noinline, noclone)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c index 7c42438c9d9..1b99ffd4ffa 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/partial/slp-9.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-march=rv64gcv -mabi=lp64d --param riscv-autovec-preference=scalable -fno-vect-cost-model -fdump-tree-optimized-details" } */ -#include +#include #define VEC_PERM(TYPE) \ TYPE __attribute__ ((noinline, noclone)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c index de815c5fac9..edad1402154 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111232.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-march=rv64gcv -mabi=lp64d --param=riscv-autovec-preference=scalable -Ofast -fno-schedule-insns -fno-schedule-insns2" } */ -#include +#include int16_t foo (int8_t *restrict x, int8_t *restrict y, int n) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-0.c index f08c1211723..762b1408994 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-0.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-0.c @@ -2,7 +2,7 @@ /* { dg-options "-march=rv64gcv_zvfh -mabi=lp64d -O3 -ftree-vectorize -ffast-math -fno-vect-cost-model -fno-schedule-insns -fno-schedule-insns2" } */ /* { dg-final { check-function-bodies "**" "" } } */ -#include +#include /* ** test_int65_to_fp16: diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-1.c index 2d8ba8f45a5..3180ba3612c 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/cvt-1.c @@ -2,7 +2,7 @@ /* { dg-options "-march=rv64gcv_zvfh -mabi=lp64d -O3 -ftree-vectorize -ffast-math -fno-vect-cost-model -fno-schedule-insns -fno-schedule-insns2" } */ /* { dg-final { check-function-bodies "**" "" } } */ -#include +#include /* ** test_uint65_to_fp16: diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h index 18cb4af059b..1c5e4724651 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/perm.h @@ -1,4 +1,4 @@ -#include +#include typedef int8_t vnx2qi __attribute__ ((vector_size (2))); typedef int8_t vnx4qi __attribute__ ((vector_size (4))); diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c b/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c index 01cd55f1c72..aa28bb7e477 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/abi-call-args-4-run.c @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include "riscv_vector.h" vint64m8_t diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c index 958d1addb05..3dadc9920e6 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/pr110119-2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-march=rv64gczve32x -mabi=lp64d --param=riscv-autovec-preference=fixed-vlmax -Wno-psabi" } */ -#include +#include #include "riscv_vector.h" __attribute__ ((noipa)) vint32m1x3_t diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c index 736f6838a50..d667dbc874b 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr111255.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-march=rv64gcv -mabi=lp64d -O3 --param riscv-autovec-lmul=m2 -fno-vect-cost-model" } */ -#include +#include #define DEF_LOOP(OLD_TYPE, NEW_TYPE) \ void __attribute__ ((noipa)) \ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c index 81a0ebb9f52..5d1126786d3 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c @@ -2,7 +2,7 @@ /* { dg-options "-march=rv64gcv_zvl256b -mabi=lp64d --param=riscv-autovec-preference=fixed-vlmax -O3" } */ -#include +#include int16_t foo (int8_t *restrict a) {