]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* Revert my last commit.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2012 11:08:42 +0000 (11:08 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2012 11:08:42 +0000 (11:08 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192932 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c5f749e5195fce71c91ba784dd293879791150a5..280e29a8529de6ffee1069fb07e046b47f63f012 100644 (file)
@@ -1,6 +1,6 @@
 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
index f766cf0c29d5359839d0069466cbd6b4694f286f..2931e62bed9e8ae5b64f6f0d7e5a16887bcb850b 100644 (file)
@@ -11822,7 +11822,7 @@ ix86_decompose_address (rtx addr, struct ix86_address *out)
            }
          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;
            }