Re: [PATCH 17/42] i386: Emulate MMX mmx_pinsrw with SSE

2019-02-16 Thread H.J. Lu
On Sat, Feb 16, 2019 at 1:08 AM Uros Bizjak wrote: > > On 2/16/19, H.J. Lu wrote: > > Emulate MMX mmx_pinsrw with SSE. Only SSE register source operand is > > allowed. > > Here we allow general register and memory operands in both cases,, so > the above sentence is misleading. Changed to Emula

Re: [PATCH 17/42] i386: Emulate MMX mmx_pinsrw with SSE

2019-02-16 Thread Uros Bizjak
On 2/16/19, H.J. Lu wrote: > Emulate MMX mmx_pinsrw with SSE. Only SSE register source operand is > allowed. Here we allow general register and memory operands in both cases,, so the above sentence is misleading. Uros. > > PR target/89021 > * config/i386/mmx.md (mmx_pinsrw): Also c

[PATCH 17/42] i386: Emulate MMX mmx_pinsrw with SSE

2019-02-15 Thread H.J. Lu
Emulate MMX mmx_pinsrw with SSE. Only SSE register source operand is allowed. PR target/89021 * config/i386/mmx.md (mmx_pinsrw): Also check TARGET_MMX and TARGET_MMX_WITH_SSE. (*mmx_pinsrw): Add SSE emulation. --- gcc/config/i386/mmx.md | 33 ++