cpunode.pas 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. $Id$
  3. Copyright (c) 2000 by Florian Klaempfl
  4. Includes the i386 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. ncgbas,ncgflw,
  24. n386ld,n386add,n386cal,n386con,n386flw,n386mat,n386mem,
  25. n386set,n386inl,n386opt,
  26. { this not really a node }
  27. n386obj;
  28. end.
  29. {
  30. $Log$
  31. Revision 1.5 2001-09-28 20:39:33 jonas
  32. * changed all flow control structures (except for exception handling
  33. related things) to processor independent code (in new ncgflw unit)
  34. + generic cgobj unit which contains lots of code generator helpers with
  35. global "cg" class instance variable
  36. + cgcpu unit for i386 (implements processor specific routines of the above
  37. unit)
  38. * updated cgbase and cpubase for the new code generator units
  39. * include ncgflw unit in cpunode unit
  40. Revision 1.4 2001/05/18 22:31:06 peter
  41. * tasmnode.pass_2 is independent of cpu, moved to ncgbas
  42. * include ncgbas for independent nodes
  43. Revision 1.3 2001/04/21 13:37:17 peter
  44. * made tclassheader using class of to implement cpu dependent code
  45. Revision 1.2 2000/12/31 11:14:11 jonas
  46. + implemented/fixed docompare() mathods for all nodes (not tested)
  47. + nopt.pas, nadd.pas, i386/n386opt.pas: optimized nodes for adding strings
  48. and constant strings/chars together
  49. * n386add.pas: don't copy temp strings (of size 256) to another temp string
  50. when adding
  51. Revision 1.1 2000/10/15 09:39:37 peter
  52. * moved cpu*.pas to i386/
  53. * renamed n386 to common cpunode
  54. Revision 1.1 2000/10/14 10:14:47 peter
  55. * moehrendorf oct 2000 rewrite
  56. }