diff options
author | Juzhe-Zhong <juzhe.zhong@rivai.ai> | 2023-11-21 10:13:38 +0800 |
---|---|---|
committer | Lehua Ding <lehua.ding@rivai.ai> | 2023-11-21 10:38:20 +0800 |
commit | 7e2a429ae8f938a94c69bcab96062c9f036b721e (patch) | |
tree | 5f82bf98b7f4cea6c9f68cbfb235c2477ab12a8c /gcc/tree-vect-loop.cc | |
parent | e5e305e6048c042139037378fe6abfad5735b54f (diff) | |
download | gcc-7e2a429ae8f938a94c69bcab96062c9f036b721e.zip gcc-7e2a429ae8f938a94c69bcab96062c9f036b721e.tar.gz gcc-7e2a429ae8f938a94c69bcab96062c9f036b721e.tar.bz2 |
RISC-V: Fix reduc_run-9.c test value check bug
The current test value check is incorrect which is exposed on -march=rv64gcv_zvl256b
Confirm on X86 also abort:
[jzzhong@rios-cad121:/work/home/jzzhong/work/insn]$./a.out
------33.000000,4078.000000,45001776.000000,63369904.000000---
Aborted (core dumped)
Adapt the value check according to X86 result.
Pushed as it is obvious.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/reduc/reduc_run-9.c: Fix bug.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions