summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.2.3/arm-crunch-scc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-4.2.3/arm-crunch-scc.patch')
-rw-r--r--meta/packages/gcc/gcc-4.2.3/arm-crunch-scc.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.2.3/arm-crunch-scc.patch b/meta/packages/gcc/gcc-4.2.3/arm-crunch-scc.patch
new file mode 100644
index 0000000000..d1330f2543
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.2.3/arm-crunch-scc.patch
@@ -0,0 +1,38 @@
1--- gcc-4.1.2/gcc/config/arm/arm.md-original 2007-06-13 12:38:06.000000000 +1000
2+++ gcc-4.1.2/gcc/config/arm/arm.md 2007-06-13 12:40:07.000000000 +1000
3@@ -7375,7 +7375,7 @@
4 (define_expand "sge"
5 [(set (match_operand:SI 0 "s_register_operand" "")
6 (ge:SI (match_dup 1) (const_int 0)))]
7- "TARGET_ARM && !(TARGET_HARD_FLOAT && TARGET_MAVERICK)"
8+ "TARGET_ARM"
9 "operands[1] = arm_gen_compare_reg (GE, arm_compare_op0, arm_compare_op1);"
10 )
11
12@@ -7434,7 +7434,7 @@
13 (define_expand "sunordered"
14 [(set (match_operand:SI 0 "s_register_operand" "")
15 (unordered:SI (match_dup 1) (const_int 0)))]
16- "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP)"
17+ "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP || TARGET_MAVERICK)"
18 "operands[1] = arm_gen_compare_reg (UNORDERED, arm_compare_op0,
19 arm_compare_op1);"
20 )
21@@ -7442,7 +7442,7 @@
22 (define_expand "sordered"
23 [(set (match_operand:SI 0 "s_register_operand" "")
24 (ordered:SI (match_dup 1) (const_int 0)))]
25- "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP)"
26+ "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP || TARGET_MAVERICK)"
27 "operands[1] = arm_gen_compare_reg (ORDERED, arm_compare_op0,
28 arm_compare_op1);"
29 )
30@@ -7467,7 +7467,7 @@
31 (define_expand "sunlt"
32 [(set (match_operand:SI 0 "s_register_operand" "")
33 (unlt:SI (match_dup 1) (const_int 0)))]
34- "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP)"
35+ "TARGET_ARM && TARGET_HARD_FLOAT && (TARGET_FPA || TARGET_VFP || TARGET_MAVERICK)"
36 "operands[1] = arm_gen_compare_reg (UNLT, arm_compare_op0,
37 arm_compare_op1);"
38 )