This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, i386]: Use *mmx_pinsrb some more


We can generate {v,}pinsrb in ix86_expand_vector_init_one_nonzero and
ix86_expand_vector_init_one_var. {v,}pinsrd is already generated where
optimal.

2019-08-14  Uroš Bizjak  <ubizjak@gmail.com>

    * config/i386/i386-expand.c (ix86_expand_vector_init_one_nonzero)
    <case E_V8QImode>: Use vector_set path for
    TARGET_MMX_WITH_SSE && TARGET_SSE4_1.
    (ix86_expand_vector_init_one_var) <case E_V8QImode>:
    Do not widen for TARGET_MMX_WITH_SSE && TARGET_SSE4_1.

Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.

Committed to mainline SVN.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]