aboutsummaryrefslogtreecommitdiff
path: root/libgomp/allocator.c
diff options
context:
space:
mode:
authorJiahao Xu <xujiahao@loongson.cn>2023-12-06 15:04:51 +0800
committerLulu Cheng <chenglulu@loongson.cn>2023-12-08 16:29:50 +0800
commit276c7618bf41bc2f03cf4b22c24b23c8ba29eca4 (patch)
tree216210864665e6f6b1ea382e5a32255851abb312 /libgomp/allocator.c
parentcd2f1d911c766926c1e690476966d6d0b8089623 (diff)
downloadgcc-276c7618bf41bc2f03cf4b22c24b23c8ba29eca4.zip
gcc-276c7618bf41bc2f03cf4b22c24b23c8ba29eca4.tar.gz
gcc-276c7618bf41bc2f03cf4b22c24b23c8ba29eca4.tar.bz2
LoongArch: Redefine pattern for xvfrecip/vfrecip instructions.
Redefine pattern for [x]vfrecip instructions use rtx code instead of unspec, and enable [x]vfrecip instructions to be generated during auto-vectorization. gcc/ChangeLog: * config/loongarch/lasx.md (lasx_xvfrecip_<flasxfmt>): Renamed to .. (recip<mode>3): .. this. * config/loongarch/loongarch-builtins.cc (CODE_FOR_lsx_vfrecip_d): Redefine to new pattern name. (CODE_FOR_lsx_vfrecip_s): Ditto. (CODE_FOR_lasx_xvfrecip_d): Ditto. (CODE_FOR_lasx_xvfrecip_s): Ditto. (loongarch_expand_builtin_direct): For the vector recip instructions, construct a temporary parameter const1_vector. * config/loongarch/lsx.md (lsx_vfrecip_<flsxfmt>): Renamed to .. (recip<mode>3): .. this. * config/loongarch/predicates.md (const_vector_1_operand): New predicate.
Diffstat (limited to 'libgomp/allocator.c')
0 files changed, 0 insertions, 0 deletions