aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-01-13 09:57:29 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2001-01-13 08:57:29 +0000
commit9e7adcb3f02fed791a723af46c6bdb16b81019bb (patch)
treec70ae326ad613b614bd7ef8b4da3a8ae9e7fabd0 /gcc/cppmain.c
parent9323f9693a7eaa07669840009e0dc65cc625e9a2 (diff)
downloadgcc-9e7adcb3f02fed791a723af46c6bdb16b81019bb.zip
gcc-9e7adcb3f02fed791a723af46c6bdb16b81019bb.tar.gz
gcc-9e7adcb3f02fed791a723af46c6bdb16b81019bb.tar.bz2
i386.c (ix86_fp_comparison_arithmetics_cost, [...]): New functions.
* i386.c (ix86_fp_comparison_arithmetics_cost, ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost, ix86_fp_comparison_cost): New functions. (ix86_expand_fp_compare): Use the costs to choose best bethod; add two new parameters SECOND_TEST and BYPASS_TEST; allow generating two-branch sequences; make static. (ix86_use_fcomi_compare): Do decision according to the costs. (split_fp_branch): New. * i386.md (compare-and-branch patterns): Use split_fp_branch. * i386-protos.h (ix86_expand_fp_compare): Remove (ix86_split_fp_branch): Declare. * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand and ix86_comparison_operator. * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison to make it cheaper. * i386.c (put_condition_code): Output properly the unordered/ordered compares in fp case. (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure. * tm.texi (REVERSE_CONDITION): Document. * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode in -ffast-math mode. * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro. From-SVN: r38979
Diffstat (limited to 'gcc/cppmain.c')
0 files changed, 0 insertions, 0 deletions