nppcmat.pas 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Florian Klaempfl
  4. Generate PowerPC assembler for math nodes
  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 nppcmat;
  19. {$i fpcdefs.inc}
  20. interface
  21. uses
  22. node,nmat;
  23. type
  24. tppcmoddivnode = class(tmoddivnode)
  25. procedure pass_2;override;
  26. end;
  27. tppcshlshrnode = class(tshlshrnode)
  28. procedure pass_2;override;
  29. { everything will be handled in pass_2 }
  30. function first_shlshr64bitint: tnode; override;
  31. end;
  32. tppcunaryminusnode = class(tunaryminusnode)
  33. procedure pass_2;override;
  34. end;
  35. tppcnotnode = class(tnotnode)
  36. procedure pass_2;override;
  37. end;
  38. implementation
  39. uses
  40. globtype,systems,
  41. cutils,verbose,globals,
  42. symconst,symdef,
  43. aasmbase,aasmcpu,aasmtai,
  44. defutil,
  45. cgbase,cgobj,pass_1,pass_2,
  46. ncon,
  47. cpubase,cpuinfo,
  48. ncgutil,cgcpu,cg64f32,rgobj;
  49. {*****************************************************************************
  50. TPPCMODDIVNODE
  51. *****************************************************************************}
  52. procedure tppcmoddivnode.pass_2;
  53. const
  54. { signed overflow }
  55. divops: array[boolean, boolean] of tasmop =
  56. ((A_DIVWU,A_DIVWUO_),(A_DIVW,A_DIVWO_));
  57. var
  58. power : longint;
  59. op : tasmop;
  60. numerator,
  61. divider,
  62. resultreg : tregister;
  63. size : Tcgsize;
  64. begin
  65. secondpass(left);
  66. secondpass(right);
  67. location_copy(location,left.location);
  68. { put numerator in register }
  69. size:=def_cgsize(left.resulttype.def);
  70. location_force_reg(exprasmlist,left.location,
  71. size,true);
  72. location_copy(location,left.location);
  73. numerator := location.register;
  74. resultreg := location.register;
  75. if (location.loc = LOC_CREGISTER) then
  76. begin
  77. location.loc := LOC_REGISTER;
  78. location.register := cg.getintregister(exprasmlist,size);
  79. resultreg := location.register;
  80. end;
  81. if (nodetype = modn) then
  82. begin
  83. resultreg := cg.getintregister(exprasmlist,size);
  84. end;
  85. if (nodetype = divn) and
  86. (right.nodetype = ordconstn) and
  87. ispowerof2(tordconstnode(right).value,power) then
  88. begin
  89. { From "The PowerPC Compiler Writer's Guide": }
  90. { This code uses the fact that, in the PowerPC architecture, }
  91. { the shift right algebraic instructions set the Carry bit if }
  92. { the source register contains a negative number and one or }
  93. { more 1-bits are shifted out. Otherwise, the carry bit is }
  94. { cleared. The addze instruction corrects the quotient, if }
  95. { necessary, when the dividend is negative. For example, if }
  96. { n = -13, (0xFFFF_FFF3), and k = 2, after executing the srawi }
  97. { instruction, q = -4 (0xFFFF_FFFC) and CA = 1. After executing }
  98. { the addze instruction, q = -3, the correct quotient. }
  99. cg.a_op_const_reg_reg(exprasmlist,OP_SAR,OS_32,aword(power),
  100. numerator,resultreg);
  101. exprasmlist.concat(taicpu.op_reg_reg(A_ADDZE,resultreg,resultreg));
  102. end
  103. else
  104. begin
  105. { load divider in a register if necessary }
  106. location_force_reg(exprasmlist,right.location,
  107. def_cgsize(right.resulttype.def),true);
  108. divider := right.location.register;
  109. { needs overflow checking, (-maxlongint-1) div (-1) overflows! }
  110. { And on PPC, the only way to catch a div-by-0 is by checking }
  111. { the overflow flag (JM) }
  112. op := divops[is_signed(right.resulttype.def),
  113. cs_check_overflow in aktlocalswitches];
  114. exprasmlist.concat(taicpu.op_reg_reg_reg(op,resultreg,numerator,
  115. divider));
  116. if (nodetype = modn) then
  117. begin
  118. exprasmlist.concat(taicpu.op_reg_reg_reg(A_MULLW,resultreg,
  119. divider,resultreg));
  120. cg.ungetregister(exprasmlist,divider);
  121. exprasmlist.concat(taicpu.op_reg_reg_reg(A_SUB,location.register,
  122. numerator,resultreg));
  123. cg.ungetregister(exprasmlist,resultreg);
  124. resultreg := location.register;
  125. end
  126. else
  127. cg.ungetregister(exprasmlist,divider);
  128. end;
  129. { free used registers }
  130. if numerator <> resultreg then
  131. cg.ungetregister(exprasmlist,numerator);
  132. { set result location }
  133. location.loc:=LOC_REGISTER;
  134. location.register:=resultreg;
  135. cg.g_overflowcheck(exprasmlist,location,resulttype.def);
  136. end;
  137. {*****************************************************************************
  138. TPPCSHLRSHRNODE
  139. *****************************************************************************}
  140. function tppcshlshrnode.first_shlshr64bitint: tnode;
  141. begin
  142. result := nil;
  143. end;
  144. procedure tppcshlshrnode.pass_2;
  145. var
  146. resultreg, hregister1,hregister2,
  147. hregisterhigh,hregisterlow : tregister;
  148. op : topcg;
  149. asmop1, asmop2: tasmop;
  150. shiftval: aword;
  151. r : Tregister;
  152. begin
  153. secondpass(left);
  154. secondpass(right);
  155. if is_64bitint(left.resulttype.def) then
  156. begin
  157. location_force_reg(exprasmlist,left.location,
  158. def_cgsize(left.resulttype.def),true);
  159. location_copy(location,left.location);
  160. hregisterhigh := location.registerhigh;
  161. hregisterlow := location.registerlow;
  162. if (location.loc = LOC_CREGISTER) then
  163. begin
  164. location.loc := LOC_REGISTER;
  165. location.registerhigh := cg.getintregister(exprasmlist,OS_32);
  166. location.registerlow := cg.getintregister(exprasmlist,OS_32);
  167. end;
  168. if (right.nodetype = ordconstn) then
  169. begin
  170. shiftval := tordconstnode(right).value;
  171. if shiftval > 63 then
  172. begin
  173. cg.a_load_const_reg(exprasmlist,OS_32,0,location.registerlow);
  174. cg.a_load_const_reg(exprasmlist,OS_32,0,location.registerlow);
  175. end
  176. else if shiftval > 31 then
  177. begin
  178. if nodetype = shln then
  179. begin
  180. cg.a_op_const_reg_reg(exprasmlist,OP_SHL,OS_32,
  181. shiftval and 31,hregisterlow,location.registerhigh);
  182. cg.a_load_const_reg(exprasmlist,OS_32,0,location.registerlow);
  183. end
  184. else
  185. begin
  186. cg.a_op_const_reg_reg(exprasmlist,OP_SHR,OS_32,
  187. shiftval and 31,hregisterhigh,location.registerlow);
  188. cg.a_load_const_reg(exprasmlist,OS_32,0,location.registerhigh);
  189. end;
  190. end
  191. else
  192. begin
  193. if nodetype = shln then
  194. begin
  195. exprasmlist.concat(taicpu.op_reg_reg_const_const_const(
  196. A_RLWINM,location.registerhigh,hregisterhigh,shiftval,
  197. 0,31-shiftval));
  198. exprasmlist.concat(taicpu.op_reg_reg_const_const_const(
  199. A_RLWIMI,location.registerhigh,hregisterlow,shiftval,
  200. 32-shiftval,31));
  201. exprasmlist.concat(taicpu.op_reg_reg_const_const_const(
  202. A_RLWINM,location.registerlow,hregisterlow,shiftval,
  203. 0,31-shiftval));
  204. end
  205. else
  206. begin
  207. exprasmlist.concat(taicpu.op_reg_reg_const_const_const(
  208. A_RLWINM,location.registerlow,hregisterlow,32-shiftval,
  209. shiftval,31));
  210. exprasmlist.concat(taicpu.op_reg_reg_const_const_const(
  211. A_RLWIMI,location.registerlow,hregisterhigh,32-shiftval,
  212. 0,shiftval-1));
  213. exprasmlist.concat(taicpu.op_reg_reg_const_const_const(
  214. A_RLWINM,location.registerhigh,hregisterhigh,32-shiftval,
  215. shiftval,31));
  216. end;
  217. end;
  218. end
  219. else
  220. { no constant shiftcount }
  221. begin
  222. location_force_reg(exprasmlist,right.location,OS_S32,true);
  223. hregister1 := right.location.register;
  224. if nodetype = shln then
  225. begin
  226. asmop1 := A_SLW;
  227. asmop2 := A_SRW;
  228. end
  229. else
  230. begin
  231. asmop1 := A_SRW;
  232. asmop2 := A_SLW;
  233. resultreg := hregisterhigh;
  234. hregisterhigh := hregisterlow;
  235. hregisterlow := resultreg;
  236. resultreg := location.registerhigh;
  237. location.registerhigh := location.registerlow;
  238. location.registerlow := resultreg;
  239. end;
  240. cg.getexplicitregister(exprasmlist,NR_R0);
  241. exprasmlist.concat(taicpu.op_reg_reg_const(A_SUBFIC,
  242. NR_R0,hregister1,32));
  243. exprasmlist.concat(taicpu.op_reg_reg_reg(asmop1,
  244. location.registerhigh,hregisterhigh,hregister1));
  245. exprasmlist.concat(taicpu.op_reg_reg_reg(asmop2,
  246. NR_R0,hregisterlow,NR_R0));
  247. exprasmlist.concat(taicpu.op_reg_reg_reg(A_OR,
  248. location.registerhigh,location.registerhigh,NR_R0));
  249. exprasmlist.concat(taicpu.op_reg_reg_const(A_SUBI,
  250. NR_R0,hregister1,32));
  251. exprasmlist.concat(taicpu.op_reg_reg_reg(asmop1,
  252. NR_R0,hregisterlow,NR_R0));
  253. exprasmlist.concat(taicpu.op_reg_reg_reg(A_OR,
  254. location.registerhigh,location.registerhigh,NR_R0));
  255. exprasmlist.concat(taicpu.op_reg_reg_reg(asmop1,
  256. location.registerlow,hregisterlow,hregister1));
  257. cg.ungetregister(exprasmlist,NR_R0);
  258. if nodetype = shrn then
  259. begin
  260. resultreg := location.registerhigh;
  261. location.registerhigh := location.registerlow;
  262. location.registerlow := resultreg;
  263. end;
  264. cg.ungetregister(exprasmlist,hregister1);
  265. end
  266. end
  267. else
  268. begin
  269. { load left operators in a register }
  270. location_force_reg(exprasmlist,left.location,def_cgsize(left.resulttype.def),true);
  271. location_copy(location,left.location);
  272. resultreg := location.register;
  273. hregister1 := location.register;
  274. if (location.loc = LOC_CREGISTER) then
  275. begin
  276. location.loc := LOC_REGISTER;
  277. resultreg := cg.getintregister(exprasmlist,OS_32);
  278. location.register := resultreg;
  279. end;
  280. { determine operator }
  281. if nodetype=shln then
  282. op:=OP_SHL
  283. else
  284. op:=OP_SHR;
  285. { shifting by a constant directly coded: }
  286. if (right.nodetype=ordconstn) then
  287. cg.a_op_const_reg_reg(exprasmlist,op,OS_32,
  288. tordconstnode(right).value and 31,hregister1,resultreg)
  289. else
  290. begin
  291. { load shift count in a register if necessary }
  292. location_force_reg(exprasmlist,right.location,def_cgsize(right.resulttype.def),true);
  293. hregister2 := right.location.register;
  294. cg.a_op_reg_reg_reg(exprasmlist,op,OS_32,hregister2,
  295. hregister1,resultreg);
  296. cg.ungetregister(exprasmlist,hregister2);
  297. end;
  298. end;
  299. end;
  300. {*****************************************************************************
  301. TPPCUNARYMINUSNODE
  302. *****************************************************************************}
  303. procedure tppcunaryminusnode.pass_2;
  304. var
  305. src1, src2, tmp: tregister;
  306. op: tasmop;
  307. begin
  308. secondpass(left);
  309. if is_64bitint(left.resulttype.def) then
  310. begin
  311. location_force_reg(exprasmlist,left.location,def_cgsize(left.resulttype.def),true);
  312. location_copy(location,left.location);
  313. if (location.loc = LOC_CREGISTER) then
  314. begin
  315. location.registerlow := cg.getintregister(exprasmlist,OS_INT);
  316. location.registerhigh := cg.getintregister(exprasmlist,OS_INT);
  317. location.loc := LOC_REGISTER;
  318. end;
  319. exprasmlist.concat(taicpu.op_reg_reg_const(A_SUBFIC,
  320. location.registerlow,left.location.registerlow,0));
  321. if not(cs_check_overflow in aktlocalswitches) then
  322. exprasmlist.concat(taicpu.op_reg_reg(A_SUBFZE,
  323. location.registerhigh,left.location.registerhigh))
  324. else
  325. exprasmlist.concat(taicpu.op_reg_reg(A_SUBFZEO_,
  326. location.registerhigh,left.location.registerhigh));
  327. end
  328. else
  329. begin
  330. location_copy(location,left.location);
  331. location.loc:=LOC_REGISTER;
  332. case left.location.loc of
  333. LOC_FPUREGISTER, LOC_REGISTER:
  334. begin
  335. src1 := left.location.register;
  336. location.register := src1;
  337. end;
  338. LOC_CFPUREGISTER, LOC_CREGISTER:
  339. begin
  340. src1 := left.location.register;
  341. if left.location.loc = LOC_CREGISTER then
  342. location.register := cg.getintregister(exprasmlist,OS_INT)
  343. else
  344. location.register := cg.getfpuregister(exprasmlist,location.size);
  345. end;
  346. LOC_REFERENCE,LOC_CREFERENCE:
  347. begin
  348. if (left.resulttype.def.deftype=floatdef) then
  349. begin
  350. src1 := cg.getfpuregister(exprasmlist,def_cgsize(left.resulttype.def));
  351. location.register := src1;
  352. cg.a_loadfpu_ref_reg(exprasmlist,
  353. def_cgsize(left.resulttype.def),
  354. left.location.reference,src1);
  355. end
  356. else
  357. begin
  358. src1 := cg.getintregister(exprasmlist,OS_32);
  359. location.register:= src1;
  360. cg.a_load_ref_reg(exprasmlist,OS_32,OS_32,
  361. left.location.reference,src1);
  362. end;
  363. reference_release(exprasmlist,left.location.reference);
  364. end;
  365. end;
  366. { choose appropriate operand }
  367. if left.resulttype.def.deftype <> floatdef then
  368. begin
  369. if not(cs_check_overflow in aktlocalswitches) then
  370. op := A_NEG
  371. else
  372. op := A_NEGO_;
  373. location.loc := LOC_REGISTER;
  374. end
  375. else
  376. begin
  377. op := A_FNEG;
  378. location.loc := LOC_FPUREGISTER;
  379. end;
  380. { emit operation }
  381. exprasmlist.concat(taicpu.op_reg_reg(op,location.register,src1));
  382. end;
  383. { Here was a problem... }
  384. { Operand to be negated always }
  385. { seems to be converted to signed }
  386. { 32-bit before doing neg!! }
  387. { So this is useless... }
  388. { that's not true: -2^31 gives an overflow error if it is negated (FK) }
  389. cg.g_overflowcheck(exprasmlist,location,resulttype.def);
  390. end;
  391. {*****************************************************************************
  392. TPPCNOTNODE
  393. *****************************************************************************}
  394. procedure tppcnotnode.pass_2;
  395. var
  396. hl : tasmlabel;
  397. regl, regh: tregister;
  398. begin
  399. if is_boolean(resulttype.def) then
  400. begin
  401. { if the location is LOC_JUMP, we do the secondpass after the
  402. labels are allocated
  403. }
  404. if left.expectloc=LOC_JUMP then
  405. begin
  406. hl:=truelabel;
  407. truelabel:=falselabel;
  408. falselabel:=hl;
  409. secondpass(left);
  410. maketojumpbool(exprasmlist,left,lr_load_regvars);
  411. hl:=truelabel;
  412. truelabel:=falselabel;
  413. falselabel:=hl;
  414. location.loc:=LOC_JUMP;
  415. end
  416. else
  417. begin
  418. secondpass(left);
  419. case left.location.loc of
  420. LOC_FLAGS :
  421. begin
  422. location_copy(location,left.location);
  423. inverse_flags(location.resflags);
  424. end;
  425. LOC_REGISTER, LOC_CREGISTER, LOC_REFERENCE, LOC_CREFERENCE :
  426. begin
  427. location_force_reg(exprasmlist,left.location,def_cgsize(left.resulttype.def),true);
  428. exprasmlist.concat(taicpu.op_reg_const(A_CMPWI,left.location.register,0));
  429. location_release(exprasmlist,left.location);
  430. location_reset(location,LOC_FLAGS,OS_NO);
  431. location.resflags.cr:=RS_CR0;
  432. location.resflags.flag:=F_EQ;
  433. end;
  434. else
  435. internalerror(2003042401);
  436. end;
  437. end;
  438. end
  439. else if is_64bitint(left.resulttype.def) then
  440. begin
  441. secondpass(left);
  442. location_force_reg(exprasmlist,left.location,def_cgsize(left.resulttype.def),false);
  443. location_copy(location,left.location);
  444. { perform the NOT operation }
  445. exprasmlist.concat(taicpu.op_reg_reg(A_NOT,location.registerhigh,
  446. location.registerhigh));
  447. exprasmlist.concat(taicpu.op_reg_reg(A_NOT,location.registerlow,
  448. location.registerlow));
  449. end
  450. else
  451. begin
  452. secondpass(left);
  453. location_force_reg(exprasmlist,left.location,def_cgsize(left.resulttype.def),true);
  454. location_copy(location,left.location);
  455. location.loc := LOC_REGISTER;
  456. location.register := cg.getintregister(exprasmlist,OS_INT);
  457. { perform the NOT operation }
  458. cg.a_op_reg_reg(exprasmlist,OP_NOT,def_cgsize(resulttype.def),left.location.register,
  459. location.register);
  460. end;
  461. end;
  462. begin
  463. cmoddivnode:=tppcmoddivnode;
  464. cshlshrnode:=tppcshlshrnode;
  465. cunaryminusnode:=tppcunaryminusnode;
  466. cnotnode:=tppcnotnode;
  467. end.
  468. {
  469. $Log$
  470. Revision 1.37 2003-12-31 18:12:23 jonas
  471. * (64 bit int) shl/shr (value > 63) := 0
  472. Revision 1.36 2003/12/28 23:49:30 jonas
  473. * fixed tnotnode for < 32 bit quantities
  474. Revision 1.35 2003/10/17 01:22:08 florian
  475. * compilation of the powerpc compiler fixed
  476. Revision 1.34 2003/10/01 20:34:49 peter
  477. * procinfo unit contains tprocinfo
  478. * cginfo renamed to cgbase
  479. * moved cgmessage to verbose
  480. * fixed ppc and sparc compiles
  481. Revision 1.33 2003/09/03 19:39:16 peter
  482. * removed empty cga unit
  483. Revision 1.32 2003/09/03 19:35:24 peter
  484. * powerpc compiles again
  485. Revision 1.31 2003/06/14 22:32:43 jonas
  486. * ppc compiles with -dnewra, haven't tried to compile anything with it
  487. yet though
  488. Revision 1.30 2003/06/08 18:20:02 jonas
  489. * fixed small bug where a location was set to LOC_CREGISTER instead of
  490. LOC_REGISTER
  491. Revision 1.29 2003/06/04 11:58:58 jonas
  492. * calculate localsize also in g_return_from_proc since it's now called
  493. before g_stackframe_entry (still have to fix macos)
  494. * compilation fixes (cycle doesn't work yet though)
  495. Revision 1.28 2003/06/01 21:38:06 peter
  496. * getregisterfpu size parameter added
  497. * op_const_reg size parameter added
  498. * sparc updates
  499. Revision 1.27 2003/05/24 19:15:29 jonas
  500. * fixed shr of 64 bit values by non-immediate value
  501. Revision 1.26 2003/05/11 11:45:08 jonas
  502. * fixed shifts
  503. Revision 1.25 2003/04/24 12:57:32 florian
  504. * fixed not node
  505. Revision 1.24 2003/03/11 21:46:24 jonas
  506. * lots of new regallocator fixes, both in generic and ppc-specific code
  507. (ppc compiler still can't compile the linux system unit though)
  508. Revision 1.23 2003/02/19 22:00:16 daniel
  509. * Code generator converted to new register notation
  510. - Horribily outdated todo.txt removed
  511. Revision 1.22 2003/01/09 20:41:10 florian
  512. * fixed broken PowerPC compiler
  513. Revision 1.21 2003/01/08 18:43:58 daniel
  514. * Tregister changed into a record
  515. Revision 1.20 2002/11/25 17:43:28 peter
  516. * splitted defbase in defutil,symutil,defcmp
  517. * merged isconvertable and is_equal into compare_defs(_ext)
  518. * made operator search faster by walking the list only once
  519. Revision 1.19 2002/09/10 21:21:29 jonas
  520. * fixed unary minus of 64bit values
  521. Revision 1.18 2002/09/07 15:25:14 peter
  522. * old logs removed and tabs fixed
  523. Revision 1.17 2002/08/15 15:15:55 carl
  524. * jmpbuf size allocation for exceptions is now cpu specific (as it should)
  525. * more generic nodes for maths
  526. * several fixes for better m68k support
  527. Revision 1.16 2002/08/10 17:15:31 jonas
  528. * various fixes and optimizations
  529. Revision 1.15 2002/07/26 10:48:34 jonas
  530. * fixed bug in shl/shr code
  531. Revision 1.14 2002/07/20 11:58:05 florian
  532. * types.pas renamed to defbase.pas because D6 contains a types
  533. unit so this would conflicts if D6 programms are compiled
  534. + Willamette/SSE2 instructions to assembler added
  535. Revision 1.13 2002/07/11 07:41:27 jonas
  536. * fixed tppcmoddivnode
  537. * fixed 64bit parts of tppcshlshrnode
  538. Revision 1.12 2002/07/09 19:45:01 jonas
  539. * unarynminus and shlshr node fixed for 32bit and smaller ordinals
  540. * small fixes in the assembler writer
  541. * changed scratch registers, because they were used by the linker (r11
  542. and r12) and by the abi under linux (r31)
  543. Revision 1.11 2002/07/07 09:44:32 florian
  544. * powerpc target fixed, very simple units can be compiled
  545. Revision 1.10 2002/05/20 13:30:42 carl
  546. * bugfix of hdisponen (base must be set, not index)
  547. * more portability fixes
  548. Revision 1.9 2002/05/18 13:34:26 peter
  549. * readded missing revisions
  550. Revision 1.8 2002/05/16 19:46:53 carl
  551. + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
  552. + try to fix temp allocation (still in ifdef)
  553. + generic constructor calls
  554. + start of tassembler / tmodulebase class cleanup
  555. Revision 1.5 2002/05/13 19:52:46 peter
  556. * a ppcppc can be build again
  557. Revision 1.4 2002/04/21 15:48:39 carl
  558. * some small updates according to i386 version
  559. Revision 1.3 2002/04/06 18:13:02 jonas
  560. * several powerpc-related additions and fixes
  561. Revision 1.2 2002/01/03 14:57:52 jonas
  562. * completed (not compilale yet though)
  563. }