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-08 11:11:22 +0100 |
commit | 4677ed76205c8b8d7ac542b442d5bab8fd52539c (patch) | |
tree | 4d194b44cfe218a5293a87634514472bb88842d8 /meta | |
parent | 0685753ed967fb87b0ab4e96fe4d27ebe2e97eb3 (diff) | |
download | openembedded-core-4677ed76205c8b8d7ac542b442d5bab8fd52539c.tar.gz openembedded-core-4677ed76205c8b8d7ac542b442d5bab8fd52539c.tar.bz2 openembedded-core-4677ed76205c8b8d7ac542b442d5bab8fd52539c.zip |
gcc-8: Enabled mspe options for rs6000 ppc backend
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 = "\ file://0037-sync-gcc-stddef.h-with-musl.patch \ file://0038-fix-segmentation-fault-in-precompiled-header-generat.patch \ file://0039-Fix-for-testsuite-failure.patch \ + file://0040-Re-introduce-spe-commandline-options.patch \ ${BACKPORTS} \ " 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 @@ +From 8fb8f773e117ee70be00bb0da5f343fe110da5c4 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Wed, 6 Jun 2018 12:10:22 -0700 +Subject: [PATCH 40/40] Re-introduce spe commandline options + +This should ensure that we keep accepting +spe options + +Upstream-Status: Inappropriate [SPE port is removed from rs600 port] + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + gcc/config/rs6000/rs6000.opt | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt +index ace8a477550..d6a8f825d88 100644 +--- a/gcc/config/rs6000/rs6000.opt ++++ b/gcc/config/rs6000/rs6000.opt +@@ -365,6 +365,18 @@ mdebug= + Target RejectNegative Joined + -mdebug= Enable debug output. + ++mspe ++Target Var(rs6000_spe) Save ++Generate SPE SIMD instructions on E500. ++ ++mabi=spe ++Target RejectNegative Var(rs6000_spe_abi) Save ++Use the SPE ABI extensions. ++ ++mabi=no-spe ++Target RejectNegative Var(rs6000_spe_abi, 0) ++Do not use the SPE ABI extensions. ++ + mabi=altivec + Target RejectNegative Var(rs6000_altivec_abi) Save + Use the AltiVec ABI extensions. +-- +2.17.1 + |