diff options
author | demin.han <demin.han@starfivetech.com> | 2024-02-26 14:50:15 +0800 |
---|---|---|
committer | demin.han <demin.han@starfivetech.com> | 2024-03-07 13:23:02 +0800 |
commit | 1cd8254ebad7b73993d2acee80a7caf37c21878a (patch) | |
tree | a1059eef613e142e048220c3ed7a8f5de4498941 /gcc/system.h | |
parent | 03932d3203bce244edd812b81921c2f16ea18d86 (diff) | |
download | gcc-1cd8254ebad7b73993d2acee80a7caf37c21878a.zip gcc-1cd8254ebad7b73993d2acee80a7caf37c21878a.tar.gz gcc-1cd8254ebad7b73993d2acee80a7caf37c21878a.tar.bz2 |
RISC-V: Refactor expand_vec_cmp [NFC]
There are two expand_vec_cmp functions.
They have same structure and similar code.
We can use default arguments instead of overloading.
Tested on RV32 and RV64.
gcc/ChangeLog:
* config/riscv/riscv-protos.h (expand_vec_cmp): Change proto
* config/riscv/riscv-v.cc (expand_vec_cmp): Use default arguments
(expand_vec_cmp_float): Adapt arguments
Signed-off-by: demin.han <demin.han@starfivetech.com>
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions