aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpplib.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2025-08-04 11:45:36 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2025-08-04 11:45:36 +0100
commitf4915d9b6632ed0ea7e43027a9d5124bd067df49 (patch)
treeb92350ba8642d1a5cfab1e18978be4d44a3a893b /libcpp/include/cpplib.h
parentb768e2786f8c85097442bd52010fee1b7ed12ed2 (diff)
downloadgcc-f4915d9b6632ed0ea7e43027a9d5124bd067df49.zip
gcc-f4915d9b6632ed0ea7e43027a9d5124bd067df49.tar.gz
gcc-f4915d9b6632ed0ea7e43027a9d5124bd067df49.tar.bz2
aarch64: Use VNx16BI for svdupq_b*
This patch continues the work of making ACLE intrinsics use VNx16BI for svbool_t results. It deals with the predicate forms of svdupq. The general predicate expansion builds an equivalent integer vector and then compares it with zero. This patch therefore relies on the earlier patches to the comparison patterns. gcc/ * config/aarch64/aarch64-protos.h (aarch64_convert_sve_data_to_pred): Remove the mode argument. * config/aarch64/aarch64.cc (aarch64_sve_emit_int_cmp): Allow PRED_MODE to be VNx16BI or the natural predicate mode for the data mode. (aarch64_convert_sve_data_to_pred): Remove the mode argument and instead always create a VNx16BI result. (aarch64_expand_sve_const_pred): Update call accordingly. * config/aarch64/aarch64-sve-builtins-base.cc (svdupq_impl::expand): Likewise, ensuring that the result has mode VNx16BI. gcc/testsuite/ * gcc.target/aarch64/sve/acle/general/dupq_13.c: New test.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions