diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-03-05 20:46:57 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2024-03-06 19:01:16 +0800 |
commit | 7719b9be2daa55edf336d721839300e62a7abbdc (patch) | |
tree | e26c44b748a5bebadc19df3d7683b90296da0167 /gcc/system.h | |
parent | c7a9883663a888617b6e3584233aa756b30519f8 (diff) | |
download | gcc-7719b9be2daa55edf336d721839300e62a7abbdc.zip gcc-7719b9be2daa55edf336d721839300e62a7abbdc.tar.gz gcc-7719b9be2daa55edf336d721839300e62a7abbdc.tar.bz2 |
LoongArch: testsuite: Rewrite {x,}vfcmp-{d,f}.c to avoid named registers
Loops on named vector register are not vectorized (see comment 11 of
PR113622), so the these test cases have been failing for a while.
Rewrite them using check-function-bodies to remove hard coding register
names. A barrier is needed to always load the first operand before the
second operand.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/vfcmp-f.c: Rewrite to avoid named
registers.
* gcc.target/loongarch/vfcmp-d.c: Likewise.
* gcc.target/loongarch/xvfcmp-f.c: Likewise.
* gcc.target/loongarch/xvfcmp-d.c: Likewise.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions