i386: Allow SI, DI and TImode pushes from XMM registers
authorUros Bizjak <ubizjak@gmail.com>
Fri, 15 May 2020 14:22:19 +0000 (16:22 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Fri, 15 May 2020 14:22:19 +0000 (16:22 +0200)
commit75514d157e9e28616c6de4e8c2740d8c87b6857d
treedffa5eba21b2aa7cffd7806657ff33b6fc3e8a81
parent271e3da859f92e32e0f3a8779fb6ac0c2a7909c4
i386: Allow SI, DI and TImode pushes from XMM registers

Also change XMM register constraint from "x" to "v" in FP push insns.

gcc/ChangeLog:

2020-05-15  Uroš Bizjak  <ubizjak@gmail.com>

* config/i386/i386.md (SWI48DWI): New mode iterator.
(*push<mode>2): Allow XMM registers.
(*pushdi2_rex64): Ditto.
(*pushsi2_rex64): Ditto.
(*pushsi2): Ditto.
(push XMM reg splitter): New splitter

(*pushdf) Change "x" operand constraint to "v".
(*pushsf_rex64): Ditto.
(*pushsf): Ditto.
gcc/ChangeLog
gcc/config/i386/i386.md