Commit f483c6ae by Uros Bizjak Committed by Uros Bizjak

i386.c (ix86_decompose_address): Use simplify_subreg instead of simplify_gen_subreg.

	* config/i386/i386.c (ix86_decompose_address): Use simplify_subreg
	instead of simplify_gen_subreg.

From-SVN: r192910
parent 1f41ed06
2012-10-29 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_decompose_address): Use simplify_gen_subreg
to generate SImode equivalent of address, zero-extended with AND RTX.
* config/i386/i386.c (ix86_decompose_address): Use simplify_subreg
to check SImode equivalent of address, zero-extended with AND RTX.
* config/i386/i386.md (ashift to lea splitter): Split to SImode mult.
(simple lea to add/shift peephole2s): Remove peephole2s that operate
on subregs of DImode operations.
......@@ -11822,7 +11822,7 @@ ix86_decompose_address (rtx addr, struct ix86_address *out)
}
else if (GET_MODE (addr) == DImode)
{
addr = simplify_gen_subreg (SImode, addr, DImode, 0);
addr = simplify_subreg (SImode, addr, DImode, 0);
if (addr == NULL_RTX)
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