OSDN Git Service

PR target/41514
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Apr 2010 09:42:32 +0000 (09:42 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:32:59 +0000 (14:32 +0900)
* config/arm/arm.md (cbranchsi4_insn): Renamed from "*cbranchsi4_insn".
If the previous insn is a cbranchsi4_insn with the same arguments,
omit the compare instruction.

PR target/41514
gcc.target/arm/thumb-comparisons.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158404 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/testsuite/ChangeLog

index afa3494..0b8998c 100644 (file)
@@ -8,6 +8,11 @@
        * reload.c (find_reloads): Use it rather than testing for an
        empty constraint string.
 
        * reload.c (find_reloads): Use it rather than testing for an
        empty constraint string.
 
+       PR target/41514
+       * config/arm/arm.md (cbranchsi4_insn): Renamed from "*cbranchsi4_insn".
+       If the previous insn is a cbranchsi4_insn with the same arguments,
+       omit the compare instruction.
+
 2010-04-16  Jakub Jelinek  <jakub@redhat.com>
 
        * alias.c (memrefs_conflict_p): If x and y are the same VALUE,
 2010-04-16  Jakub Jelinek  <jakub@redhat.com>
 
        * alias.c (memrefs_conflict_p): If x and y are the same VALUE,
index e03e550..4296e6d 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-16  Bernd Schmidt  <bernd.schmidt@codesourcery.com>
+
+       PR target/41514
+       gcc.target/arm/thumb-comparisons.c: New test.
+
 2010-04-16  Christian Bruel  <christian.bruel@st.com>
 
        * g++.dg/torture/pr36191.C: Enable for SH.
 2010-04-16  Christian Bruel  <christian.bruel@st.com>
 
        * g++.dg/torture/pr36191.C: Enable for SH.