Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | From 0b900d6410b7c1938e86eceb87b032fd538566a9 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] 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 | 13 +++++++++++++ |
| 14 | 1 file changed, 13 insertions(+) |
| 15 | |
| 16 | diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt |
| 17 | index 0dbdf753673..b273eb65c35 100644 |
| 18 | --- a/gcc/config/rs6000/rs6000.opt |
| 19 | +++ b/gcc/config/rs6000/rs6000.opt |
| 20 | @@ -352,6 +352,19 @@ mdebug= |
| 21 | Target RejectNegative Joined |
| 22 | -mdebug= Enable debug output. |
| 23 | |
| 24 | +; PPC SPE ABI |
| 25 | +mspe |
| 26 | +Target Var(rs6000_spe) Save |
| 27 | +Generate SPE SIMD instructions on E500. |
| 28 | + |
| 29 | +mabi=spe |
| 30 | +Target RejectNegative Var(rs6000_spe_abi) Save |
| 31 | +Use the SPE ABI extensions. |
| 32 | + |
| 33 | +mabi=no-spe |
| 34 | +Target RejectNegative Var(rs6000_spe_abi, 0) |
| 35 | +Do not use the SPE ABI extensions. |
| 36 | + |
| 37 | ; Altivec ABI |
| 38 | mabi=altivec |
| 39 | Target RejectNegative Var(rs6000_altivec_abi) Save |