123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- {
- $Id$
- Copyright (c) 2000-2002 by Florian Klaempfl
- Includes the i386 code generator
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- ****************************************************************************
- }
- unit cpunode;
- {$i fpcdefs.inc}
- interface
- implementation
- uses
- { generic nodes }
- ncgbas,
- ncgld,
- ncgflw,
- ncgcnv,
- ncgmem,
- ncgmat,
- ncgcon,
- ncgcal,
- ncgset,
- ncginl,
- ncgopt,
- { to be able to only parts of the generic code,
- the processor specific nodes must be included
- after the generic one (FK)
- }
- n386add,
- n386cal,
- n386con,
- n386mem,
- n386set,
- n386inl,
- { this not really a node }
- n386obj,
- n386mat,
- n386cnv
- ;
- end.
- {
- $Log$
- Revision 1.19 2003-04-24 11:19:13 florian
- * ncgopt replaces n386opt
- Revision 1.18 2002/08/24 18:35:42 peter
- * i386 uses now the generic exception management from ncgflw
- Revision 1.17 2002/08/23 16:14:49 peter
- * tempgen cleanup
- * tt_noreuse temp type added that will be used in genentrycode
- Revision 1.16 2002/08/18 20:06:29 peter
- * inlining is now also allowed in interface
- * renamed write/load to ppuwrite/ppuload
- * tnode storing in ppu
- * nld,ncon,nbas are already updated for storing in ppu
- Revision 1.15 2002/07/25 18:01:58 carl
- + added generic inline nodes
- Revision 1.14 2002/07/06 20:27:26 carl
- + generic set handling
- Revision 1.13 2002/05/18 13:34:22 peter
- * readded missing revisions
- Revision 1.12 2002/05/16 19:46:50 carl
- + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
- + try to fix temp allocation (still in ifdef)
- + generic constructor calls
- + start of tassembler / tmodulebase class cleanup
- Revision 1.10 2002/05/13 19:54:37 peter
- * removed n386ld and n386util units
- * maybe_save/maybe_restore added instead of the old maybe_push
- Revision 1.9 2002/04/19 15:39:35 peter
- * removed some more routines from cga
- * moved location_force_reg/mem to ncgutil
- * moved arrayconstructnode secondpass to ncgld
- Revision 1.8 2002/03/31 20:26:38 jonas
- + a_loadfpu_* and a_loadmm_* methods in tcg
- * register allocation is now handled by a class and is mostly processor
- independent (+rgobj.pas and i386/rgcpu.pas)
- * temp allocation is now handled by a class (+tgobj.pas, -i386\tgcpu.pas)
- * some small improvements and fixes to the optimizer
- * some register allocation fixes
- * some fpuvaroffset fixes in the unary minus node
- * push/popusedregisters is now called rg.save/restoreusedregisters and
- (for i386) uses temps instead of push/pop's when using -Op3 (that code is
- also better optimizable)
- * fixed and optimized register saving/restoring for new/dispose nodes
- * LOC_FPU locations now also require their "register" field to be set to
- R_ST, not R_ST0 (the latter is used for LOC_CFPUREGISTER locations only)
- - list field removed of the tnode class because it's not used currently
- and can cause hard-to-find bugs
- }
|