rgcpu.pas 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Florian Klaempfl
  4. This unit implements the register allocator for m68k
  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. {$i fpcdefs.inc}
  19. unit rgcpu;
  20. {$i fpcdefs.inc}
  21. interface
  22. uses
  23. aasmbase,aasmtai,
  24. cpubase,
  25. rgobj;
  26. type
  27. trgcpu = class(trgobj)
  28. end;
  29. implementation
  30. end.
  31. {
  32. $Log$
  33. Revision 1.10 2004-01-30 12:17:18 florian
  34. * fixed some m68k compilation problems
  35. Revision 1.9 2003/04/23 13:40:33 peter
  36. * fix m68k compile
  37. Revision 1.8 2003/04/22 10:09:35 daniel
  38. + Implemented the actual register allocator
  39. + Scratch registers unavailable when new register allocator used
  40. + maybe_save/maybe_restore unavailable when new register allocator used
  41. Revision 1.7 2003/02/19 22:00:16 daniel
  42. * Code generator converted to new register notation
  43. - Horribily outdated todo.txt removed
  44. Revision 1.6 2003/02/02 19:25:54 carl
  45. * Several bugfixes for m68k target (register alloc., opcode emission)
  46. + VIS target
  47. + Generic add more complete (still not verified)
  48. Revision 1.5 2003/01/08 18:43:57 daniel
  49. * Tregister changed into a record
  50. Revision 1.4 2002/09/07 15:25:14 peter
  51. * old logs removed and tabs fixed
  52. Revision 1.3 2002/08/23 16:14:50 peter
  53. * tempgen cleanup
  54. * tt_noreuse temp type added that will be used in genentrycode
  55. Revision 1.2 2002/08/12 15:08:44 carl
  56. + stab register indexes for powerpc (moved from gdb to cpubase)
  57. + tprocessor enumeration moved to cpuinfo
  58. + linker in target_info is now a class
  59. * many many updates for m68k (will soon start to compile)
  60. - removed some ifdef or correct them for correct cpu
  61. Revision 1.1 2002/08/05 17:26:09 carl
  62. + updated m68k
  63. }