summaryrefslogtreecommitdiff
path: root/debian/patches/pr61208-revert.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/pr61208-revert.diff')
-rw-r--r--debian/patches/pr61208-revert.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/pr61208-revert.diff b/debian/patches/pr61208-revert.diff
new file mode 100644
index 0000000..dc4d1da
--- /dev/null
+++ b/debian/patches/pr61208-revert.diff
@@ -0,0 +1,21 @@
+# DP: Revert the 4.8 version of the PR target/61208 (ARM) fix.
+
+--- a/src/gcc/config/arm/arm.md
++++ b/src/gcc/config/arm/arm.md
+@@ -7630,13 +7630,12 @@
+
+ (define_insn "*arm_cmpdi_unsigned"
+ [(set (reg:CC_CZ CC_REGNUM)
+- (compare:CC_CZ (match_operand:DI 0 "s_register_operand" "r,r")
+- (match_operand:DI 1 "arm_di_operand" "rDi,rDi")))]
++ (compare:CC_CZ (match_operand:DI 0 "s_register_operand" "r")
++ (match_operand:DI 1 "arm_di_operand" "rDi")))]
+ "TARGET_32BIT"
+ "cmp\\t%R0, %R1\;it eq\;cmpeq\\t%Q0, %Q1"
+ [(set_attr "conds" "set")
+- (set_attr "arch" "a,t2")
+- (set_attr "length" "8,10")]
++ (set_attr "length" "8")]
+ )
+
+ (define_insn "*arm_cmpdi_zero"