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.
* config/i386/i386.md (ashift to lea splitter): Split to SImode mult.
(simple lea to add/shift peephole2s): Remove peephole2s that operate
}
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)
return 0;
}