aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-08-07 19:08:55 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-08-07 19:08:55 +0000
commit801790b37ca817089ecbae214340162e6d94ea6a (patch)
tree35bd16b516b6402219f067fbb2d825df2c4a1859 /gcc/gcc.c
parentb0760a40bef3ca690691bf5d214da95b5dc25266 (diff)
downloadgcc-801790b37ca817089ecbae214340162e6d94ea6a.zip
gcc-801790b37ca817089ecbae214340162e6d94ea6a.tar.gz
gcc-801790b37ca817089ecbae214340162e6d94ea6a.tar.bz2
[AArch64] Prefer FPRs over GPRs for CLASTB
This patch makes the SVE CLASTB GPR alternative more expensive than the FPR alternative in order to avoid unnecessary cross-file moves. It also fixes the prefix used to print the FPR; <vw> only handles 32-bit and 64-bit elements. 2019-08-07 Richard Sandiford <richard.sandiford@arm.com> gcc/ * config/aarch64/aarch64-sve.md (fold_extract_last_<mode>): Disparage the GPR alternative relative to the FPR one. Fix handling of 8-bit and 16-bit FPR values. gcc/testsuite/ * gcc.target/aarch64/sve/clastb_8.c: New test. From-SVN: r274191
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions