OSDN Git Service

* optabs.c (emit_unop_insn): Break out to ...
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2008 07:35:51 +0000 (07:35 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2008 07:35:51 +0000 (07:35 +0000)
commita15150112394a84ed000e9068c8bc665f7d1d42c
treed9aabb94673a23bc99338f44a58ccb8a90453ecc
parentb34cb79bf7c420001cdb1a76ccbf0944a7115c0c
* optabs.c (emit_unop_insn): Break out to ...
(maybe_emit_unop_insn): ... this one.
(expand_sfix_optab): Use maybe variant.
* optabs.h (maybe_emit_unop_insn): Declare.

* i386.md (mov0 patterns): Enable by default.
(FP conversion expanders): Disable expansion of code expanding
sequences when instruction should be optimized for size.
(single strinop patterns): Enable when optimizing for size.
(string expanders): Disable expanding of code expanding sequences
when optimizning instruction for size.
* i386.c (ix86_expand_vector_move_misalign): Do code size optimization
per BB basis.
(ix86_fp_comparison_sahf_cost): Likewise.
(ix86_expand_branch): Likewise.
(ix86_expand_ashl_const): Likewise.
(ix86_split_ashl): Likewise.
(ix86_expand_strlen): Likewise.
(ix86_emit_fp_unordered_jump): Likewie.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138835 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/optabs.c
gcc/optabs.h