aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2024-08-28 16:41:08 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2024-08-28 16:41:08 +0100
commit3e27ea26fedf00c2662d8460cdf6aca05d0d64aa (patch)
tree82e163bc101aff5bbf5d1abebdeb2534f8c6bce1 /gcc/dwarf2codeview.h
parent035c196cb9be2f1aee142240d506dde474cbe64e (diff)
downloadgcc-3e27ea26fedf00c2662d8460cdf6aca05d0d64aa.zip
gcc-3e27ea26fedf00c2662d8460cdf6aca05d0d64aa.tar.gz
gcc-3e27ea26fedf00c2662d8460cdf6aca05d0d64aa.tar.bz2
aarch64: Fix gather x32/x64 selection
The SVE gather and scatter costs are classified based on whether they do 4 loads per 128 bits (x32) or 2 loads per 128 bits (x64). The number after the "x" refers to the number of bits in each "container". However, the test for which to use was based on the element size rather than the container size. This meant that we'd use the overly conservative x32 costs for VNx2SI gathers. VNx2SI gathers are really .D gathers in which the upper half of each extension result is ignored. This patch is necessary to switch -mtune=generic over to the "new" vector costs. gcc/ * config/aarch64/aarch64.cc (aarch64_detect_vector_stmt_subtype) (aarch64_vector_costs::add_stmt_cost): Use the x64 cost rather than x32 cost for all VNx2 modes.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions