i386.md (ix86_expand_vector_extract): Use vec_extr path for TARGET_MMX_WITH_SSE ...
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 13 Aug 2019 18:16:29 +0000 (20:16 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 13 Aug 2019 18:16:29 +0000 (20:16 +0200)
commit5fbc8ab48a57a75e0ce064befc30dee3dc63327a
treedec517f4b76d44ee733b5ec6373c49f0e260fe17
parent48668ee0d23119ee55f6c844b214342486cc8f1f
i386.md (ix86_expand_vector_extract): Use vec_extr path for TARGET_MMX_WITH_SSE && TARGET_SSE4_1.

* config/i386/i386.md (ix86_expand_vector_extract) <case E_V2SImode>:
Use vec_extr path for TARGET_MMX_WITH_SSE && TARGET_SSE4_1.
<case E_V8QImode>: Ditto.
* config/i386/mmx.md (*mmx_pextrw_zext): Rename from mmx_pextrw.
Use SWI48 mode iterator.  Use %k to output operand 0.
(*mmx_pextrw): New insn pattern.
(*mmx_pextrb): Ditto.
(*mmx_pextrb_zext): Ditto.

From-SVN: r274389
gcc/ChangeLog
gcc/config/i386/i386-expand.c
gcc/config/i386/mmx.md