0019-Re-introduce-spe-commandline-options.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From bf0d7c463e1fab62804556099b56319fe94be1eb 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. This should ensure that we keep accepting
  6. spe options
  7. Upstream-Status: Inappropriate [SPE port is removed from rs600 port]
  8. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  9. ---
  10. gcc/config/rs6000/rs6000.opt | 13 +++++++++++++
  11. 1 file changed, 13 insertions(+)
  12. diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt
  13. index 4931d781c4e..3fb87b6f7d5 100644
  14. --- a/gcc/config/rs6000/rs6000.opt
  15. +++ b/gcc/config/rs6000/rs6000.opt
  16. @@ -348,6 +348,19 @@ mdebug=
  17. Target RejectNegative Joined
  18. -mdebug= Enable debug output.
  19. +; PPC SPE ABI
  20. +mspe
  21. +Target Var(rs6000_spe) Save
  22. +Generate SPE SIMD instructions on E500.
  23. +
  24. +mabi=spe
  25. +Target RejectNegative Var(rs6000_spe_abi) Save
  26. +Use the SPE ABI extensions.
  27. +
  28. +mabi=no-spe
  29. +Target RejectNegative Var(rs6000_spe_abi, 0)
  30. +Do not use the SPE ABI extensions.
  31. +
  32. ; Altivec ABI
  33. mabi=altivec
  34. Target RejectNegative Var(rs6000_altivec_abi) Save