spu.opt 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. ; Options for the SPU port of the compiler
  2. ; Copyright (C) 2006-2015 Free Software Foundation, Inc.
  3. ; This file is free software; you can redistribute it and/or modify it under
  4. ; the terms of the GNU General Public License as published by the Free
  5. ; Software Foundation; either version 3 of the License, or (at your option)
  6. ; any later version.
  7. ; This file is distributed in the hope that it will be useful, but WITHOUT
  8. ; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  10. ; for more details.
  11. ;
  12. ; You should have received a copy of the GNU General Public License
  13. ; along with GCC; see the file COPYING3. If not see
  14. ; <http://www.gnu.org/licenses/>.
  15. mwarn-reloc
  16. Target Report Mask(WARN_RELOC)
  17. Emit warnings when run-time relocations are generated
  18. merror-reloc
  19. Target Report Mask(ERROR_RELOC)
  20. Emit errors when run-time relocations are generated
  21. mbranch-cost=
  22. Target RejectNegative Joined UInteger Var(spu_branch_cost) Init(20)
  23. Specify cost of branches (Default 20)
  24. msafe-dma
  25. Target Report RejectNegative Mask(SAFE_DMA)
  26. Make sure loads and stores are not moved past DMA instructions
  27. munsafe-dma
  28. Target Report RejectNegative InverseMask(SAFE_DMA)
  29. volatile must be specified on any memory that is effected by DMA
  30. mdual-nops
  31. Target Report Var(spu_dual_nops,10) Init(10)
  32. Insert nops when it might improve performance by allowing dual issue (default)
  33. mdual-nops=
  34. Target RejectNegative Joined UInteger Var(spu_dual_nops)
  35. Insert nops when it might improve performance by allowing dual issue (default)
  36. mstdmain
  37. Target Report Mask(STD_MAIN)
  38. Use standard main function as entry for startup
  39. mbranch-hints
  40. Target Report Mask(BRANCH_HINTS)
  41. Generate branch hints for branches
  42. mhint-max-nops=
  43. Target RejectNegative Joined UInteger Var(spu_max_nops) Init(2)
  44. Maximum number of nops to insert for a hint (Default 2)
  45. mhint-max-distance=
  46. Target RejectNegative Joined Var(spu_max_distance_str)
  47. Approximate maximum number of instructions to allow between a hint and its branch [125]
  48. msmall-mem
  49. Target Report RejectNegative InverseMask(LARGE_MEM)
  50. Generate code for 18 bit addressing
  51. mlarge-mem
  52. Target Report RejectNegative Mask(LARGE_MEM)
  53. Generate code for 32 bit addressing
  54. mfixed-range=
  55. Target RejectNegative Joined Var(spu_fixed_range_string)
  56. Specify range of registers to make fixed
  57. msafe-hints
  58. Target Report Mask(SAFE_HINTS)
  59. Insert hbrp instructions after hinted branch targets to avoid the SPU hang issue
  60. march=
  61. Target RejectNegative Joined Var(spu_arch_string)
  62. Generate code for given CPU
  63. mtune=
  64. Target RejectNegative Joined Var(spu_tune_string)
  65. Schedule code for given CPU
  66. mea32
  67. Target Report RejectNegative Var(spu_ea_model,32) Init(32)
  68. Access variables in 32-bit PPU objects (default)
  69. mea64
  70. Target Report RejectNegative Var(spu_ea_model,64)
  71. Access variables in 64-bit PPU objects
  72. maddress-space-conversion
  73. Target Report Mask(ADDRESS_SPACE_CONVERSION)
  74. Allow conversions between __ea and generic pointers (default)
  75. mcache-size=
  76. Target Report RejectNegative Joined UInteger
  77. Size (in KB) of software data cache
  78. matomic-updates
  79. Target Report
  80. Atomically write back software data cache lines (default)