aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2024-07-22 10:28:19 +0100
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:44 +0200
commit6a5ba2f4bc9d176efe46603369bb8c8ed4132ca4 (patch)
tree0ed2ecad293cb871ecdd95a2b1d75a2e323a299d /gcc/cp/tree.cc
parentf60e18d0c8a64f26dd87cbf3c91975f19953379d (diff)
downloadgcc-6a5ba2f4bc9d176efe46603369bb8c8ed4132ca4.zip
gcc-6a5ba2f4bc9d176efe46603369bb8c8ed4132ca4.tar.gz
gcc-6a5ba2f4bc9d176efe46603369bb8c8ed4132ca4.tar.bz2
AArch64: implement TARGET_VECTORIZE_CONDITIONAL_OPERATION_IS_EXPENSIVE [PR115531].
This implements the new target hook indicating that for AArch64 when possible we prefer masked operations for any type vs doing LOAD + SELECT or SELECT + STORE. Thanks, Tamar gcc/ChangeLog: PR tree-optimization/115531 * config/aarch64/aarch64.cc (aarch64_conditional_operation_is_expensive): New. (TARGET_VECTORIZE_CONDITIONAL_OPERATION_IS_EXPENSIVE): New. gcc/testsuite/ChangeLog: PR tree-optimization/115531 * gcc.dg/vect/vect-conditional_store_1.c: New test. * gcc.dg/vect/vect-conditional_store_2.c: New test. * gcc.dg/vect/vect-conditional_store_3.c: New test. * gcc.dg/vect/vect-conditional_store_4.c: New test.
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions