diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2023-11-06 08:56:17 +0100 |
---|---|---|
committer | Christoph Müllner <christoph.muellner@vrull.eu> | 2023-11-07 10:47:19 +0100 |
commit | 4169033178f22ff31f2aba186d441bdfeca0e674 (patch) | |
tree | b4221384f74711f303077d93a84a2e94d132dda3 /gcc/testsuite/gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb.c | |
parent | b6ba22cab4fdea3468896c37719c0b9e946a646f (diff) | |
download | gcc-4169033178f22ff31f2aba186d441bdfeca0e674.zip gcc-4169033178f22ff31f2aba186d441bdfeca0e674.tar.gz gcc-4169033178f22ff31f2aba186d441bdfeca0e674.tar.bz2 |
RISC-V: Add ABI requirement for XTheadFMemIdx tests
The XTheadFMemIdx tests set the required ABI for RV32, but not
for RV64, which has the effect that the tests are expected to
succeed for RV64/LP64. Let's set the ABI to LP64D in these
tests to clarify the requirements.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/testsuite/ChangeLog:
* gcc.target/riscv/xtheadfmemidx-index-update.c: Add ABI.
* gcc.target/riscv/xtheadfmemidx-index-xtheadbb-update.c: Likewise.
* gcc.target/riscv/xtheadfmemidx-index-xtheadbb.c: Likewise.
* gcc.target/riscv/xtheadfmemidx-index.c: Likewise.
* gcc.target/riscv/xtheadfmemidx-uindex-update.c: Likewise.
* gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb-update.c: Likewise.
* gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb.c: Likewise.
* gcc.target/riscv/xtheadfmemidx-uindex.c: Likewise.
Diffstat (limited to 'gcc/testsuite/gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb.c')
-rw-r--r-- | gcc/testsuite/gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb.c b/gcc/testsuite/gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb.c index e2a4f36..5b57bb0 100644 --- a/gcc/testsuite/gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb.c +++ b/gcc/testsuite/gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-skip-if "" { *-*-* } { "-O0" "-O1" "-Og" } } */ -/* { dg-options "-march=rv64gc_xtheadbb_xtheadmemidx_xtheadfmemidx" { target { rv64 } } } */ +/* { dg-options "-march=rv64gc_xtheadbb_xtheadmemidx_xtheadfmemidx -mabi=lp64d" { target { rv64 } } } */ /* { dg-options "-march=rv32imafc_xtheadbb_xtheadmemidx_xtheadfmemidx -mabi=ilp32f" { target { rv32 } } } */ #include "xtheadmemidx-helpers.h" |