[PATCH 19/40] i386: Emulate MMX mmx_pmovmskb with SSE

2019-02-14 Thread H.J. Lu
Emulate MMX mmx_pmovmskb with SSE by zero-extending result of SSE pmovmskb from QImode to SImode. Only SSE register source operand is allowed. PR target/89021 * config/i386/mmx.md (mmx_pmovmskb): Changed to define_insn_and_split to support SSE emulation. --- gcc/config/i3

Re: [PATCH 19/40] i386: Emulate MMX mmx_pmovmskb with SSE

2019-02-12 Thread Uros Bizjak
On Mon, Feb 11, 2019 at 11:55 PM H.J. Lu wrote: > > Emulate MMX mmx_pmovmskb with SSE by zero-extending result of SSE pmovmskb > from QImode to SImode. Only SSE register source operand is allowed. > > PR target/89021 > * config/i386/mmx.md (mmx_pmovmskb): Changed to > defi

[PATCH 19/40] i386: Emulate MMX mmx_pmovmskb with SSE

2019-02-11 Thread H.J. Lu
Emulate MMX mmx_pmovmskb with SSE by zero-extending result of SSE pmovmskb from QImode to SImode. Only SSE register source operand is allowed. PR target/89021 * config/i386/mmx.md (mmx_pmovmskb): Changed to define_insn_and_split to support SSE emulation. --- gcc/config/i3