aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ch.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2017-12-08 11:19:20 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2017-12-08 11:19:20 +0000
commit801840e1752e6d01ebea30998789379a9aba25a7 (patch)
tree187f0fccf1b95337f01d962cdc5b4410796c3068 /gcc/tree-ssa-loop-ch.c
parent24531cd697943064c58ef0c374751f667657fe38 (diff)
downloadgcc-801840e1752e6d01ebea30998789379a9aba25a7.zip
gcc-801840e1752e6d01ebea30998789379a9aba25a7.tar.gz
gcc-801840e1752e6d01ebea30998789379a9aba25a7.tar.bz2
[arm] PR target/83206: Make native driver select fp-capable armv6 cores
A quirk in the historical naming of some ARMv6 products means that the main CPU name implies the presence or otherwise of the floating point unit. This causes problems when using -mfpu=auto with -mcpu=native: the driver is picking a CPU that does not support a floating-point unit, even though one may well exist. This patch addresses this by selecting the FP-capable names so that FP instructions will be generated if the other options suggest this is permitted. Note that a more complete fix is really needed here to look up the FP/simd capabilities and append the appropriate capability extensions. This will be the subject of some follow-up patches. * config/arm/driver-arm.c (arm_cpu_table): Use fp-capable product names for armv6 ARM CPU IDs. From-SVN: r255504
Diffstat (limited to 'gcc/tree-ssa-loop-ch.c')
0 files changed, 0 insertions, 0 deletions