Remove some of optimize_size checks in i386 backend
H.J. Lu
hjl.tools@gmail.com
Thu Aug 7 13:45:00 GMT 2008
On Wed, Aug 6, 2008 at 1:00 AM, Jan Hubicka <jh@suse.cz> wrote:
> Hi,
> this patch removes some of easier occurences of optimize_size checks in
> i386 backend. There are still number in instruction choice and other
> parts.
>
> Bootstrapped/regtested i686-linux with the optabs patch.
>
> Honza
>
> * 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.
>
Hi Honza,
This patch breaks bootstrap on Linux/x86-64:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37048
H.J.
More information about the Gcc-patches
mailing list