cpunode.pas 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. $Id$
  3. Copyright (c) 2000 by Florian Klaempfl
  4. Includes the PowerPC code generator
  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 cpunode;
  19. {$i defines.inc}
  20. interface
  21. implementation
  22. uses
  23. // nppcadd,
  24. // nppccal,
  25. // nppccon,
  26. // nppcflw,
  27. nppcmat,
  28. // nppcmem,
  29. // nppcset,
  30. // nppcinl,
  31. // nppcopt,
  32. { this not really a node }
  33. // nppcobj,
  34. { generic nodes }
  35. ncgbas,ncgld,ncgflw,ncgcnv,ncgmem,ncgcon
  36. ;
  37. end.
  38. {
  39. $Log$
  40. Revision 1.2 2002-05-13 19:52:46 peter
  41. * a ppcppc can be build again
  42. Revision 1.1 2002/04/06 18:13:02 jonas
  43. * several powerpc-related additions and fixes
  44. Revision 1.6 2001/09/29 21:32:47 jonas
  45. * almost all second pass typeconvnode helpers are now processor independent
  46. * fixed converting boolean to int64/qword
  47. * fixed register allocation bugs which could cause internalerror 10
  48. * isnode and asnode are completely processor indepent now as well
  49. * fpc_do_as now returns its class argument (necessary to be able to use it
  50. properly with compilerproc)
  51. Revision 1.5 2001/09/28 20:39:33 jonas
  52. * changed all flow control structures (except for exception handling
  53. related things) to processor independent code (in new ncgflw unit)
  54. + generic cgobj unit which contains lots of code generator helpers with
  55. global "cg" class instance variable
  56. + cgcpu unit for i386 (implements processor specific routines of the above
  57. unit)
  58. * updated cgbase and cpubase for the new code generator units
  59. * include ncgflw unit in cpunode unit
  60. Revision 1.4 2001/05/18 22:31:06 peter
  61. * tasmnode.pass_2 is independent of cpu, moved to ncgbas
  62. * include ncgbas for independent nodes
  63. Revision 1.3 2001/04/21 13:37:17 peter
  64. * made tclassheader using class of to implement cpu dependent code
  65. Revision 1.2 2000/12/31 11:14:11 jonas
  66. + implemented/fixed docompare() mathods for all nodes (not tested)
  67. + nopt.pas, nadd.pas, i386/n386opt.pas: optimized nodes for adding strings
  68. and constant strings/chars together
  69. * n386add.pas: don't copy temp strings (of size 256) to another temp string
  70. when adding
  71. Revision 1.1 2000/10/15 09:39:37 peter
  72. * moved cpu*.pas to i386/
  73. * renamed n386 to common cpunode
  74. Revision 1.1 2000/10/14 10:14:47 peter
  75. * moehrendorf oct 2000 rewrite
  76. }