aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-9.0/0038-Re-introduce-spe-commandline-options.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-9.0/0038-Re-introduce-spe-commandline-options.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-9.0/0038-Re-introduce-spe-commandline-options.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-9.0/0038-Re-introduce-spe-commandline-options.patch b/meta/recipes-devtools/gcc/gcc-9.0/0038-Re-introduce-spe-commandline-options.patch
new file mode 100644
index 0000000000..086dc89f16
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-9.0/0038-Re-introduce-spe-commandline-options.patch
@@ -0,0 +1,41 @@
+From 8f2e0a9b4274e4fe14b08c5ceb2943198a6d19f2 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 38/38] 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 794f887bbea..5b0496782b3 100644
+--- a/gcc/config/rs6000/rs6000.opt
++++ b/gcc/config/rs6000/rs6000.opt
+@@ -345,6 +345,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.20.0
+