OSDN Git Service

Check TARGET_PARTIAL_REG_STALL in imul to lea peepholes.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jun 2011 15:29:43 +0000 (15:29 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jun 2011 15:29:43 +0000 (15:29 +0000)
commitcd452f147db962482ee1d62b6040b72e793de2bc
tree2628566a9ecc6a9553aeb308765b83d66da9f49a
parent28b2c6a783472b0bf67190d7da37bbcda4af8686
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175295 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/i386/predicates.md