cgbase.pas 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Florian Klaempfl
  4. Some basic types and constants for the code generation
  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. {# This unit exports some types which are used across the code generator }
  19. unit cgbase;
  20. {$i fpcdefs.inc}
  21. interface
  22. uses
  23. cpuinfo,
  24. symconst;
  25. type
  26. { Location types where value can be stored }
  27. TCGLoc=(
  28. LOC_INVALID, { added for tracking problems}
  29. LOC_VOID, { no value is available }
  30. LOC_CONSTANT, { constant value }
  31. LOC_JUMP, { boolean results only, jump to false or true label }
  32. LOC_FLAGS, { boolean results only, flags are set }
  33. LOC_CREFERENCE, { in memory constant value reference (cannot change) }
  34. LOC_REFERENCE, { in memory value }
  35. LOC_REGISTER, { in a processor register }
  36. LOC_CREGISTER, { Constant register which shouldn't be modified }
  37. LOC_FPUREGISTER, { FPU stack }
  38. LOC_CFPUREGISTER, { if it is a FPU register variable on the fpu stack }
  39. LOC_MMXREGISTER, { MMX register }
  40. { MMX register variable }
  41. LOC_CMMXREGISTER,
  42. { multimedia register }
  43. LOC_MMREGISTER,
  44. { Constant multimedia reg which shouldn't be modified }
  45. LOC_CMMREGISTER
  46. );
  47. { since we have only 16 offsets, we need to be able to specify the high
  48. and low 16 bits of the address of a symbol }
  49. trefaddr = (addr_no,addr_full,addr_hi,addr_lo);
  50. {# Generic opcodes, which must be supported by all processors
  51. }
  52. topcg =
  53. (
  54. OP_NONE,
  55. OP_ADD, { simple addition }
  56. OP_AND, { simple logical and }
  57. OP_DIV, { simple unsigned division }
  58. OP_IDIV, { simple signed division }
  59. OP_IMUL, { simple signed multiply }
  60. OP_MUL, { simple unsigned multiply }
  61. OP_NEG, { simple negate }
  62. OP_NOT, { simple logical not }
  63. OP_OR, { simple logical or }
  64. OP_SAR, { arithmetic shift-right }
  65. OP_SHL, { logical shift left }
  66. OP_SHR, { logical shift right }
  67. OP_SUB, { simple subtraction }
  68. OP_XOR { simple exclusive or }
  69. );
  70. {# Generic flag values - used for jump locations }
  71. TOpCmp =
  72. (
  73. OC_NONE,
  74. OC_EQ, { equality comparison }
  75. OC_GT, { greater than (signed) }
  76. OC_LT, { less than (signed) }
  77. OC_GTE, { greater or equal than (signed) }
  78. OC_LTE, { less or equal than (signed) }
  79. OC_NE, { not equal }
  80. OC_BE, { less or equal than (unsigned) }
  81. OC_B, { less than (unsigned) }
  82. OC_AE, { greater or equal than (unsigned) }
  83. OC_A { greater than (unsigned) }
  84. );
  85. { OS_NO is also used memory references with large data that can
  86. not be loaded in a register directly }
  87. TCgSize = (OS_NO,
  88. { integer registers }
  89. OS_8,OS_16,OS_32,OS_64,OS_128,OS_S8,OS_S16,OS_S32,OS_S64,OS_S128,
  90. { single,double,extended,comp,float128 }
  91. OS_F32,OS_F64,OS_F80,OS_C64,OS_F128,
  92. { multi-media sizes: split in byte, word, dword, ... }
  93. { entities, then the signed counterparts }
  94. OS_M8,OS_M16,OS_M32,OS_M64,OS_M128,OS_MS8,OS_MS16,OS_MS32,
  95. OS_MS64,OS_MS128);
  96. { Register types }
  97. TRegisterType = (
  98. R_INVALIDREGISTER, { = 0 }
  99. R_INTREGISTER, { = 1 }
  100. R_FPUREGISTER, { = 2 }
  101. { used by Intel only }
  102. R_MMXREGISTER, { = 3 }
  103. R_MMREGISTER, { = 4 }
  104. R_SPECIALREGISTER, { = 5 }
  105. R_ADDRESSREGISTER { = 6 }
  106. );
  107. { Sub registers }
  108. TSubRegister = (
  109. R_SUBNONE, { = 0; no sub register possible }
  110. R_SUBL, { = 1; 8 bits, Like AL }
  111. R_SUBH, { = 2; 8 bits, Like AH }
  112. R_SUBW, { = 3; 16 bits, Like AX }
  113. R_SUBD, { = 4; 32 bits, Like EAX }
  114. R_SUBQ, { = 5; 64 bits, Like RAX }
  115. { For Sparc floats that use F0:F1 to store doubles }
  116. R_SUBFS, { = 6; Float that allocates 1 FPU register }
  117. R_SUBFD { = 7; Float that allocates 2 FPU registers }
  118. );
  119. TSuperRegister = type word;
  120. {
  121. The new register coding:
  122. SuperRegister (bits 0..15)
  123. Subregister (bits 16..23)
  124. Register type (bits 24..31)
  125. TRegister is defined as an enum to make it incompatible
  126. with TSuperRegister to avoid mixing them
  127. }
  128. TRegister = (
  129. TRegisterLowEnum := Low(longint),
  130. TRegisterHighEnum := High(longint)
  131. );
  132. TRegisterRec=packed record
  133. {$ifdef FPC_BIG_ENDIAN}
  134. regtype : Tregistertype;
  135. subreg : Tsubregister;
  136. supreg : Tsuperregister;
  137. {$else FPC_BIG_ENDIAN}
  138. supreg : Tsuperregister;
  139. subreg : Tsubregister;
  140. regtype : Tregistertype;
  141. {$endif FPC_BIG_ENDIAN}
  142. end;
  143. { A type to store register locations for 64 Bit values. }
  144. {$ifdef cpu64bit}
  145. tregister64 = tregister;
  146. {$else cpu64bit}
  147. tregister64 = packed record
  148. reglo,reghi : tregister;
  149. end;
  150. {$endif cpu64bit}
  151. Tregistermmxset = packed record
  152. reg0,reg1,reg2,reg3:Tregister
  153. end;
  154. { Set type definition for registers }
  155. tcpuregisterset = set of byte;
  156. tsuperregisterset = array[byte] of set of byte;
  157. { Temp types }
  158. ttemptype = (tt_none,
  159. tt_free,tt_normal,tt_persistent,
  160. tt_noreuse,tt_freenoreuse);
  161. pmmshuffle = ^tmmshuffle;
  162. { this record describes shuffle operations for mm operations; if a pointer a shuffle record
  163. passed to an mm operation is nil, it means that the whole location is moved }
  164. tmmshuffle = record
  165. { describes how many shuffles are actually described, if len=0 then
  166. moving the scalar with index 0 to the scalar with index 0 is meant }
  167. len : byte;
  168. { lower nibble of each entry of this array describes index of the source data index while
  169. the upper nibble describes the destination index }
  170. shuffles : array[1..1] of byte;
  171. end;
  172. Tsuperregisterarray=array[0..$ffff] of Tsuperregister;
  173. Psuperregisterarray=^Tsuperregisterarray;
  174. Tsuperregisterworklist=object
  175. buflength,
  176. buflengthinc,
  177. length:word;
  178. buf:Psuperregisterarray;
  179. constructor init;
  180. constructor copyfrom(const x:Tsuperregisterworklist);
  181. destructor done;
  182. procedure clear;
  183. procedure add(s:tsuperregister);
  184. function get:tsuperregister;
  185. procedure deleteidx(i:word);
  186. function delete(s:tsuperregister):boolean;
  187. end;
  188. psuperregisterworklist=^tsuperregisterworklist;
  189. const
  190. { alias for easier understanding }
  191. R_SSEREGISTER = R_MMREGISTER;
  192. { Invalid register number }
  193. RS_INVALID = high(tsuperregister);
  194. { Maximum number of cpu registers per register type,
  195. this must fit in tcpuregisterset }
  196. maxcpuregister = 32;
  197. tcgsize2size : Array[tcgsize] of integer =
  198. { integer values }
  199. (0,1,2,4,8,16,1,2,4,8,16,
  200. { floating point values }
  201. 4,8,EXTENDED_SIZE,8,16,
  202. { multimedia values }
  203. 1,2,4,8,16,1,2,4,8,16);
  204. tfloat2tcgsize: array[tfloattype] of tcgsize =
  205. (OS_F32,OS_F64,OS_F80,OS_C64,OS_C64,OS_F128);
  206. tcgsize2tfloat: array[OS_F32..OS_C64] of tfloattype =
  207. (s32real,s64real,s80real,s64comp);
  208. { Table to convert tcgsize variables to the correspondending
  209. unsigned types }
  210. tcgsize2unsigned : array[tcgsize] of tcgsize = (OS_NO,
  211. OS_8,OS_16,OS_32,OS_64,OS_128,OS_8,OS_16,OS_32,OS_64,OS_128,
  212. OS_F32,OS_F64,OS_F80,OS_C64,OS_F128,
  213. OS_M8,OS_M16,OS_M32,OS_M64,OS_M128,OS_M8,OS_M16,OS_M32,
  214. OS_M64,OS_M128);
  215. tcgloc2str : array[TCGLoc] of string[11] = (
  216. 'LOC_INVALID',
  217. 'LOC_VOID',
  218. 'LOC_CONST',
  219. 'LOC_JUMP',
  220. 'LOC_FLAGS',
  221. 'LOC_CREF',
  222. 'LOC_REF',
  223. 'LOC_REG',
  224. 'LOC_CREG',
  225. 'LOC_FPUREG',
  226. 'LOC_CFPUREG',
  227. 'LOC_MMXREG',
  228. 'LOC_CMMXREG',
  229. 'LOC_MMREG',
  230. 'LOC_CMMREG');
  231. var
  232. mms_movescalar : pmmshuffle;
  233. procedure supregset_reset(var regs:tsuperregisterset;setall:boolean);{$ifdef USEINLINE}inline;{$endif}
  234. procedure supregset_include(var regs:tsuperregisterset;s:tsuperregister);{$ifdef USEINLINE}inline;{$endif}
  235. procedure supregset_exclude(var regs:tsuperregisterset;s:tsuperregister);{$ifdef USEINLINE}inline;{$endif}
  236. function supregset_in(const regs:tsuperregisterset;s:tsuperregister):boolean;{$ifdef USEINLINE}inline;{$endif}
  237. function newreg(rt:tregistertype;sr:tsuperregister;sb:tsubregister):tregister;{$ifdef USEINLINE}inline;{$endif}
  238. function getsubreg(r:tregister):tsubregister;{$ifdef USEINLINE}inline;{$endif}
  239. function getsupreg(r:tregister):tsuperregister;{$ifdef USEINLINE}inline;{$endif}
  240. function getregtype(r:tregister):tregistertype;{$ifdef USEINLINE}inline;{$endif}
  241. procedure setsubreg(var r:tregister;sr:tsubregister);{$ifdef USEINLINE}inline;{$endif}
  242. procedure setsupreg(var r:tregister;sr:tsuperregister);{$ifdef USEINLINE}inline;{$endif}
  243. function generic_regname(r:tregister):string;
  244. {# From a constant numeric value, return the abstract code generator
  245. size.
  246. }
  247. function int_cgsize(const a: aword): tcgsize;{$ifdef USEINLINE}inline;{$endif}
  248. { return the inverse condition of opcmp }
  249. function inverse_opcmp(opcmp: topcmp): topcmp;{$ifdef USEINLINE}inline;{$endif}
  250. { return whether op is commutative }
  251. function commutativeop(op: topcg): boolean;{$ifdef USEINLINE}inline;{$endif}
  252. { returns true, if shuffle describes a real shuffle operation and not only a move }
  253. function realshuffle(shuffle : pmmshuffle) : boolean;
  254. { returns true, if the shuffle describes only a move of the scalar at index 0 }
  255. function shufflescalar(shuffle : pmmshuffle) : boolean;
  256. { removes shuffling from shuffle, this means that the destenation index of each shuffle is copied to
  257. the source }
  258. procedure removeshuffles(var shuffle : tmmshuffle);
  259. implementation
  260. uses
  261. verbose;
  262. {******************************************************************************
  263. tsuperregisterworklist
  264. ******************************************************************************}
  265. constructor tsuperregisterworklist.init;
  266. begin
  267. length:=0;
  268. buflength:=0;
  269. buflengthinc:=16;
  270. buf:=nil;
  271. end;
  272. constructor Tsuperregisterworklist.copyfrom(const x:Tsuperregisterworklist);
  273. begin
  274. self:=x;
  275. if x.buf<>nil then
  276. begin
  277. getmem(buf,buflength*sizeof(Tsuperregister));
  278. move(x.buf^,buf^,length*sizeof(Tsuperregister));
  279. end;
  280. end;
  281. destructor tsuperregisterworklist.done;
  282. begin
  283. if assigned(buf) then
  284. freemem(buf);
  285. end;
  286. procedure tsuperregisterworklist.add(s:tsuperregister);
  287. begin
  288. inc(length);
  289. { Need to increase buffer length? }
  290. if length>=buflength then
  291. begin
  292. inc(buflength,buflengthinc);
  293. buflengthinc:=buflengthinc*2;
  294. if buflengthinc>256 then
  295. buflengthinc:=256;
  296. reallocmem(buf,buflength*sizeof(Tsuperregister));
  297. end;
  298. buf^[length-1]:=s;
  299. end;
  300. procedure tsuperregisterworklist.clear;
  301. begin
  302. length:=0;
  303. end;
  304. procedure tsuperregisterworklist.deleteidx(i:word);
  305. begin
  306. if length=0 then
  307. internalerror(200310144);
  308. buf^[i]:=buf^[length-1];
  309. dec(length);
  310. end;
  311. function tsuperregisterworklist.get:tsuperregister;
  312. begin
  313. if length=0 then
  314. internalerror(200310142);
  315. get:=buf^[0];
  316. buf^[0]:=buf^[length-1];
  317. dec(length);
  318. end;
  319. function tsuperregisterworklist.delete(s:tsuperregister):boolean;
  320. var i:word;
  321. begin
  322. delete:=false;
  323. for i:=1 to length do
  324. if buf^[i-1]=s then
  325. begin
  326. deleteidx(i-1);
  327. delete:=true;
  328. break;
  329. end;
  330. end;
  331. procedure supregset_reset(var regs:tsuperregisterset;setall:boolean);{$ifdef USEINLINE}inline;{$endif}
  332. var
  333. b : byte;
  334. begin
  335. if setall then
  336. b:=$ff
  337. else
  338. b:=0;
  339. fillchar(regs,sizeof(regs),b);
  340. end;
  341. procedure supregset_include(var regs:tsuperregisterset;s:tsuperregister);{$ifdef USEINLINE}inline;{$endif}
  342. begin
  343. include(regs[s shr 8],(s and $ff));
  344. end;
  345. procedure supregset_exclude(var regs:tsuperregisterset;s:tsuperregister);{$ifdef USEINLINE}inline;{$endif}
  346. begin
  347. exclude(regs[s shr 8],(s and $ff));
  348. end;
  349. function supregset_in(const regs:tsuperregisterset;s:tsuperregister):boolean;{$ifdef USEINLINE}inline;{$endif}
  350. begin
  351. result:=(s and $ff) in regs[s shr 8];
  352. end;
  353. function newreg(rt:tregistertype;sr:tsuperregister;sb:tsubregister):tregister;{$ifdef USEINLINE}inline;{$endif}
  354. begin
  355. tregisterrec(result).regtype:=rt;
  356. tregisterrec(result).supreg:=sr;
  357. tregisterrec(result).subreg:=sb;
  358. end;
  359. function getsubreg(r:tregister):tsubregister;{$ifdef USEINLINE}inline;{$endif}
  360. begin
  361. result:=tregisterrec(r).subreg;
  362. end;
  363. function getsupreg(r:tregister):tsuperregister;{$ifdef USEINLINE}inline;{$endif}
  364. begin
  365. result:=tregisterrec(r).supreg;
  366. end;
  367. function getregtype(r:tregister):tregistertype;{$ifdef USEINLINE}inline;{$endif}
  368. begin
  369. result:=tregisterrec(r).regtype;
  370. end;
  371. procedure setsubreg(var r:tregister;sr:tsubregister);{$ifdef USEINLINE}inline;{$endif}
  372. begin
  373. tregisterrec(r).subreg:=sr;
  374. end;
  375. procedure setsupreg(var r:tregister;sr:tsuperregister);{$ifdef USEINLINE}inline;{$endif}
  376. begin
  377. tregisterrec(r).supreg:=sr;
  378. end;
  379. function generic_regname(r:tregister):string;
  380. var
  381. nr : string[12];
  382. begin
  383. str(getsupreg(r),nr);
  384. case getregtype(r) of
  385. R_INTREGISTER:
  386. result:='ireg'+nr;
  387. R_FPUREGISTER:
  388. result:='freg'+nr;
  389. R_MMREGISTER:
  390. result:='mreg'+nr;
  391. R_MMXREGISTER:
  392. result:='xreg'+nr;
  393. else
  394. begin
  395. result:='INVALID';
  396. exit;
  397. end;
  398. end;
  399. case getsubreg(r) of
  400. R_SUBNONE:
  401. ;
  402. R_SUBL:
  403. result:=result+'l';
  404. R_SUBH:
  405. result:=result+'h';
  406. R_SUBW:
  407. result:=result+'w';
  408. R_SUBD:
  409. result:=result+'d';
  410. R_SUBQ:
  411. result:=result+'q';
  412. R_SUBFS:
  413. result:=result+'fs';
  414. R_SUBFD:
  415. result:=result+'fd';
  416. else
  417. internalerror(200308252);
  418. end;
  419. end;
  420. function int_cgsize(const a: aword): tcgsize;{$ifdef USEINLINE}inline;{$endif}
  421. const
  422. size2cgsize : array[0..8] of tcgsize = (
  423. OS_NO,OS_8,OS_16,OS_32,OS_32,OS_64,OS_64,OS_64,OS_64
  424. );
  425. begin
  426. if a>8 then
  427. result:=OS_NO
  428. else
  429. result:=size2cgsize[a];
  430. end;
  431. function inverse_opcmp(opcmp: topcmp): topcmp;{$ifdef USEINLINE}inline;{$endif}
  432. const
  433. list: array[TOpCmp] of TOpCmp =
  434. (OC_NONE,OC_NE,OC_LTE,OC_GTE,OC_LT,OC_GT,OC_EQ,OC_A,OC_AE,
  435. OC_B,OC_BE);
  436. begin
  437. inverse_opcmp := list[opcmp];
  438. end;
  439. function commutativeop(op: topcg): boolean;{$ifdef USEINLINE}inline;{$endif}
  440. const
  441. list: array[topcg] of boolean =
  442. (true,true,true,false,false,true,true,false,false,
  443. true,false,false,false,false,true);
  444. begin
  445. commutativeop := list[op];
  446. end;
  447. function realshuffle(shuffle : pmmshuffle) : boolean;
  448. var
  449. i : longint;
  450. begin
  451. realshuffle:=true;
  452. if (shuffle=nil) or (shuffle^.len=0) then
  453. realshuffle:=false
  454. else
  455. begin
  456. for i:=1 to shuffle^.len do
  457. begin
  458. if (shuffle^.shuffles[i] and $f)<>((shuffle^.shuffles[i] and $f0) shr 8) then
  459. exit;
  460. end;
  461. realshuffle:=false;
  462. end;
  463. end;
  464. function shufflescalar(shuffle : pmmshuffle) : boolean;
  465. begin
  466. result:=shuffle^.len=0;
  467. end;
  468. procedure removeshuffles(var shuffle : tmmshuffle);
  469. var
  470. i : longint;
  471. begin
  472. if shuffle.len=0 then
  473. exit;
  474. for i:=1 to shuffle.len do
  475. shuffle.shuffles[i]:=(shuffle.shuffles[i] and $f0) or ((shuffle.shuffles[i] and $f0) shr 8);
  476. end;
  477. initialization
  478. new(mms_movescalar);
  479. mms_movescalar^.len:=0;
  480. finalization
  481. dispose(mms_movescalar);
  482. end.
  483. {
  484. $Log$
  485. Revision 1.88 2004-02-27 10:21:05 florian
  486. * top_symbol killed
  487. + refaddr to treference added
  488. + refsymbol to treference added
  489. * top_local stuff moved to an extra record to save memory
  490. + aint introduced
  491. * tppufile.get/putint64/aint implemented
  492. Revision 1.87 2004/02/09 22:14:17 peter
  493. * more x86_64 parameter fixes
  494. * tparalocation.lochigh is now used to indicate if registerhigh
  495. is used and what the type is
  496. Revision 1.86 2004/01/12 22:11:38 peter
  497. * use localalign info for alignment for locals and temps
  498. * sparc fpu flags branching added
  499. * moved powerpc copy_valye_openarray to generic
  500. Revision 1.85 2004/01/12 16:35:05 peter
  501. * R_SUB_FS added to make a difference between double and single
  502. floats, required for sparc only
  503. Revision 1.84 2004/01/09 22:02:29 daniel
  504. * Degree=0 problem fixed
  505. * Degree to high problem fixed
  506. Revision 1.83 2003/12/25 01:07:09 florian
  507. + $fputype directive support
  508. + single data type operations with sse unit
  509. * fixed more x86-64 stuff
  510. Revision 1.82 2003/12/22 23:10:21 peter
  511. * use low(longint) instead of $8000000
  512. Revision 1.81 2003/12/21 19:42:42 florian
  513. * fixed ppc inlining stuff
  514. * fixed wrong unit writing
  515. + added some sse stuff
  516. Revision 1.80 2003/12/19 22:08:44 daniel
  517. * Some work to restore the MMX capabilities
  518. Revision 1.79 2003/12/15 21:25:48 peter
  519. * reg allocations for imaginary register are now inserted just
  520. before reg allocation
  521. * tregister changed to enum to allow compile time check
  522. * fixed several tregister-tsuperregister errors
  523. Revision 1.78 2003/12/14 20:24:28 daniel
  524. * Register allocator speed optimizations
  525. - Worklist no longer a ringbuffer
  526. - No find operations are left
  527. - Simplify now done in constant time
  528. - unusedregs is now a Tsuperregisterworklist
  529. - Microoptimizations
  530. Revision 1.77 2003/11/04 15:35:13 peter
  531. * fix for referencecounted temps
  532. Revision 1.76 2003/11/03 17:48:04 peter
  533. * int_cgsize returned garbage for a=0
  534. Revision 1.75 2003/10/31 15:51:11 peter
  535. * USEINLINE directive added (not enabled yet)
  536. Revision 1.74 2003/10/30 14:56:40 mazen
  537. + add support for double float register vars
  538. Revision 1.73 2003/10/29 15:07:01 mazen
  539. * 32 registers are available
  540. Revision 1.72 2003/10/24 15:21:31 peter
  541. * renamed R_SUBF64 to R_SUBFD
  542. Revision 1.71 2003/10/17 14:38:32 peter
  543. * 64k registers supported
  544. * fixed some memory leaks
  545. Revision 1.70 2003/10/13 01:10:01 florian
  546. * some ideas for mm support implemented
  547. Revision 1.69 2003/10/11 16:06:42 florian
  548. * fixed some MMX<->SSE
  549. * started to fix ppc, needs an overhaul
  550. + stabs info improve for spilling, not sure if it works correctly/completly
  551. - MMX_SUPPORT removed from Makefile.fpc
  552. Revision 1.68 2003/10/09 21:31:37 daniel
  553. * Register allocator splitted, ans abstract now
  554. Revision 1.67 2003/10/01 20:34:48 peter
  555. * procinfo unit contains tprocinfo
  556. * cginfo renamed to cgbase
  557. * moved cgmessage to verbose
  558. * fixed ppc and sparc compiles
  559. }