* [PATCH] RISC-V: Add require-effective-target to pr113429 testcase
@ 2024-01-27 2:50 Patrick O'Neill
2024-01-29 3:41 ` juzhe.zhong
0 siblings, 1 reply; 3+ messages in thread
From: Patrick O'Neill @ 2024-01-27 2:50 UTC (permalink / raw)
To: gcc-patches; +Cc: juzhe.zhong, Patrick O'Neill
The pr113429 testcase fails with newlib spike runs. Adding
require-effective-target rv64 and riscv_v fixes the issue.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/vsetvl/pr113429.c: Add
require-effective-target rv64 and riscv_v
Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
---
Tested using rv64gc newlib spike.
---
gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
index 05c3eeecb94..a7f5db616d8 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
@@ -1,5 +1,7 @@
/* { dg-do run } */
/* { dg-options "-march=rv64gcv_zvl256b -mabi=lp64d -O3" } */
+/* { dg-require-effective-target rv64 } */
+/* { dg-require-effective-target riscv_v } */
long a;
int b, c, d, e, f, g;
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] RISC-V: Add require-effective-target to pr113429 testcase
2024-01-27 2:50 [PATCH] RISC-V: Add require-effective-target to pr113429 testcase Patrick O'Neill
@ 2024-01-29 3:41 ` juzhe.zhong
2024-01-29 17:51 ` [Committed] " Patrick O'Neill
0 siblings, 1 reply; 3+ messages in thread
From: juzhe.zhong @ 2024-01-29 3:41 UTC (permalink / raw)
To: Patrick O'Neill, gcc-patches; +Cc: Patrick O'Neill
[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]
ok
juzhe.zhong@rivai.ai
From: Patrick O'Neill
Date: 2024-01-27 10:50
To: gcc-patches
CC: juzhe.zhong; Patrick O'Neill
Subject: [PATCH] RISC-V: Add require-effective-target to pr113429 testcase
The pr113429 testcase fails with newlib spike runs. Adding
require-effective-target rv64 and riscv_v fixes the issue.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/vsetvl/pr113429.c: Add
require-effective-target rv64 and riscv_v
Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
---
Tested using rv64gc newlib spike.
---
gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
index 05c3eeecb94..a7f5db616d8 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
@@ -1,5 +1,7 @@
/* { dg-do run } */
/* { dg-options "-march=rv64gcv_zvl256b -mabi=lp64d -O3" } */
+/* { dg-require-effective-target rv64 } */
+/* { dg-require-effective-target riscv_v } */
long a;
int b, c, d, e, f, g;
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Committed] RISC-V: Add require-effective-target to pr113429 testcase
2024-01-29 3:41 ` juzhe.zhong
@ 2024-01-29 17:51 ` Patrick O'Neill
0 siblings, 0 replies; 3+ messages in thread
From: Patrick O'Neill @ 2024-01-29 17:51 UTC (permalink / raw)
To: juzhe.zhong, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 1626 bytes --]
Committed.
Thanks for catching this.
Patrick
On 1/28/24 19:41, juzhe.zhong@rivai.ai wrote:
> ok
>
>
> ------------------------------------------------------------------------
> juzhe.zhong@rivai.ai
>
> *From:* Patrick O'Neill <mailto:patrick@rivosinc.com>
> *Date:* 2024-01-27 10:50
> *To:* gcc-patches <mailto:gcc-patches@gcc.gnu.org>
> *CC:* juzhe.zhong <mailto:juzhe.zhong@rivai.ai>; Patrick O'Neill
> <mailto:patrick@rivosinc.com>
> *Subject:* [PATCH] RISC-V: Add require-effective-target to
> pr113429 testcase
> The pr113429 testcase fails with newlib spike runs. Adding
> require-effective-target rv64 and riscv_v fixes the issue.
> gcc/testsuite/ChangeLog:
> * gcc.target/riscv/rvv/vsetvl/pr113429.c: Add
> require-effective-target rv64 and riscv_v
> Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
> ---
> Tested using rv64gc newlib spike.
> ---
> gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c | 2 ++
> 1 file changed, 2 insertions(+)
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
> b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
> index 05c3eeecb94..a7f5db616d8 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c
> @@ -1,5 +1,7 @@
> /* { dg-do run } */
> /* { dg-options "-march=rv64gcv_zvl256b -mabi=lp64d -O3" } */
> +/* { dg-require-effective-target rv64 } */
> +/* { dg-require-effective-target riscv_v } */
> long a;
> int b, c, d, e, f, g;
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-29 17:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-27 2:50 [PATCH] RISC-V: Add require-effective-target to pr113429 testcase Patrick O'Neill
2024-01-29 3:41 ` juzhe.zhong
2024-01-29 17:51 ` [Committed] " Patrick O'Neill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).