diff options
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106863.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106863.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106863.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106863.patch deleted file mode 100644 index e93493f17f..0000000000 --- a/toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106863.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | 2012-01-16 Michael Hope <michael.hope@linaro.org> | ||
2 | |||
3 | Backport from mainline r182561: | ||
4 | |||
5 | 2011-12-20 Richard Henderson <rth@redhat.com> | ||
6 | |||
7 | gcc/ | ||
8 | * config/arm/arm.md (*arm_cmpdi_unsigned): Enable for thumb2. | ||
9 | * config/arm/arm.c (arm_select_cc_mode): Use it. | ||
10 | |||
11 | === modified file 'gcc/config/arm/arm.c' | ||
12 | --- old/gcc/config/arm/arm.c 2012-01-15 22:02:31 +0000 | ||
13 | +++ new/gcc/config/arm/arm.c 2012-01-23 00:06:27 +0000 | ||
14 | @@ -11602,7 +11602,7 @@ | ||
15 | return CC_Zmode; | ||
16 | |||
17 | /* We can do an equality test in three Thumb instructions. */ | ||
18 | - if (!TARGET_ARM) | ||
19 | + if (!TARGET_32BIT) | ||
20 | return CC_Zmode; | ||
21 | |||
22 | /* FALLTHROUGH */ | ||
23 | @@ -11614,7 +11614,7 @@ | ||
24 | /* DImode unsigned comparisons can be implemented by cmp + | ||
25 | cmpeq without a scratch register. Not worth doing in | ||
26 | Thumb-2. */ | ||
27 | - if (TARGET_ARM) | ||
28 | + if (TARGET_32BIT) | ||
29 | return CC_CZmode; | ||
30 | |||
31 | /* FALLTHROUGH */ | ||
32 | |||
33 | === modified file 'gcc/config/arm/arm.md' | ||
34 | --- old/gcc/config/arm/arm.md 2012-01-05 15:35:39 +0000 | ||
35 | +++ new/gcc/config/arm/arm.md 2012-01-15 21:02:00 +0000 | ||
36 | @@ -7515,8 +7515,8 @@ | ||
37 | [(set (reg:CC_CZ CC_REGNUM) | ||
38 | (compare:CC_CZ (match_operand:DI 0 "s_register_operand" "r") | ||
39 | (match_operand:DI 1 "arm_di_operand" "rDi")))] | ||
40 | - "TARGET_ARM" | ||
41 | - "cmp%?\\t%R0, %R1\;cmpeq\\t%Q0, %Q1" | ||
42 | + "TARGET_32BIT" | ||
43 | + "cmp\\t%R0, %R1\;it eq\;cmpeq\\t%Q0, %Q1" | ||
44 | [(set_attr "conds" "set") | ||
45 | (set_attr "length" "8")] | ||
46 | ) | ||
47 | |||