diff options
author | Pan Li <pan2.li@intel.com> | 2023-07-21 16:50:08 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-07-24 08:59:30 +0800 |
commit | 73ff915a169bf3f4b15c75fa3b6e658f7fe86b46 (patch) | |
tree | 9dec78b837f9dacc7d90428f4d35078c644bcadd /gcc/tree-vectorizer.h | |
parent | 82c2a34b2f2c1a06eff672eba2e447b53f35d7b0 (diff) | |
download | gcc-73ff915a169bf3f4b15c75fa3b6e658f7fe86b46.zip gcc-73ff915a169bf3f4b15c75fa3b6e658f7fe86b46.tar.gz gcc-73ff915a169bf3f4b15c75fa3b6e658f7fe86b46.tar.bz2 |
RISC-V: Bugfix for allowing incorrect dyn for static rounding
According to the spec, dyn rounding mode is invalid for RVV
floating-point, this patch would like to fix this.
Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/ChangeLog:
* config/riscv/riscv-vector-builtins-shapes.cc
(struct alu_frm_def): Take range check.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/base/float-point-frm-error.c: Update cases.
* gcc.target/riscv/rvv/base/float-point-frm-insert-6.c: Removed.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions