summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.2.3/arm-crunch-neg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-4.2.3/arm-crunch-neg.patch')
-rw-r--r--meta/packages/gcc/gcc-4.2.3/arm-crunch-neg.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.2.3/arm-crunch-neg.patch b/meta/packages/gcc/gcc-4.2.3/arm-crunch-neg.patch
new file mode 100644
index 0000000000..f14ae0190e
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.2.3/arm-crunch-neg.patch
@@ -0,0 +1,30 @@
1WARNING: adding this patch causes copysign1.c and mzero3.c to fail...
2diff -urN gcc-4.1.2/gcc/config/arm/arm.md-original gcc-4.1.2/gcc/config/arm/arm.md
3--- gcc-4.1.2/gcc/config/arm/arm.md-original 2007-06-12 12:48:14.000000000 +1000
4+++ gcc-4.1.2/gcc/config/arm/arm.md 2007-06-12 12:49:53.000000000 +1000
5@@ -2985,14 +2985,14 @@
6 (define_expand "negsf2"
7 [(set (match_operand:SF 0 "s_register_operand" "")
8 (neg:SF (match_operand:SF 1 "s_register_operand" "")))]
9- "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP)"
10+ "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP || TARGET_MAVERICK)"
11 ""
12 )
13
14 (define_expand "negdf2"
15 [(set (match_operand:DF 0 "s_register_operand" "")
16 (neg:DF (match_operand:DF 1 "s_register_operand" "")))]
17- "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP)"
18+ "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP || TARGET_MAVERICK)"
19 "")
20
21 ;; abssi2 doesn't really clobber the condition codes if a different register
22@@ -4097,7 +4097,7 @@
23 [(set (match_operand:DI 0 "nonimmediate_di_operand" "=r, r, r, r, m")
24 (match_operand:DI 1 "di_operand" "rDa,Db,Dc,mi,r"))]
25 "TARGET_ARM
26- && !(TARGET_HARD_FLOAT && (TARGET_MAVERICK || TARGET_VFP))
27+ && !(TARGET_HARD_FLOAT && (TARGET_MAVERICK || TARGET_VFP || TARGET_MAVERICK))
28 && !TARGET_IWMMXT"
29 "*
30 switch (which_alternative)