aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2014-06-20 19:42:22 +0000
committerMaciej W. Rozycki <macro@gcc.gnu.org>2014-06-20 19:42:22 +0000
commit96740472601a6a0c8d14343f2806c019162f8734 (patch)
treed79bc8e31cb5c1f63fdd85cd9e4847c84a211183 /gcc
parentcaa40bc0fce7db55c6c24b8541be490330aa1ca0 (diff)
downloadgcc-96740472601a6a0c8d14343f2806c019162f8734.zip
gcc-96740472601a6a0c8d14343f2806c019162f8734.tar.gz
gcc-96740472601a6a0c8d14343f2806c019162f8734.tar.bz2
rs6000.md: Append `DONE' to preparation statements of `bswap' pattern splitters.
* config/rs6000/rs6000.md: Append `DONE' to preparation statements of `bswap' pattern splitters. From-SVN: r211857
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.md6
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3141ec9..7d5a064 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * config/rs6000/rs6000.md: Append `DONE' to preparation
+ statements of `bswap' pattern splitters.
+
2014-06-20 Tom de Vries <tom@codesourcery.com>
* target.def (call_fusage_contains_non_callee_clobbers): Update
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index c6e85b3..6f499a5 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -2475,6 +2475,7 @@
emit_insn (gen_bswapsi2 (op4_32, word_high));
emit_insn (gen_ashldi3 (dest, op3, GEN_INT (32)));
emit_insn (gen_iordi3 (dest, dest, op4));
+ DONE;
}")
(define_split
@@ -2536,6 +2537,7 @@
}
emit_insn (gen_bswapsi2 (word_high, src_si));
emit_insn (gen_bswapsi2 (word_low, op3_si));
+ DONE;
}")
(define_split
@@ -2563,6 +2565,7 @@
emit_insn (gen_bswapsi2 (op3_si, op2_si));
emit_insn (gen_ashldi3 (dest, dest, GEN_INT (32)));
emit_insn (gen_iordi3 (dest, dest, op3));
+ DONE;
}")
(define_insn "bswapdi2_32bit"
@@ -2619,6 +2622,7 @@
emit_insn (gen_bswapsi2 (dest2, word1));
emit_insn (gen_bswapsi2 (dest1, word2));
+ DONE;
}")
(define_split
@@ -2667,6 +2671,7 @@
emit_insn (gen_bswapsi2 (word2, src1));
emit_insn (gen_bswapsi2 (word1, src2));
+ DONE;
}")
(define_split
@@ -2686,6 +2691,7 @@
emit_insn (gen_bswapsi2 (dest1, src2));
emit_insn (gen_bswapsi2 (dest2, src1));
+ DONE;
}")
(define_insn "mulsi3"