aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2016-12-15 15:56:29 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2016-12-15 15:56:29 +0000
commit851966d6a7e711755b6a96f06f166054d6e877ef (patch)
tree20ffa96fbfdb1de787a84904739e08d05edc5447 /gcc/tree-vectorizer.c
parent066416dabcdc6da2596da2c19a9876218c634435 (diff)
downloadgcc-851966d6a7e711755b6a96f06f166054d6e877ef.zip
gcc-851966d6a7e711755b6a96f06f166054d6e877ef.tar.gz
gcc-851966d6a7e711755b6a96f06f166054d6e877ef.tar.bz2
[arm] Initialize fpu capability bits in arm_active_target
Now that we can describe the FPU with the standard ISA bits we need to initialize them. However, the FPU settings can be changed with target build attributes, so we also need to reset them if things change. This requires a bit of juggling about with the existing code to ensure that the active target is reconfigured after each change to the target options. * arm-protos.h: Include sbitmap.h (arm_configure_build_target): Make public. * arm.c (arm_configure_build_target): Now not static. (arm_valid_target_attribute_rec): Move internal option check to... (arm_valid_target_attribute_tree0: ... here. Also reconfingure the active target. (arm_override_options_after_change): Call arm_configure_build_target. (isa_all_fpubits): Renamed from isa_fpubits. (arm_option_restore): New function. (TARGET_OPTION_RESTORE): Register it. (arm_configure_build_target): Initialize the FPU capability bits in the isa. (arm_option_override): Move the code that forces the setting of the FPU option before the call to arm_configure_build_target. * arm.opt (march): Mark as Save. (mcpu, mtune): Likewise. * arm-c.c (arm_pragma_target_parse): Reconfigure the build target after pragmas change the target options. From-SVN: r243710
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions