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]: Add missing *mmx_pinsr{q,d} patterns


We can implement these for TARGET_MMX_WITH_SSE and TARGET_SSE4_1.

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

    * config/i386/i386.md (ix86_expand_vector_set) <case E_V2SImode>:
    Use vec_merge path for TARGET_MMX_WITH_SSE && TARGET_SSE4_1.
    <case E_V8QImode>: Ditto.
    * config/i386/mmx.md (*mmx_pinsrd): New insn pattern.
    (*mmx_pinsrb): Ditto.

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]