aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wstrict-overflow-12.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2007-03-08 18:21:40 +0100
committerUros Bizjak <uros@gcc.gnu.org>2007-03-08 18:21:40 +0100
commit3c2d980c94357e2a020597a47cee0ee1c2458be7 (patch)
tree342220614f5465d2d8a9b0196ab84b869baddcdf /gcc/testsuite/gcc.dg/Wstrict-overflow-12.c
parent0c705abc64aec2a54238aa864ed286cbd18d6a51 (diff)
downloadgcc-3c2d980c94357e2a020597a47cee0ee1c2458be7.zip
gcc-3c2d980c94357e2a020597a47cee0ee1c2458be7.tar.gz
gcc-3c2d980c94357e2a020597a47cee0ee1c2458be7.tar.bz2
i386.h (TARGET_SAHF): New define.
* config/i386/i386.h (TARGET_SAHF): New define. * config/i386/i386.c (ix86_tune_features) [X86_TUNE_USE_SAHF]: Also enable for m_K8, m_AMDFAM10 and m_CORE2. (x86_sahf): New global variable. (override_options): Add PTA_NO_SAHF to pta_flags enum. Recode pta_flags masks using shifts. Add PTA_NO_SAHF to x86_64 and nocona processor flags. Set x86_sahf when PTA_NO_SAHF is not set in processor flags. Do not unconditionally disable TARGET_USE_SAHF for 64-bit. (ix86_fp_comparison_sahf_cost): Return high value for !TARGET_SAHF. (ix86_expand_fp_compare): Check for TARGET_CMOVE or TARGET_SAHF when expanding fcomi/sahf based tests. (ix86_emit_fp_unordered_jump): Check for TARGET_SAHF when expanding sahf based alternative. Emit sahf based sequence when optimizing for code size. * config/i386/i386.md (x86_sahf_1): Do not disable for TARGET_64BIT, enable for TARGET_SAHF. From-SVN: r122705
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wstrict-overflow-12.c')
0 files changed, 0 insertions, 0 deletions