diff options
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99322.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99322.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99322.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99322.patch deleted file mode 100644 index 6962c1cecf..0000000000 --- a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99322.patch +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | 2007-06-06 Joseph Myers <joseph@codesourcery.com> | ||
2 | |||
3 | gcc/ | ||
4 | * config/arm/arm.h (VALID_IWMMXT_REG_MODE): Allow SImode. | ||
5 | (ARM_LEGITIMIZE_RELOAD_ADDRESS): Reduce range allowed for SImode | ||
6 | offsets with iWMMXt. | ||
7 | * config/arm/arm.c (arm_hard_regno_mode_ok): Update for change to | ||
8 | VALID_IWMMXT_REG_MODE. | ||
9 | |||
10 | 2010-07-26 Julian Brown <julian@codesourcery.com> | ||
11 | |||
12 | Merge from Sourcery G++ 4.4: | ||
13 | |||
14 | 2007-07-05 Mark Shinwell <shinwell@codesourcery.com> | ||
15 | |||
16 | gcc/ | ||
17 | |||
18 | === modified file 'gcc/config/arm/arm.c' | ||
19 | --- old/gcc/config/arm/arm.c 2010-08-05 12:06:40 +0000 | ||
20 | +++ new/gcc/config/arm/arm.c 2010-08-05 14:33:31 +0000 | ||
21 | @@ -16538,7 +16538,7 @@ | ||
22 | return mode == SImode; | ||
23 | |||
24 | if (IS_IWMMXT_REGNUM (regno)) | ||
25 | - return VALID_IWMMXT_REG_MODE (mode); | ||
26 | + return VALID_IWMMXT_REG_MODE (mode) && mode != SImode; | ||
27 | } | ||
28 | |||
29 | /* We allow almost any value to be stored in the general registers. | ||
30 | |||
31 | === modified file 'gcc/config/arm/arm.h' | ||
32 | --- old/gcc/config/arm/arm.h 2010-08-05 14:29:52 +0000 | ||
33 | +++ new/gcc/config/arm/arm.h 2010-08-05 14:33:31 +0000 | ||
34 | @@ -1077,7 +1077,7 @@ | ||
35 | (GET_MODE_CLASS (MODE1) == GET_MODE_CLASS (MODE2)) | ||
36 | |||
37 | #define VALID_IWMMXT_REG_MODE(MODE) \ | ||
38 | - (arm_vector_mode_supported_p (MODE) || (MODE) == DImode) | ||
39 | + (arm_vector_mode_supported_p (MODE) || (MODE) == DImode || (MODE) == SImode) | ||
40 | |||
41 | /* Modes valid for Neon D registers. */ | ||
42 | #define VALID_NEON_DREG_MODE(MODE) \ | ||
43 | @@ -1364,6 +1364,9 @@ | ||
44 | else if (TARGET_MAVERICK && TARGET_HARD_FLOAT) \ | ||
45 | /* Need to be careful, -256 is not a valid offset. */ \ | ||
46 | low = val >= 0 ? (val & 0xff) : -((-val) & 0xff); \ | ||
47 | + else if (TARGET_REALLY_IWMMXT && MODE == SImode) \ | ||
48 | + /* Need to be careful, -1024 is not a valid offset. */ \ | ||
49 | + low = val >= 0 ? (val & 0x3ff) : -((-val) & 0x3ff); \ | ||
50 | else if (MODE == SImode \ | ||
51 | || (MODE == SFmode && TARGET_SOFT_FLOAT) \ | ||
52 | || ((MODE == HImode || MODE == QImode) && ! arm_arch4)) \ | ||
53 | |||