i386.c (ix86_decompose_address): Use simplify_subreg instead of simplify_gen_subreg.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 29 Oct 2012 09:08:19 +0000 (10:08 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 29 Oct 2012 09:08:19 +0000 (10:08 +0100)
* config/i386/i386.c (ix86_decompose_address): Use simplify_subreg
instead of simplify_gen_subreg.

From-SVN: r192910

gcc/ChangeLog
gcc/config/i386/i386.c

index 54b596b1f86db8270af3b1085ff8331f603eee67..e1824ad844bb6d4925342c74325e71e46b5ae5f1 100644 (file)
@@ -1,7 +1,7 @@
 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.
index 2931e62bed9e8ae5b64f6f0d7e5a16887bcb850b..f766cf0c29d5359839d0069466cbd6b4694f286f 100644 (file)
@@ -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;
            }