backport: re PR target/41665 (Typo in addsi_1_zext?)

2009-10-15  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2009-10-11  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/41665
	* config/i386/i386.md (addsi_1_zext): Get the proper second
	operand for lea.

From-SVN: r152845
This commit is contained in:
H.J. Lu 2009-10-15 14:00:57 +00:00 committed by H.J. Lu
parent 7cd3aebe9a
commit 398b11a4d1
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2009-10-11 H.J. Lu <hongjiu.lu@intel.com>
PR target/41665
* config/i386/i386.md (addsi_1_zext): Get the proper second
operand for lea.
2009-10-15 Jakub Jelinek <jakub@redhat.com>
* BASE-VER: Set to 4.4.3.

View File

@ -6487,7 +6487,7 @@
switch (get_attr_type (insn))
{
case TYPE_LEA:
operands[2] = SET_SRC (XVECEXP (PATTERN (insn), 0, 0));
operands[2] = XEXP (SET_SRC (XVECEXP (PATTERN (insn), 0, 0)), 0);
return "lea{l}\t{%a2, %k0|%k0, %a2}";
case TYPE_INCDEC: