Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame^] | 1 | From 3fc06241ce37e2e4b3ed21ace28d347eb511448d Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 6 Jun 2018 12:10:22 -0700 |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame^] | 4 | Subject: [PATCH] Re-introduce spe commandline options |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 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 |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame^] | 17 | index f95b8279270..0e52d51409d 100644 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | --- a/gcc/config/rs6000/rs6000.opt |
| 19 | +++ b/gcc/config/rs6000/rs6000.opt |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame^] | 20 | @@ -344,6 +344,18 @@ mdebug= |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 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. |