aboutsummaryrefslogtreecommitdiff
path: root/gcc/file-prefix-map.h
diff options
context:
space:
mode:
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>2023-03-08 15:42:13 +0800
committerKito Cheng <kito.cheng@sifive.com>2023-03-10 16:25:03 +0800
commita803c268c5529624bdb7d02131d4862516a63c22 (patch)
treeaec3f861446e1c9de51cec399463f1f0406a9db5 /gcc/file-prefix-map.h
parentab7bb445ee586258a6210462e92ed196d61beb9e (diff)
downloadgcc-a803c268c5529624bdb7d02131d4862516a63c22.zip
gcc-a803c268c5529624bdb7d02131d4862516a63c22.tar.gz
gcc-a803c268c5529624bdb7d02131d4862516a63c22.tar.bz2
Extend nops num in "maybe_gen_insn" for RISC-V Vector intrinsics
Hi, current maybe_gen_insn can only expand 9 nops. For RVV intrinsics, I need to extend it as 10, otherwise I should use GEN_FCN. This patch is quite obvious change, Ok for trunk ? Thanks. gcc/ChangeLog: * config/riscv/riscv-vector-builtins.cc (function_expander::use_ternop_insn): Use maybe_gen_insn instead. (function_expander::use_widen_ternop_insn): Ditto. * optabs.cc (maybe_gen_insn): Extend nops handling.
Diffstat (limited to 'gcc/file-prefix-map.h')
0 files changed, 0 insertions, 0 deletions