cpubase.pas 22 KB

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