]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: RISC-V: Add effective target for E ABI variant
authorDimitar Dimitrov <dimitar@dinux.eu>
Thu, 12 Dec 2024 18:22:59 +0000 (20:22 +0200)
committerDimitar Dimitrov <dimitar@dinux.eu>
Tue, 7 Jan 2025 19:06:36 +0000 (21:06 +0200)
commit904f332cce3de59b99a48751e69717cbd3592901
treeacf36f270346dda063f04cc9e8eebb39bdaa658e
parentd6b1d5deb23063b8eac980def0bc4e438b44ee85
testsuite: RISC-V: Add effective target for E ABI variant

Add new effective target check for either ILP32E or ILP64E ABI variants.

Initial implementation only checks for RV32E or RV64E ISA, which in turn
implies that ILP32E/ILP64E ABI is used.  The RV32I+ILP32E and
RV64I+ILP64E combinations are not yet caught by the check, but they
do not seem to be widely used currently.

gcc/testsuite/ChangeLog:

* lib/target-supports.exp (check_effective_target_riscv_abi_e):
New procedure.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
gcc/testsuite/lib/target-supports.exp