summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.8.3
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/patches/4.8.3')
-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"