cpubase.pas 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Florian Klaempfl
  4. Contains the base types for the SPARC
  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 contains the base types for the PowerPC
  19. }
  20. unit cpubase;
  21. {$i fpcdefs.inc}
  22. interface
  23. uses
  24. strings,cutils,cclasses,aasmbase,cpuinfo,cgbase;
  25. {*****************************************************************************
  26. Assembler Opcodes
  27. *****************************************************************************}
  28. type
  29. {$WARNING CPU32 opcodes do not fully include the Ultra SPRAC instruction set.}
  30. { don't change the order of these opcodes! }
  31. TAsmOp=({$INCLUDE opcode.inc});
  32. {# This should define the array of instructions as string }
  33. op2strtable=array[tasmop] of string[11];
  34. Const
  35. {# First value of opcode enumeration }
  36. firstop = low(tasmop);
  37. {# Last value of opcode enumeration }
  38. lastop = high(tasmop);
  39. std_op2str:op2strtable=({$INCLUDE strinst.inc});
  40. {*****************************************************************************
  41. Registers
  42. *****************************************************************************}
  43. type
  44. { Number of registers used for indexing in tables }
  45. tregisterindex=0..{$i rspnor.inc}-1;
  46. totherregisterset = set of tregisterindex;
  47. const
  48. { Available Superregisters }
  49. {$i rspsup.inc}
  50. { No Subregisters }
  51. R_SUBWHOLE=R_SUBNONE;
  52. { Available Registers }
  53. {$i rspcon.inc}
  54. first_int_imreg = $20;
  55. first_fpu_imreg = $20;
  56. {$warning TODO Calculate bsstart}
  57. regnumber_count_bsstart = 128;
  58. regnumber_table : array[tregisterindex] of tregister = (
  59. {$i rspnum.inc}
  60. );
  61. regstabs_table : array[tregisterindex] of ShortInt = (
  62. {$i rspstab.inc}
  63. );
  64. {*****************************************************************************
  65. Conditions
  66. *****************************************************************************}
  67. type
  68. TAsmCond=(C_None,
  69. C_A,C_AE,C_B,C_BE,C_C,C_E,C_G,C_GE,C_L,C_LE,C_NA,C_NAE,
  70. C_NB,C_NBE,C_NC,C_NE,C_NG,C_NGE,C_NL,C_NLE,C_NO,C_NP,
  71. C_NS,C_NZ,C_O,C_P,C_PE,C_PO,C_S,C_Z
  72. );
  73. const
  74. cond2str:array[TAsmCond] of string[3]=('',
  75. 'gu','cc','cs','leu','cs','e','g','ge','l','le','leu','cs',
  76. 'cc','gu','cc','ne','le','l','ge','g','vc','XX',
  77. 'pos','ne','vs','XX','XX','XX','vs','e'
  78. );
  79. inverse_cond:array[TAsmCond] of TAsmCond=(C_None,
  80. C_NA,C_NAE,C_NB,C_NBE,C_NC,C_NE,C_NG,C_NGE,C_NL,C_NLE,C_A,C_AE,
  81. C_B,C_BE,C_C,C_E,C_G,C_GE,C_L,C_LE,C_O,C_P,
  82. C_S,C_Z,C_NO,C_NP,C_NP,C_P,C_NS,C_NZ
  83. );
  84. const
  85. CondAsmOps=1;
  86. CondAsmOp:array[0..CondAsmOps-1] of TAsmOp=(
  87. A_Bxx
  88. );
  89. CondAsmOpStr:array[0..CondAsmOps-1] of string[7]=(
  90. 'B'
  91. );
  92. {*****************************************************************************
  93. Flags
  94. *****************************************************************************}
  95. type
  96. TResFlags=(
  97. F_E, {Equal}
  98. F_NE, {Not Equal}
  99. F_G, {Greater}
  100. F_L, {Less}
  101. F_GE, {Greater or Equal}
  102. F_LE, {Less or Equal}
  103. F_C, {Carry}
  104. F_NC, {Not Carry}
  105. F_A, {Above}
  106. F_AE, {Above or Equal}
  107. F_B, {Below}
  108. F_BE {Below or Equal}
  109. );
  110. {*****************************************************************************
  111. Reference
  112. *****************************************************************************}
  113. type
  114. TRefOptions=(ref_none,ref_parafixup,ref_localfixup,ref_selffixup);
  115. { since we have no full 32 bit offsets, we need to be able to specify the high
  116. and low bits of the address of a symbol }
  117. trefsymaddr = (refs_no,refs_full,refs_hi,refs_lo);
  118. { reference record }
  119. preference = ^treference;
  120. treference = packed record
  121. { base register, R_NO if none }
  122. base,
  123. { index register, R_NO if none }
  124. index : tregister;
  125. { offset, 0 if none }
  126. offset : longint;
  127. { symbol this reference refers to, nil if none }
  128. symbol : tasmsymbol;
  129. { used in conjunction with symbols and offsets: refs_full means }
  130. { means a full 32bit reference, refs_hi means the upper 16 bits }
  131. { and refs_lo the lower 16 bits of the address }
  132. symaddr : trefsymaddr;
  133. { changed when inlining and possibly in other cases, don't }
  134. { set manually }
  135. offsetfixup : longint;
  136. { used in conjunction with the previous field }
  137. options : trefoptions;
  138. { alignment this reference is guaranteed to have }
  139. alignment : byte;
  140. end;
  141. { reference record }
  142. pparareference = ^tparareference;
  143. tparareference = packed record
  144. index : tregister;
  145. offset : longint;
  146. end;
  147. const
  148. symaddr2str: array[trefsymaddr] of string[3] = ('','','%hi','%lo');
  149. {*****************************************************************************
  150. Operand Sizes
  151. *****************************************************************************}
  152. {$ifdef dummy}
  153. {*****************************************************************************
  154. Argument Classification
  155. *****************************************************************************}
  156. type
  157. TArgClass = (
  158. { the following classes should be defined by all processor implemnations }
  159. AC_NOCLASS,
  160. AC_MEMORY,
  161. AC_INTEGER,
  162. AC_FPU,
  163. { the following argument classes are i386 specific }
  164. AC_FPUUP,
  165. AC_SSE,
  166. AC_SSEUP);
  167. {$endif dummy}
  168. {*****************************************************************************
  169. Generic Location
  170. *****************************************************************************}
  171. type
  172. { tparamlocation describes where a parameter for a procedure is stored.
  173. References are given from the caller's point of view. The usual
  174. TLocation isn't used, because contains a lot of unnessary fields.
  175. }
  176. tparalocation = packed record
  177. size : TCGSize;
  178. { The location type where the parameter is passed, usually
  179. LOC_REFERENCE,LOC_REGISTER or LOC_FPUREGISTER
  180. }
  181. loc : TCGLoc;
  182. {Word alignment on stack 4 --> 32 bit}
  183. Alignment:Byte;
  184. case TCGLoc of
  185. LOC_REFERENCE : (reference : tparareference; low_in_reg: boolean; lowreg : tregister);
  186. LOC_FPUREGISTER, LOC_CFPUREGISTER, LOC_MMREGISTER, LOC_CMMREGISTER,
  187. LOC_REGISTER,LOC_CREGISTER : (
  188. case longint of
  189. 1 : (register,registerhigh : tregister);
  190. { overlay a registerlow }
  191. 2 : (registerlow : tregister);
  192. { overlay a 64 Bit register type }
  193. 3 : (reg64 : tregister64);
  194. 4 : (register64 : tregister64);
  195. );
  196. end;
  197. treglocation = packed record
  198. case longint of
  199. 1 : (register,registerhigh : tregister);
  200. { overlay a registerlow }
  201. 2 : (registerlow : tregister);
  202. { overlay a 64 Bit register type }
  203. 3 : (reg64 : tregister64);
  204. 4 : (register64 : tregister64);
  205. end;
  206. tlocation = packed record
  207. size : TCGSize;
  208. loc : tcgloc;
  209. case tcgloc of
  210. LOC_CREFERENCE,LOC_REFERENCE : (reference : treference);
  211. LOC_CONSTANT : (
  212. case longint of
  213. {$ifdef FPC_BIG_ENDIAN}
  214. 1 : (_valuedummy,value : AWord);
  215. {$else FPC_BIG_ENDIAN}
  216. 1 : (value : AWord);
  217. {$endif FPC_BIG_ENDIAN}
  218. { can't do this, this layout depends on the host cpu. Use }
  219. { lo(valueqword)/hi(valueqword) instead (JM) }
  220. { 2 : (valuelow, valuehigh:AWord); }
  221. { overlay a complete 64 Bit value }
  222. 3 : (valueqword : qword);
  223. );
  224. LOC_FPUREGISTER, LOC_CFPUREGISTER, LOC_MMREGISTER, LOC_CMMREGISTER,
  225. LOC_REGISTER,LOC_CREGISTER : (
  226. case longint of
  227. 1 : (registerlow,registerhigh : tregister);
  228. 2 : (register : tregister);
  229. { overlay a 64 Bit register type }
  230. 3 : (reg64 : tregister64);
  231. 4 : (register64 : tregister64);
  232. );
  233. LOC_FLAGS : (resflags : tresflags);
  234. end;
  235. {*****************************************************************************
  236. Constants
  237. *****************************************************************************}
  238. const
  239. max_operands = 3;
  240. {# Constant defining possibly all registers which might require saving }
  241. ALL_OTHERREGISTERS = [];
  242. general_superregisters = [RS_O0..RS_I7];
  243. {# Table of registers which can be allocated by the code generator
  244. internally, when generating the code.
  245. }
  246. { legend: }
  247. { xxxregs = set of all possibly used registers of that type in the code }
  248. { generator }
  249. { usableregsxxx = set of all 32bit components of registers that can be }
  250. { possible allocated to a regvar or using getregisterxxx (this }
  251. { excludes registers which can be only used for parameter }
  252. { passing on ABI's that define this) }
  253. { c_countusableregsxxx = amount of registers in the usableregsxxx set }
  254. maxintregs = 8;
  255. { to determine how many registers to use for regvars }
  256. maxintscratchregs = 3;
  257. usableregsint = [RS_L0..RS_L7];
  258. c_countusableregsint = 8;
  259. maxfpuregs = 8;
  260. usableregsfpu=[RS_F0..RS_F31];
  261. c_countusableregsfpu=32;
  262. mmregs = [];
  263. usableregsmm = [];
  264. c_countusableregsmm = 0;
  265. { no distinction on this platform }
  266. maxaddrregs = 0;
  267. addrregs = [];
  268. usableregsaddr = [];
  269. c_countusableregsaddr = 0;
  270. {$warning firstsaveintreg shall be RS_NO}
  271. firstsaveintreg = RS_L0; { Temporary, having RS_NO is broken }
  272. lastsaveintreg = RS_L0; { L0..L7 are already saved, I0..O7 are parameter }
  273. firstsavefpureg = RS_F2; { F0..F1 is used for return value }
  274. lastsavefpureg = RS_F31;
  275. firstsavemmreg = RS_INVALID;
  276. lastsavemmreg = RS_INVALID;
  277. maxvarregs = 8;
  278. varregs : Array [1..maxvarregs] of Tsuperregister =
  279. (RS_L0,RS_L1,RS_L2,RS_L3,RS_L4,RS_L5,RS_L6,RS_L7);
  280. maxfpuvarregs = 1;
  281. fpuvarregs : Array [1..maxfpuvarregs] of TsuperRegister =
  282. (RS_F2);
  283. {
  284. max_param_regs_int = 6;
  285. param_regs_int: Array[1..max_param_regs_int] of TCpuRegister =
  286. (R_3,R_4,R_5,R_6,R_7,R_8,R_9,R_10);
  287. max_param_regs_fpu = 13;
  288. param_regs_fpu: Array[1..max_param_regs_fpu] of TCpuRegister =
  289. (R_F1,R_F2,R_F3,R_F4,R_F5,R_F6,R_F7,R_F8,R_F9,R_F10,R_F11,R_F12,R_F13);
  290. max_param_regs_mm = 13;
  291. param_regs_mm: Array[1..max_param_regs_mm] of TCpuRegister =
  292. (R_M1,R_M2,R_M3,R_M4,R_M5,R_M6,R_M7,R_M8,R_M9,R_M10,R_M11,R_M12,R_M13);
  293. }
  294. {*****************************************************************************
  295. Default generic sizes
  296. *****************************************************************************}
  297. {# Defines the default address size for a processor, }
  298. OS_ADDR = OS_32;
  299. {# the natural int size for a processor, }
  300. OS_INT = OS_32;
  301. {# the maximum float size for a processor, }
  302. OS_FLOAT = OS_F64;
  303. {# the size of a vector register for a processor }
  304. OS_VECTOR = OS_M64;
  305. {*****************************************************************************
  306. Generic Register names
  307. *****************************************************************************}
  308. {# Stack pointer register }
  309. NR_STACK_POINTER_REG = NR_O6;
  310. RS_STACK_POINTER_REG = RS_O6;
  311. {# Frame pointer register }
  312. NR_FRAME_POINTER_REG = NR_I6;
  313. RS_FRAME_POINTER_REG = RS_I6;
  314. {# Register for addressing absolute data in a position independant way,
  315. such as in PIC code. The exact meaning is ABI specific. For
  316. further information look at GCC source : PIC_OFFSET_TABLE_REGNUM
  317. Taken from GCC rs6000.h
  318. }
  319. {$warning As indicated in rs6000.h, but can't find it anywhere else!}
  320. {PIC_OFFSET_REG = R_30;}
  321. { the return_result_reg, is used inside the called function to store its return
  322. value when that is a scalar value otherwise a pointer to the address of the
  323. result is placed inside it }
  324. { Results are returned in this register (32-bit values) }
  325. NR_FUNCTION_RETURN_REG = NR_I0;
  326. RS_FUNCTION_RETURN_REG = RS_I0;
  327. { Low part of 64bit return value }
  328. NR_FUNCTION_RETURN64_LOW_REG = NR_I1;
  329. RS_FUNCTION_RETURN64_LOW_REG = RS_I1;
  330. { High part of 64bit return value }
  331. NR_FUNCTION_RETURN64_HIGH_REG = NR_I0;
  332. RS_FUNCTION_RETURN64_HIGH_REG = RS_I0;
  333. { The value returned from a function is available in this register }
  334. NR_FUNCTION_RESULT_REG = NR_O0;
  335. RS_FUNCTION_RESULT_REG = RS_O0;
  336. { The lowh part of 64bit value returned from a function }
  337. NR_FUNCTION_RESULT64_LOW_REG = NR_O1;
  338. RS_FUNCTION_RESULT64_LOW_REG = RS_O1;
  339. { The high part of 64bit value returned from a function }
  340. NR_FUNCTION_RESULT64_HIGH_REG = NR_O0;
  341. RS_FUNCTION_RESULT64_HIGH_REG = RS_O0;
  342. NR_FPU_RESULT_REG = NR_F0;
  343. NR_MM_RESULT_REG = NR_NO;
  344. PARENT_FRAMEPOINTER_OFFSET = 68; { o0 }
  345. {*****************************************************************************
  346. GCC /ABI linking information
  347. *****************************************************************************}
  348. {# Registers which must be saved when calling a routine declared as
  349. cppdecl, cdecl, stdcall, safecall, palmossyscall. The registers
  350. saved should be the ones as defined in the target ABI and / or GCC.
  351. This value can be deduced from CALLED_USED_REGISTERS array in the
  352. GCC source.
  353. }
  354. std_saved_registers = [];
  355. {# Required parameter alignment when calling a routine declared as
  356. stdcall and cdecl. The alignment value should be the one defined
  357. by GCC or the target ABI.
  358. The value of this constant is equal to the constant
  359. PARM_BOUNDARY / BITS_PER_UNIT in the GCC source.
  360. }
  361. std_param_align = 4; { for 32-bit version only }
  362. {*****************************************************************************
  363. CPU Dependent Constants
  364. *****************************************************************************}
  365. const
  366. simm13lo=-4096;
  367. simm13hi=4095;
  368. {*****************************************************************************
  369. Helpers
  370. *****************************************************************************}
  371. function is_calljmp(o:tasmop):boolean;
  372. procedure inverse_flags(var f: TResFlags);
  373. function flags_to_cond(const f: TResFlags) : TAsmCond;
  374. function cgsize2subreg(s:Tcgsize):Tsubregister;
  375. function std_regname(r:Tregister):string;
  376. function gas_regname(r:Tregister):string;
  377. function std_regnum_search(const s:string):Tregister;
  378. function findreg_by_number(r:Tregister):tregisterindex;
  379. implementation
  380. uses
  381. rgBase,verbose;
  382. const
  383. std_regname_table : TRegNameTAble = (
  384. {$i rspstd.inc}
  385. );
  386. regnumber_index : TRegisterIndexTable = (
  387. {$i rsprni.inc}
  388. );
  389. std_regname_index : TRegisterIndexTable = (
  390. {$i rspsri.inc}
  391. );
  392. {*****************************************************************************
  393. Helpers
  394. *****************************************************************************}
  395. function is_calljmp(o:tasmop):boolean;
  396. const
  397. CallJmpOp=[A_JMPL..A_CBccc];
  398. begin
  399. is_calljmp:=(o in CallJmpOp);
  400. end;
  401. procedure inverse_flags(var f: TResFlags);
  402. const
  403. inv_flags: array[TResFlags] of TResFlags =
  404. (F_NE,F_E,F_LE,F_GE,F_L,F_G,F_NC,F_C,F_BE,F_B,F_AE,F_A);
  405. begin
  406. f:=inv_flags[f];
  407. end;
  408. function flags_to_cond(const f:TResFlags):TAsmCond;
  409. const
  410. flags_2_cond:array[TResFlags] of TAsmCond=
  411. (C_E,C_NE,C_G,C_L,C_GE,C_LE,C_C,C_NC,C_A,C_AE,C_B,C_BE);
  412. begin
  413. result:=flags_2_cond[f];
  414. end;
  415. function cgsize2subreg(s:Tcgsize):Tsubregister;
  416. begin
  417. cgsize2subreg:=R_SUBWHOLE;
  418. end;
  419. function std_regname(r:Tregister):string;
  420. var
  421. p : tregisterindex;
  422. begin
  423. p:=findreg_by_number_table(r,regnumber_index);
  424. if p<>0 then
  425. result:=std_regname_table[p]
  426. else
  427. result:=generic_regname(r);
  428. end;
  429. function std_regnum_search(const s:string):Tregister;
  430. begin
  431. result:=regnumber_table[findreg_by_name_table(s,std_regname_table,std_regname_index)];
  432. end;
  433. function findreg_by_number(r:Tregister):tregisterindex;
  434. begin
  435. result:=findreg_by_number_table(r,regnumber_index);
  436. end;
  437. function gas_regname(r:Tregister):string;
  438. var
  439. p : tregisterindex;
  440. begin
  441. p:=findreg_by_number_table(r,regnumber_index);
  442. if p<>0 then
  443. result:=std_regname_table[p]
  444. else
  445. result:=generic_regname(r);
  446. end;
  447. end.
  448. {
  449. $Log$
  450. Revision 1.58 2003-12-19 14:38:03 mazen
  451. * new TRegister definition applied
  452. Revision 1.57 2003/11/10 19:05:50 peter
  453. * fixed alias/colouring > 255
  454. Revision 1.56 2003/11/01 19:27:54 peter
  455. * 1.9.0
  456. Revision 1.55 2003/10/31 08:47:13 mazen
  457. * rgHelper renamed to rgBase
  458. * using findreg_by_<name|number>_table directly to decrease heap overheading
  459. Revision 1.54 2003/10/30 15:03:18 mazen
  460. * now uses standard routines in rgBase unit to search registers by number and by name
  461. Revision 1.53 2003/10/08 14:11:36 mazen
  462. + Alignement field added to TParaLocation (=4 as 32 bits archs)
  463. Revision 1.52 2003/10/01 20:34:50 peter
  464. * procinfo unit contains tprocinfo
  465. * cginfo renamed to cgbase
  466. * moved cgmessage to verbose
  467. * fixed ppc and sparc compiles
  468. Revision 1.51 2003/09/14 21:35:15 peter
  469. * new volatile registers proc
  470. Revision 1.50 2003/09/14 19:19:05 peter
  471. * updates for new ra
  472. Revision 1.49 2003/09/03 16:29:37 peter
  473. * superregisters also from .dat file
  474. Revision 1.48 2003/09/03 15:55:01 peter
  475. * NEWRA branch merged
  476. Revision 1.47.2.3 2003/09/02 17:49:17 peter
  477. * newra updates
  478. Revision 1.47.2.2 2003/09/01 21:02:55 peter
  479. * sparc updates for new tregister
  480. Revision 1.47.2.1 2003/08/31 21:08:16 peter
  481. * first batch of sparc fixes
  482. Revision 1.47 2003/08/19 13:22:51 mazen
  483. + implemented gas_regname based on convert_register_to_enum std_Reg2str
  484. Revision 1.46 2003/08/17 16:59:20 jonas
  485. * fixed regvars so they work with newra (at least for ppc)
  486. * fixed some volatile register bugs
  487. + -dnotranslation option for -dnewra, which causes the registers not to
  488. be translated from virtual to normal registers. Requires support in
  489. the assembler writer as well, which is only implemented in aggas/
  490. agppcgas currently
  491. Revision 1.45 2003/07/06 17:58:22 peter
  492. * framepointer fixes for sparc
  493. * parent framepointer code more generic
  494. Revision 1.44 2003/07/02 22:18:04 peter
  495. * paraloc splitted in callerparaloc,calleeparaloc
  496. * sparc calling convention updates
  497. Revision 1.43 2003/06/17 16:34:44 jonas
  498. * lots of newra fixes (need getfuncretparaloc implementation for i386)!
  499. * renamed all_intregisters to volatile_intregisters and made it
  500. processor dependent
  501. Revision 1.42 2003/06/13 21:08:30 peter
  502. * supreg_name added
  503. Revision 1.41 2003/06/12 19:11:34 jonas
  504. - removed ALL_INTREGISTERS (only the one in rgobj is valid)
  505. Revision 1.40 2003/06/04 21:00:54 mazen
  506. - making TOldRegister only declared for compatibility and
  507. no more used in cpubase
  508. Revision 1.39 2003/06/01 21:38:06 peter
  509. * getregisterfpu size parameter added
  510. * op_const_reg size parameter added
  511. * sparc updates
  512. Revision 1.38 2003/06/01 01:04:35 peter
  513. * reference fixes
  514. Revision 1.37 2003/05/31 15:05:28 peter
  515. * FUNCTION_RESULT64_LOW/HIGH_REG added for int64 results
  516. Revision 1.36 2003/05/31 01:00:51 peter
  517. * register fixes
  518. Revision 1.35 2003/05/30 23:57:08 peter
  519. * more sparc cleanup
  520. * accumulator removed, splitted in function_return_reg (called) and
  521. function_result_reg (caller)
  522. }