diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-06-06 14:37:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-12 23:34:24 +0100 |
commit | 1aca0b8af6382fd2d43937382e70412697cccfef (patch) | |
tree | 4e3ee09e97c3d388cb492e1dd9d862b43309ec9a /meta | |
parent | 12094ce1bf44b25b6bb631735f4e3d96a66a234b (diff) | |
download | poky-1aca0b8af6382fd2d43937382e70412697cccfef.tar.gz |
gcc-8: Enabled mspe options for rs6000 ppc backend
(From OE-Core rev: 4677ed76205c8b8d7ac542b442d5bab8fd52539c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-8.1.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-8.1/0040-Re-introduce-spe-commandline-options.patch | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-8.1.inc b/meta/recipes-devtools/gcc/gcc-8.1.inc index 2b176ac98d..cb0fbd9379 100644 --- a/meta/recipes-devtools/gcc/gcc-8.1.inc +++ b/meta/recipes-devtools/gcc/gcc-8.1.inc | |||
@@ -70,6 +70,7 @@ SRC_URI = "\ | |||
70 | file://0037-sync-gcc-stddef.h-with-musl.patch \ | 70 | file://0037-sync-gcc-stddef.h-with-musl.patch \ |
71 | file://0038-fix-segmentation-fault-in-precompiled-header-generat.patch \ | 71 | file://0038-fix-segmentation-fault-in-precompiled-header-generat.patch \ |
72 | file://0039-Fix-for-testsuite-failure.patch \ | 72 | file://0039-Fix-for-testsuite-failure.patch \ |
73 | file://0040-Re-introduce-spe-commandline-options.patch \ | ||
73 | ${BACKPORTS} \ | 74 | ${BACKPORTS} \ |
74 | " | 75 | " |
75 | BACKPORTS = "\ | 76 | BACKPORTS = "\ |
diff --git a/meta/recipes-devtools/gcc/gcc-8.1/0040-Re-introduce-spe-commandline-options.patch b/meta/recipes-devtools/gcc/gcc-8.1/0040-Re-introduce-spe-commandline-options.patch new file mode 100644 index 0000000000..8afa0102da --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-8.1/0040-Re-introduce-spe-commandline-options.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From 8fb8f773e117ee70be00bb0da5f343fe110da5c4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 6 Jun 2018 12:10:22 -0700 | ||
4 | Subject: [PATCH 40/40] Re-introduce spe commandline options | ||
5 | |||
6 | This should ensure that we keep accepting | ||
7 | spe options | ||
8 | |||
9 | Upstream-Status: Inappropriate [SPE port is removed from rs600 port] | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | gcc/config/rs6000/rs6000.opt | 12 ++++++++++++ | ||
14 | 1 file changed, 12 insertions(+) | ||
15 | |||
16 | diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt | ||
17 | index ace8a477550..d6a8f825d88 100644 | ||
18 | --- a/gcc/config/rs6000/rs6000.opt | ||
19 | +++ b/gcc/config/rs6000/rs6000.opt | ||
20 | @@ -365,6 +365,18 @@ mdebug= | ||
21 | Target RejectNegative Joined | ||
22 | -mdebug= Enable debug output. | ||
23 | |||
24 | +mspe | ||
25 | +Target Var(rs6000_spe) Save | ||
26 | +Generate SPE SIMD instructions on E500. | ||
27 | + | ||
28 | +mabi=spe | ||
29 | +Target RejectNegative Var(rs6000_spe_abi) Save | ||
30 | +Use the SPE ABI extensions. | ||
31 | + | ||
32 | +mabi=no-spe | ||
33 | +Target RejectNegative Var(rs6000_spe_abi, 0) | ||
34 | +Do not use the SPE ABI extensions. | ||
35 | + | ||
36 | mabi=altivec | ||
37 | Target RejectNegative Var(rs6000_altivec_abi) Save | ||
38 | Use the AltiVec ABI extensions. | ||
39 | -- | ||
40 | 2.17.1 | ||
41 | |||