2009-06-28 Paolo Bonzini <bonzini@gnu.org> * config/i386/i386.h (enum ix86_fpcmp_strategy): New. * config/i386/i386.md (cbranchxf4, cstorexf4, cbranch<MODEF>4, cstore<MODEF>4, mov<X87MODEF>cc): Change predicate to ix86_fp_comparison_operator. (*fp_jcc_1_mixed, *fp_jcc_1_sse, *fp_jcc_1_387, *fp_jcc_2_mixed, *fp_jcc_2_sse, *fp_jcc_2_387): Delete (*fp_jcc_3_387, *fp_jcc_4_387, *fp_jcc_5_387, *fp_jcc_6_387, *fp_jcc_7_387, *fp_jcc_8<MODEF>_387): Eliminate call to !ix86_use_fcomi_compare, change ix86_fp_jump_nontrivial_p call to !TARGET_CMOVE, change predicate to ix86_fp_comparison_operator. (related splits): Change predicate to ix86_fp_comparison_operator. * config/i386/predicates.md: Use ix86_trivial_fp_comparison_operator instead of ix86_fp_comparison_codes. (ix86_trivial_fp_comparison_operator, ix86_fp_comparison_operator): New. * config/i386/i386-protos.h (ix86_fp_comparison_strategy): New. (ix86_expand_compare): Eliminate last two parameters. (ix86_fp_jump_nontrivial_p): Kill. * config/i386/i386.c (put_condition_code): Eliminate call to ix86_fp_comparison_codes and subsequent assertion. (ix86_fp_comparison_codes): Eliminate. (ix86_fp_swap_condition): New. (ix86_fp_comparison_arithmetics_cost, ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost, ix86_use_fcomi_compare): Consolidate into ix86_fp_comparison_cost and ix86_fp_comparison_strategy. (ix86_prepare_fp_compare_args): Use ix86_fp_comparison_strategy and ix86_fp_swap_condition. (ix86_expand_fp_compare): Eliminate code for second jump/bypass jump. Use ix86_fp_comparison_strategy. (ix86_expand_compare): Likewise. Eliminate last two arguments. (ix86_fp_jump_nontrivial_p): Eliminate. (ix86_expand_branch): Treat SFmode/DFmode/XFmode as simple. Adjust call to ix86_expand_compare. (ix86_split_fp_branch, ix86_expand_setcc, ix86_expand_carry_flag_compare, ix86_expand_int_movcc, ix86_expand_fp_movcc): Eliminate code for second jump/bypass jump. From-SVN: r149035
Name |
Last commit
|
Last update |
---|---|---|
INSTALL | Loading commit data... | |
boehm-gc | Loading commit data... | |
config | Loading commit data... | |
contrib | Loading commit data... | |
fixincludes | Loading commit data... | |
gcc | Loading commit data... | |
gnattools | Loading commit data... | |
include | Loading commit data... | |
intl | Loading commit data... | |
libada | Loading commit data... | |
libcpp | Loading commit data... | |
libdecnumber | Loading commit data... | |
libffi | Loading commit data... | |
libgcc | Loading commit data... | |
libgfortran | Loading commit data... | |
libgomp | Loading commit data... | |
libiberty | Loading commit data... | |
libjava | Loading commit data... | |
libmudflap | Loading commit data... | |
libobjc | Loading commit data... | |
libssp | Loading commit data... | |
libstdc++-v3 | Loading commit data... | |
maintainer-scripts | Loading commit data... | |
zlib | Loading commit data... | |
ABOUT-NLS | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
COPYING.RUNTIME | Loading commit data... | |
COPYING3 | Loading commit data... | |
COPYING3.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.tree-ssa | Loading commit data... | |
MAINTAINERS | Loading commit data... | |
Makefile.def | Loading commit data... | |
Makefile.in | Loading commit data... | |
Makefile.tpl | Loading commit data... | |
README | Loading commit data... | |
compile | Loading commit data... | |
config-ml.in | Loading commit data... | |
config.guess | Loading commit data... | |
config.rpath | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
depcomp | Loading commit data... | |
install-sh | Loading commit data... | |
libtool-ldflags | Loading commit data... | |
libtool.m4 | Loading commit data... | |
ltgcc.m4 | Loading commit data... | |
ltmain.sh | Loading commit data... | |
ltoptions.m4 | Loading commit data... | |
ltsugar.m4 | Loading commit data... | |
ltversion.m4 | Loading commit data... | |
lt~obsolete.m4 | Loading commit data... | |
missing | Loading commit data... | |
mkdep | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
symlink-tree | Loading commit data... | |
ylwrap | Loading commit data... |