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