public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] RISC-V: Fix riscv/arch-19.c with different ISA spec version
@ 2024-02-19 21:40 Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2024-02-19 21:40 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:fb2a3d47fa2bdbfe28f1fdfacd68d438e3c697c3

commit fb2a3d47fa2bdbfe28f1fdfacd68d438e3c697c3
Author: Kito Cheng <kito.cheng@sifive.com>
Date:   Mon Feb 19 18:01:48 2024 -0300

    RISC-V: Fix riscv/arch-19.c with different ISA spec version
    
    In newer ISA spec, F will implied zicsr, add that into -march option to
    prevent different test result on different default -misa-spec version.
    
    gcc/testsuite/
    
            * gcc.target/riscv/arch-19.c: Add -misa-spec.
    (imported from commit 9fde76a3be8e1717d9d38492c40675e742611e45)

Diff:
---
 gcc/testsuite/gcc.target/riscv/arch-19.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/riscv/arch-19.c b/gcc/testsuite/gcc.target/riscv/arch-19.c
index b042e1a49fe6..95204ede26a6 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-19.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-19.c
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-march=rv64if_zfinx -mabi=lp64" } */
+/* { dg-options "-march=rv64if_zicsr_zfinx -mabi=lp64" } */
 int foo() {}
-/* { dg-error "'-march=rv64if_zfinx': z\\*inx conflicts with floating-point extensions" "" { target *-*-* } 0 } */
+/* { dg-error "'-march=rv64if_zicsr_zfinx': z\\*inx conflicts with floating-point extensions" "" { target *-*-* } 0 } */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] RISC-V: Fix riscv/arch-19.c with different ISA spec version
@ 2024-02-19 21:50 Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2024-02-19 21:50 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e4e63fa0bb34a52b4bd4daa4bb5211bc25e7f584

commit e4e63fa0bb34a52b4bd4daa4bb5211bc25e7f584
Author: Kito Cheng <kito.cheng@sifive.com>
Date:   Mon Feb 19 18:01:48 2024 -0300

    RISC-V: Fix riscv/arch-19.c with different ISA spec version
    
    In newer ISA spec, F will implied zicsr, add that into -march option to
    prevent different test result on different default -misa-spec version.
    
    gcc/testsuite/
    
            * gcc.target/riscv/arch-19.c: Add -misa-spec.
    
    (cherry picked from commit 9fde76a3be8e1717d9d38492c40675e742611e45)

Diff:
---
 gcc/testsuite/gcc.target/riscv/arch-19.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/riscv/arch-19.c b/gcc/testsuite/gcc.target/riscv/arch-19.c
index b042e1a49fe6..95204ede26a6 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-19.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-19.c
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-march=rv64if_zfinx -mabi=lp64" } */
+/* { dg-options "-march=rv64if_zicsr_zfinx -mabi=lp64" } */
 int foo() {}
-/* { dg-error "'-march=rv64if_zfinx': z\\*inx conflicts with floating-point extensions" "" { target *-*-* } 0 } */
+/* { dg-error "'-march=rv64if_zicsr_zfinx': z\\*inx conflicts with floating-point extensions" "" { target *-*-* } 0 } */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-19 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-19 21:40 [gcc(refs/users/aoliva/heads/testme)] RISC-V: Fix riscv/arch-19.c with different ISA spec version Alexandre Oliva
2024-02-19 21:50 Alexandre Oliva

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).