Commit 8d9ef58e by Uros Bizjak Committed by Uros Bizjak

* Revert my last commit.

From-SVN: r192932
parent 5568a736
2012-10-29 Uros Bizjak <ubizjak@gmail.com> 2012-10-29 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_decompose_address): Use simplify_subreg * config/i386/i386.c (ix86_decompose_address): Use simplify_gen_subreg
to check SImode equivalent of address, zero-extended with AND RTX. to check SImode equivalent of address, zero-extended with AND RTX.
* config/i386/i386.md (ashift to lea splitter): Split to SImode mult. * config/i386/i386.md (ashift to lea splitter): Split to SImode mult.
(simple lea to add/shift peephole2s): Remove peephole2s that operate (simple lea to add/shift peephole2s): Remove peephole2s that operate
...@@ -11822,7 +11822,7 @@ ix86_decompose_address (rtx addr, struct ix86_address *out) ...@@ -11822,7 +11822,7 @@ ix86_decompose_address (rtx addr, struct ix86_address *out)
} }
else if (GET_MODE (addr) == DImode) else if (GET_MODE (addr) == DImode)
{ {
addr = simplify_subreg (SImode, addr, DImode, 0); addr = simplify_gen_subreg (SImode, addr, DImode, 0);
if (addr == NULL_RTX) if (addr == NULL_RTX)
return 0; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment