]> git.ipfire.org Git - thirdparty/gcc.git/commit
Testsuite: Fix a fail about xtheadcondmov-indirect-rv64.c
authorLiao Shihua <shihua@iscas.ac.cn>
Mon, 5 Jun 2023 16:14:45 +0000 (10:14 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Mon, 5 Jun 2023 16:14:45 +0000 (10:14 -0600)
commitf7f12f0b64646968d722c2d80f149934358a7d71
treef66632042aa46701c7877397a030502ab5624ff2
parent8e1e1fc4fcb0d7d93222a707f9b83ae400c5a3fa
Testsuite: Fix a fail about xtheadcondmov-indirect-rv64.c

I find fail of the xtheadcondmov-indirect-rv64.c test case and provide a way to solve it.
In this patch, I take Kito's advice that I modify the form of the function bodies.It likes
*[a-x0-9].

gcc/testsuite/ChangeLog:

* gcc.target/riscv/xtheadcondmov-indirect-rv32.c: Generalize to be
less sensitive to register allocation choices.
* gcc.target/riscv/xtheadcondmov-indirect-rv64.c: Similarly.
gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect-rv32.c
gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect-rv64.c