cpunode.pas 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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 fpcdefs.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.4 2002-05-16 19:46:53 carl
  41. + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
  42. + try to fix temp allocation (still in ifdef)
  43. + generic constructor calls
  44. + start of tassembler / tmodulebase class cleanup
  45. Revision 1.2 2002/05/13 19:52:46 peter
  46. * a ppcppc can be build again
  47. Revision 1.1 2002/04/06 18:13:02 jonas
  48. * several powerpc-related additions and fixes
  49. Revision 1.6 2001/09/29 21:32:47 jonas
  50. * almost all second pass typeconvnode helpers are now processor independent
  51. * fixed converting boolean to int64/qword
  52. * fixed register allocation bugs which could cause internalerror 10
  53. * isnode and asnode are completely processor indepent now as well
  54. * fpc_do_as now returns its class argument (necessary to be able to use it
  55. properly with compilerproc)
  56. Revision 1.5 2001/09/28 20:39:33 jonas
  57. * changed all flow control structures (except for exception handling
  58. related things) to processor independent code (in new ncgflw unit)
  59. + generic cgobj unit which contains lots of code generator helpers with
  60. global "cg" class instance variable
  61. + cgcpu unit for i386 (implements processor specific routines of the above
  62. unit)
  63. * updated cgbase and cpubase for the new code generator units
  64. * include ncgflw unit in cpunode unit
  65. Revision 1.4 2001/05/18 22:31:06 peter
  66. * tasmnode.pass_2 is independent of cpu, moved to ncgbas
  67. * include ncgbas for independent nodes
  68. Revision 1.3 2001/04/21 13:37:17 peter
  69. * made tclassheader using class of to implement cpu dependent code
  70. Revision 1.2 2000/12/31 11:14:11 jonas
  71. + implemented/fixed docompare() mathods for all nodes (not tested)
  72. + nopt.pas, nadd.pas, i386/n386opt.pas: optimized nodes for adding strings
  73. and constant strings/chars together
  74. * n386add.pas: don't copy temp strings (of size 256) to another temp string
  75. when adding
  76. Revision 1.1 2000/10/15 09:39:37 peter
  77. * moved cpu*.pas to i386/
  78. * renamed n386 to common cpunode
  79. Revision 1.1 2000/10/14 10:14:47 peter
  80. * moehrendorf oct 2000 rewrite
  81. }