aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/riscv/xtheadfmemidx-index.c
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2023-11-06 08:56:17 +0100
committerChristoph Müllner <christoph.muellner@vrull.eu>2023-11-07 10:47:19 +0100
commit4169033178f22ff31f2aba186d441bdfeca0e674 (patch)
treeb4221384f74711f303077d93a84a2e94d132dda3 /gcc/testsuite/gcc.target/riscv/xtheadfmemidx-index.c
parentb6ba22cab4fdea3468896c37719c0b9e946a646f (diff)
downloadgcc-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-index.c')
-rw-r--r--gcc/testsuite/gcc.target/riscv/xtheadfmemidx-index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/xtheadfmemidx-index.c b/gcc/testsuite/gcc.target/riscv/xtheadfmemidx-index.c
index 1bb231a..3570406 100644
--- a/gcc/testsuite/gcc.target/riscv/xtheadfmemidx-index.c
+++ b/gcc/testsuite/gcc.target/riscv/xtheadfmemidx-index.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-O0" "-O1" "-Og" } } */
-/* { dg-options "-march=rv64gc_xtheadmemidx_xtheadfmemidx" { target { rv64 } } } */
+/* { dg-options "-march=rv64gc_xtheadmemidx_xtheadfmemidx -mabi=lp64d" { target { rv64 } } } */
/* { dg-options "-march=rv32imafc_xtheadmemidx_xtheadfmemidx -mabi=ilp32f" { target { rv32 } } } */
#include "xtheadmemidx-helpers.h"