Check TARGET_PARTIAL_REG_STALL in imul to lea peepholes.
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 22 Jun 2011 15:29:43 +0000 (15:29 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 22 Jun 2011 15:29:43 +0000 (08:29 -0700)
commit3b4c46d71190ead2f7fdde4d04103f4e838ced68
tree2628566a9ecc6a9553aeb308765b83d66da9f49a
parent4399cf590fbac5aa65ff0e44e8e5dade5741773f
Check TARGET_PARTIAL_REG_STALL in imul to lea peepholes.

2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>

PR target/49497
* config/i386/i386.md (*lea_general_2): Always allow SImode.
(*lea_general_2_zext): Likewise.
(imul to lea peepholes): Use const359_operand and check
TARGET_PARTIAL_REG_STALL.

* config/i386/predicates.md (const359_operand): New.

From-SVN: r175295
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/i386/predicates.md