home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gcc-2.7.2.1-base.tgz / gcc-2.7.2.1-base.tar / fsf / gcc / config / mips / iris4loser.h < prev    next >
C/C++ Source or Header  |  1994-03-07  |  1KB  |  42 lines

  1. /* Like iris4.h, but always inhibits assembler optimization for MIPS as.
  2.    Use this via mips-sgi-iris4loser if you need it.  */
  3.  
  4. #include "mips/iris4.h"
  5.  
  6. #undef ASM_SPEC
  7. #if ((TARGET_CPU_DEFAULT | TARGET_DEFAULT) & MASK_GAS) != 0
  8. /* GAS */
  9. #define ASM_SPEC "\
  10. %{noasmopt:-O0} \
  11. %{!noasmopt:%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3}} \
  12. %{mmips-as: \
  13.     %{!.s:-nocpp} %{.s: %{cpp} %{nocpp}} \
  14.     -O0 \
  15.     %{pipe: %e-pipe is not supported.} \
  16.     %{K}} \
  17. %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{v} \
  18. %{g} %{g0} %{g1} %{g2} %{g3} \
  19. %{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
  20. %{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
  21. %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \
  22. %{gcoff:-g} %{gcoff0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3}"
  23.  
  24. #else
  25. /* not GAS */
  26. #define ASM_SPEC "\
  27. %{noasmopt:-O0} \
  28. %{!noasmopt:%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3}} \
  29. %{!mgas: \
  30.     %{!.s:-nocpp} %{.s: %{cpp} %{nocpp}} \
  31.     -O0 \
  32.     %{pipe: %e-pipe is not supported.} \
  33.     %{K}} \
  34. %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{v} \
  35. %{g} %{g0} %{g1} %{g2} %{g3} \
  36. %{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
  37. %{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
  38. %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \
  39. %{gcoff:-g} %{gcoff0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3}"
  40.  
  41. #endif
  42.