summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.2.3/arm-crunch-and-or.patch
blob: 24357d316eabcf37de0fccfbdd540b08922fba53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
--- gcc-4.1.2/gcc/config/arm/arm.md-original	2007-06-13 17:16:38.000000000 +1000
+++ gcc-4.1.2/gcc/config/arm/arm.md	2007-06-13 17:35:19.000000000 +1000
@@ -8455,7 +8455,7 @@
 	(and:SI (match_operator:SI 1 "arm_comparison_operator"
 		 [(match_operand 3 "cc_register" "") (const_int 0)])
 		(match_operand:SI 2 "s_register_operand" "r")))]
-  "TARGET_ARM"
+  "TARGET_ARM && !TARGET_MAVERICK"
   "mov%D1\\t%0, #0\;and%d1\\t%0, %2, #1"
   [(set_attr "conds" "use")
    (set_attr "length" "8")]
@@ -8466,7 +8466,7 @@
 	(ior:SI (match_operator:SI 2 "arm_comparison_operator"
 		 [(match_operand 3 "cc_register" "") (const_int 0)])
 		(match_operand:SI 1 "s_register_operand" "0,?r")))]
-  "TARGET_ARM"
+  "TARGET_ARM && !TARGET_MAVERICK"
   "@
    orr%d2\\t%0, %1, #1
    mov%D2\\t%0, %1\;orr%d2\\t%0, %1, #1"
@@ -8734,7 +8734,8 @@
    (clobber (reg:CC CC_REGNUM))]
   "TARGET_ARM
    && (arm_select_dominance_cc_mode (operands[3], operands[6], DOM_CC_X_OR_Y)
-       != CCmode)"
+       != CCmode)
+   && !TARGET_MAVERICK"
   "#"
   "TARGET_ARM && reload_completed"
   [(set (match_dup 7)
@@ -8765,7 +8766,7 @@
    (set (match_operand:SI 7 "s_register_operand" "=r")
 	(ior:SI (match_op_dup 3 [(match_dup 1) (match_dup 2)])
 		(match_op_dup 6 [(match_dup 4) (match_dup 5)])))]
-  "TARGET_ARM"
+  "TARGET_ARM && !TARGET_MAVERICK"
   "#"
   "TARGET_ARM && reload_completed"
   [(set (match_dup 0)
@@ -8790,7 +8791,8 @@
    (clobber (reg:CC CC_REGNUM))]
   "TARGET_ARM
    && (arm_select_dominance_cc_mode (operands[3], operands[6], DOM_CC_X_AND_Y)
-       != CCmode)"
+       != CCmode)
+   && !TARGET_MAVERICK"
   "#"
   "TARGET_ARM && reload_completed
    && (arm_select_dominance_cc_mode (operands[3], operands[6], DOM_CC_X_AND_Y)
@@ -8823,7 +8825,7 @@
    (set (match_operand:SI 7 "s_register_operand" "=r")
 	(and:SI (match_op_dup 3 [(match_dup 1) (match_dup 2)])
 		(match_op_dup 6 [(match_dup 4) (match_dup 5)])))]
-  "TARGET_ARM"
+  "TARGET_ARM && !TARGET_MAVERICK"
   "#"
   "TARGET_ARM && reload_completed"
   [(set (match_dup 0)
@@ -8850,7 +8852,7 @@
 		 [(match_operand:SI 4 "s_register_operand" "r,r,r")
 		  (match_operand:SI 5 "arm_add_operand" "rIL,rIL,rIL")])))
    (clobber (reg:CC CC_REGNUM))]
-  "TARGET_ARM
+  "TARGET_ARM && !TARGET_MAVERICK
    && (arm_select_dominance_cc_mode (operands[3], operands[6], DOM_CC_X_AND_Y)
        == CCmode)"
   "#"