summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/files/gcc.experimental_move.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/gcc/files/gcc.experimental_move.patch')
-rw-r--r--recipes-devtools/gcc/files/gcc.experimental_move.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/recipes-devtools/gcc/files/gcc.experimental_move.patch b/recipes-devtools/gcc/files/gcc.experimental_move.patch
deleted file mode 100644
index b9642ed..0000000
--- a/recipes-devtools/gcc/files/gcc.experimental_move.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1diff -ruN gcc-4.4.0/gcc/config/rs6000/rs6000.c gcc-4.4.0-e500mc64/gcc/config/rs6000/rs6000.c
2--- gcc-4.4.0/gcc/config/rs6000/rs6000.c 2009-03-17 15:18:21.000000000 -0500
3+++ gcc-4.4.0-e500mc64/gcc/config/rs6000/rs6000.c 2009-12-04 10:36:44.000000000 -0600
4@@ -11032,6 +11059,14 @@
5 mode = SImode;
6 gen_func.mov = gen_movsi;
7 }
8+ else if (TARGET_COPY_UNALIGNED && bytes == 3 && offset > 0)
9+ {
10+ /* We generate a single unaligned SI move instead of 2 (HI, QI) */
11+ move_bytes = 3;
12+ mode = SImode;
13+ gen_func.mov = gen_movsi;
14+ offset--;
15+ }
16 else if (bytes >= 2 && (align >= 16 || !STRICT_ALIGNMENT))
17 { /* move 2 bytes */
18 move_bytes = 2;
19diff -ruN gcc-4.4.0/gcc/config/rs6000/rs6000.opt gcc-4.4.0-e500mc64/gcc/config/rs6000/rs6000.opt
20--- gcc-4.4.0/gcc/config/rs6000/rs6000.opt 2009-02-20 09:20:38.000000000 -0600
21+++ gcc-4.4.0-e500mc64/gcc/config/rs6000/rs6000.opt 2009-09-30 13:51:17.000000000 -0500
22@@ -201,6 +201,10 @@
23 Target RejectNegative Joined
24 -misel=yes/no Deprecated option. Use -misel/-mno-isel instead
25
26+mcopy-unaligned
27+Target Report Var(TARGET_COPY_UNALIGNED)
28+Generate unaligned word load and stores to move 3 bytes
29+
30 mspe
31 Target
32 Generate SPE SIMD instructions on E500