From f483c6ae0b53c43eda3540c661dac5d67163930b Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 29 Oct 2012 10:08:19 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++-- gcc/config/i386/i386.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54b596b1f86..e1824ad844b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,7 @@ 2012-10-29 Uros Bizjak - * 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. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2931e62bed9..f766cf0c29d 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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; }