i386: Emulate MMX mmx_pmovmskb with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:16:27 +0000 (15:16 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:16:27 +0000 (08:16 -0700)
commit73371f6a702f497479ce50bf81695a5721532307
tree9694087decb3540d80472973453171f7b257c3ee
parent18184fdd765d1a8d98b573cd5f1c11284d965451
i386: Emulate MMX mmx_pmovmskb with SSE

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.

From-SVN: r271232
gcc/ChangeLog
gcc/config/i386/mmx.md