cputarg.pas 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. $Id$
  3. Copyright (c) 2001-2002 by Peter Vreman
  4. Includes the powerpc dependent target units
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. unit cputarg;
  19. {$i fpcdefs.inc}
  20. interface
  21. implementation
  22. uses
  23. systems { prevent a syntax error when nothing is included }
  24. {**************************************
  25. Targets
  26. **************************************}
  27. {$ifndef NOTARGETLINUX}
  28. ,t_linux
  29. {$endif}
  30. {$ifndef NOTARGETMACOS}
  31. ,t_macos
  32. {$endif}
  33. {$ifndef NOTARGETDARWIN}
  34. ,t_bsd
  35. {$endif}
  36. {$ifndef NOTARGETMORPHOS}
  37. ,t_morph
  38. {$endif}
  39. {**************************************
  40. Assemblers
  41. **************************************}
  42. {$ifndef NOAGPPCGAS}
  43. ,agppcgas
  44. {$endif}
  45. {$ifndef NOAGPPPCMPW}
  46. ,agppcmpw
  47. {$endif}
  48. {**************************************
  49. Optimizer
  50. **************************************}
  51. {$ifndef NOOPT}
  52. , aoptcpu
  53. {$endif NOOPT}
  54. ;
  55. end.
  56. {
  57. $Log$
  58. Revision 1.10 2005-02-26 01:27:00 jonas
  59. * fixed generic jumps optimizer and enabled it for ppc (the label table
  60. was not being initialised -> getfinaldestination always failed, which
  61. caused wrong optimizations in some cases)
  62. * changed the inverse_cond into a function, because tasmcond is a record
  63. on ppc
  64. + added a compare_conditions() function for the same reason
  65. Revision 1.9 2005/02/14 17:13:10 peter
  66. * truncate log
  67. }