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]

Re: [PATCH 6/n, i386]: Add zero-extended vec_extract patterns


On Thu, May 9, 2013 at 9:43 PM, Uros Bizjak <ubizjak@gmail.com> wrote:

> movd from xmm register to integer register also zero-extends the value
> in integer register. Also, the patch adds a couple of missing
> alternatives to *vec_extractv4si, we can "extract" the values using
> 128bit SSE shifts.
>
> 2013-05-09  Uros Bizjak  <ubizjak@gmail.com>
>
>     * config/i386/sse.md (*vec_extractv4si_0_zext): New pattern.
>     (*vec_extractv4si_zext_mem): Ditto.
>     (*vec_extractv2di): Add 0->x and x->x alternatives.
>     * config/i386/mmx.md (*vec_extractv2si_zext_mem): New pattern.
>     * config/i386/i386.md (*zero_extendsidi2): Add *Yj->?r alternative.
>
> Patch was tested on x86_64-pc-linux-gnu and committed to mainline SVN.

Now with a patch.

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]