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]: Improve V2SI extractions


Attached patch adds missing SSE4.1 xmm->reg/mem extractions for V2SI modes.

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

    * config/i386/mmx.md (vec_extractv2si_0): Add (r,x) alternative.
    (*vec_extractv2si_0_zext_sse4): New insn pattern.
    (*vec_extractv2si_0_zext): Ditto.
    (*vec_extractv2si_1): Add (rm,x) alternative.
    (*vec_extractv2si_1_zext): New insn pattern.
    (*vec_extractv2si_zext_mem): Add "TARGET_MMX || TARGET_MMX_WITH_SSE"
    insn constraint.

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]