cpubase.pas 23 KB

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