summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-02 08:12:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-02 08:12:20 +0200
commit7f44b8c0b404866dd94eab37f60efdcb58112f39 (patch)
tree8e486d664288712811ce35834f80d14bc8d9c1b0 /toolchain
parent4dcb51bde55e8d41988c9ca974af252ee4095408 (diff)
fix a regression between 4.8.2 and 4.8.3 by removing code
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/patches/4.8.3/miscompile.microblaze22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.8.3/miscompile.microblaze b/toolchain/gcc/patches/4.8.3/miscompile.microblaze
new file mode 100644
index 000000000..d575054aa
--- /dev/null
+++ b/toolchain/gcc/patches/4.8.3/miscompile.microblaze
@@ -0,0 +1,22 @@
+diff -Nur gcc-4.8.3.orig/gcc/config/microblaze/microblaze.md gcc-4.8.3/gcc/config/microblaze/microblaze.md
+--- gcc-4.8.3.orig/gcc/config/microblaze/microblaze.md 2014-02-23 19:59:26.000000000 +0100
++++ gcc-4.8.3/gcc/config/microblaze/microblaze.md 2014-05-31 20:39:29.978608468 +0200
+@@ -1119,18 +1119,6 @@
+ }
+ )
+
+-;;Load and store reverse
+-(define_insn "movsi4_rev"
+- [(set (match_operand:SI 0 "reg_or_mem_operand" "=r,Q")
+- (bswap:SI (match_operand:SF 1 "reg_or_mem_operand" "Q,r")))]
+- "TARGET_REORDER"
+- "@
+- lwr\t%0,%y1,r0
+- swr\t%1,%y0,r0"
+- [(set_attr "type" "load,store")
+- (set_attr "mode" "SI")
+- (set_attr "length" "4,4")])
+-
+ ;; 32-bit floating point moves
+
+ (define_expand "movsf"