cpubase.pas 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  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. { The stack pointer must be decreased by this value before
  197. the parameter is copied to the given destination.
  198. This allows to "encode" pushes with tparalocation.
  199. On the PowerPC, this field is unsed but it is there
  200. because several generic code accesses it.
  201. }
  202. sp_fixup : longint;
  203. case TCGLoc of
  204. LOC_REFERENCE : (reference : tparareference; low_in_reg: boolean; lowreg : tregister);
  205. LOC_FPUREGISTER, LOC_CFPUREGISTER, LOC_MMREGISTER, LOC_CMMREGISTER,
  206. LOC_REGISTER,LOC_CREGISTER : (
  207. case longint of
  208. 1 : (register,registerhigh : tregister);
  209. { overlay a registerlow }
  210. 2 : (registerlow : tregister);
  211. { overlay a 64 Bit register type }
  212. 3 : (reg64 : tregister64);
  213. 4 : (register64 : tregister64);
  214. );
  215. end;
  216. treglocation = packed record
  217. case longint of
  218. 1 : (register,registerhigh : tregister);
  219. { overlay a registerlow }
  220. 2 : (registerlow : tregister);
  221. { overlay a 64 Bit register type }
  222. 3 : (reg64 : tregister64);
  223. 4 : (register64 : tregister64);
  224. end;
  225. tlocation = packed record
  226. size : TCGSize;
  227. loc : tcgloc;
  228. case tcgloc of
  229. LOC_CREFERENCE,LOC_REFERENCE : (reference : treference);
  230. LOC_CONSTANT : (
  231. case longint of
  232. {$ifdef FPC_BIG_ENDIAN}
  233. 1 : (_valuedummy,value : AWord);
  234. {$else FPC_BIG_ENDIAN}
  235. 1 : (value : AWord);
  236. {$endif FPC_BIG_ENDIAN}
  237. { can't do this, this layout depends on the host cpu. Use }
  238. { lo(valueqword)/hi(valueqword) instead (JM) }
  239. { 2 : (valuelow, valuehigh:AWord); }
  240. { overlay a complete 64 Bit value }
  241. 3 : (valueqword : qword);
  242. );
  243. LOC_FPUREGISTER, LOC_CFPUREGISTER, LOC_MMREGISTER, LOC_CMMREGISTER,
  244. LOC_REGISTER,LOC_CREGISTER : (
  245. case longint of
  246. 1 : (registerlow,registerhigh : tregister);
  247. 2 : (register : tregister);
  248. { overlay a 64 Bit register type }
  249. 3 : (reg64 : tregister64);
  250. 4 : (register64 : tregister64);
  251. );
  252. LOC_FLAGS : (resflags : tresflags);
  253. end;
  254. {*****************************************************************************
  255. Constants
  256. *****************************************************************************}
  257. const
  258. max_operands = 3;
  259. {# Constant defining possibly all registers which might require saving }
  260. ALL_OTHERREGISTERS = [];
  261. general_superregisters = [RS_O0..RS_I7];
  262. {# Table of registers which can be allocated by the code generator
  263. internally, when generating the code.
  264. }
  265. { legend: }
  266. { xxxregs = set of all possibly used registers of that type in the code }
  267. { generator }
  268. { usableregsxxx = set of all 32bit components of registers that can be }
  269. { possible allocated to a regvar or using getregisterxxx (this }
  270. { excludes registers which can be only used for parameter }
  271. { passing on ABI's that define this) }
  272. { c_countusableregsxxx = amount of registers in the usableregsxxx set }
  273. maxintregs = 8;
  274. { to determine how many registers to use for regvars }
  275. maxintscratchregs = 3;
  276. usableregsint = [RS_L0..RS_L7];
  277. c_countusableregsint = 8;
  278. maxfpuregs = 8;
  279. usableregsfpu=[RS_F0..RS_F31];
  280. c_countusableregsfpu=32;
  281. mmregs = [];
  282. usableregsmm = [];
  283. c_countusableregsmm = 0;
  284. { no distinction on this platform }
  285. maxaddrregs = 0;
  286. addrregs = [];
  287. usableregsaddr = [];
  288. c_countusableregsaddr = 0;
  289. {$warning firstsaveintreg shall be RS_NO}
  290. firstsaveintreg = RS_L0; { Temporary, having RS_NO is broken }
  291. lastsaveintreg = RS_L0; { L0..L7 are already saved, I0..O7 are parameter }
  292. firstsavefpureg = RS_F2; { F0..F1 is used for return value }
  293. lastsavefpureg = RS_F31;
  294. firstsavemmreg = RS_INVALID;
  295. lastsavemmreg = RS_INVALID;
  296. maxvarregs = 8;
  297. varregs : Array [1..maxvarregs] of Tsuperregister =
  298. (RS_L0,RS_L1,RS_L2,RS_L3,RS_L4,RS_L5,RS_L6,RS_L7);
  299. maxfpuvarregs = 1;
  300. fpuvarregs : Array [1..maxfpuvarregs] of TsuperRegister =
  301. (RS_F2);
  302. {
  303. max_param_regs_int = 6;
  304. param_regs_int: Array[1..max_param_regs_int] of TCpuRegister =
  305. (R_3,R_4,R_5,R_6,R_7,R_8,R_9,R_10);
  306. max_param_regs_fpu = 13;
  307. param_regs_fpu: Array[1..max_param_regs_fpu] of TCpuRegister =
  308. (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);
  309. max_param_regs_mm = 13;
  310. param_regs_mm: Array[1..max_param_regs_mm] of TCpuRegister =
  311. (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);
  312. }
  313. {*****************************************************************************
  314. Default generic sizes
  315. *****************************************************************************}
  316. {# Defines the default address size for a processor, }
  317. OS_ADDR = OS_32;
  318. {# the natural int size for a processor, }
  319. OS_INT = OS_32;
  320. {# the maximum float size for a processor, }
  321. OS_FLOAT = OS_F64;
  322. {# the size of a vector register for a processor }
  323. OS_VECTOR = OS_M64;
  324. {*****************************************************************************
  325. Generic Register names
  326. *****************************************************************************}
  327. {# Stack pointer register }
  328. NR_STACK_POINTER_REG = NR_O6;
  329. RS_STACK_POINTER_REG = RS_O6;
  330. {# Frame pointer register }
  331. NR_FRAME_POINTER_REG = NR_I6;
  332. RS_FRAME_POINTER_REG = RS_I6;
  333. {# Register for addressing absolute data in a position independant way,
  334. such as in PIC code. The exact meaning is ABI specific. For
  335. further information look at GCC source : PIC_OFFSET_TABLE_REGNUM
  336. Taken from GCC rs6000.h
  337. }
  338. {$warning As indicated in rs6000.h, but can't find it anywhere else!}
  339. {PIC_OFFSET_REG = R_30;}
  340. { the return_result_reg, is used inside the called function to store its return
  341. value when that is a scalar value otherwise a pointer to the address of the
  342. result is placed inside it }
  343. { Results are returned in this register (32-bit values) }
  344. NR_FUNCTION_RETURN_REG = NR_I0;
  345. RS_FUNCTION_RETURN_REG = RS_I0;
  346. { Low part of 64bit return value }
  347. NR_FUNCTION_RETURN64_LOW_REG = NR_I1;
  348. RS_FUNCTION_RETURN64_LOW_REG = RS_I1;
  349. { High part of 64bit return value }
  350. NR_FUNCTION_RETURN64_HIGH_REG = NR_I0;
  351. RS_FUNCTION_RETURN64_HIGH_REG = RS_I0;
  352. { The value returned from a function is available in this register }
  353. NR_FUNCTION_RESULT_REG = NR_O0;
  354. RS_FUNCTION_RESULT_REG = RS_O0;
  355. { The lowh part of 64bit value returned from a function }
  356. NR_FUNCTION_RESULT64_LOW_REG = NR_O1;
  357. RS_FUNCTION_RESULT64_LOW_REG = RS_O1;
  358. { The high part of 64bit value returned from a function }
  359. NR_FUNCTION_RESULT64_HIGH_REG = NR_O0;
  360. RS_FUNCTION_RESULT64_HIGH_REG = RS_O0;
  361. NR_FPU_RESULT_REG = NR_F0;
  362. NR_MM_RESULT_REG = NR_NO;
  363. PARENT_FRAMEPOINTER_OFFSET = 68; { o0 }
  364. {*****************************************************************************
  365. GCC /ABI linking information
  366. *****************************************************************************}
  367. {# Registers which must be saved when calling a routine declared as
  368. cppdecl, cdecl, stdcall, safecall, palmossyscall. The registers
  369. saved should be the ones as defined in the target ABI and / or GCC.
  370. This value can be deduced from CALLED_USED_REGISTERS array in the
  371. GCC source.
  372. }
  373. std_saved_registers = [];
  374. {# Required parameter alignment when calling a routine declared as
  375. stdcall and cdecl. The alignment value should be the one defined
  376. by GCC or the target ABI.
  377. The value of this constant is equal to the constant
  378. PARM_BOUNDARY / BITS_PER_UNIT in the GCC source.
  379. }
  380. std_param_align = 4; { for 32-bit version only }
  381. {*****************************************************************************
  382. CPU Dependent Constants
  383. *****************************************************************************}
  384. const
  385. simm13lo=-4096;
  386. simm13hi=4095;
  387. {*****************************************************************************
  388. Helpers
  389. *****************************************************************************}
  390. function is_calljmp(o:tasmop):boolean;
  391. procedure inverse_flags(var f: TResFlags);
  392. function flags_to_cond(const f: TResFlags) : TAsmCond;
  393. function cgsize2subreg(s:Tcgsize):Tsubregister;
  394. function findreg_by_number(r:Tregister):tregisterindex;
  395. function std_regnum_search(const s:string):Tregister;
  396. function std_regname(r:Tregister):string;
  397. function gas_regname(r:Tregister):string;
  398. implementation
  399. uses
  400. verbose;
  401. const
  402. std_regname_table : array[tregisterindex] of string[7] = (
  403. {$i rspstd.inc}
  404. );
  405. regnumber_index : array[tregisterindex] of tregisterindex = (
  406. {$i rsprni.inc}
  407. );
  408. std_regname_index : array[tregisterindex] of tregisterindex = (
  409. {$i rspsri.inc}
  410. );
  411. {*****************************************************************************
  412. Helpers
  413. *****************************************************************************}
  414. function is_calljmp(o:tasmop):boolean;
  415. const
  416. CallJmpOp=[A_JMPL..A_CBccc];
  417. begin
  418. is_calljmp:=(o in CallJmpOp);
  419. end;
  420. procedure inverse_flags(var f: TResFlags);
  421. const
  422. inv_flags: array[TResFlags] of TResFlags =
  423. (F_NE,F_E,F_LE,F_GE,F_L,F_G,F_NC,F_C,F_BE,F_B,F_AE,F_A);
  424. begin
  425. f:=inv_flags[f];
  426. end;
  427. function flags_to_cond(const f:TResFlags):TAsmCond;
  428. const
  429. flags_2_cond:array[TResFlags] of TAsmCond=
  430. (C_E,C_NE,C_G,C_L,C_GE,C_LE,C_C,C_NC,C_A,C_AE,C_B,C_BE);
  431. begin
  432. result:=flags_2_cond[f];
  433. end;
  434. function cgsize2subreg(s:Tcgsize):Tsubregister;
  435. begin
  436. cgsize2subreg:=R_SUBWHOLE;
  437. end;
  438. function findreg_by_stdname(const s:string):byte;
  439. var
  440. i,p : tregisterindex;
  441. begin
  442. {Binary search.}
  443. p:=0;
  444. i:=regnumber_count_bsstart;
  445. repeat
  446. if (p+i<=high(tregisterindex)) and (std_regname_table[std_regname_index[p+i]]<=s) then
  447. p:=p+i;
  448. i:=i shr 1;
  449. until i=0;
  450. if std_regname_table[std_regname_index[p]]=s then
  451. result:=std_regname_index[p]
  452. else
  453. result:=0;
  454. end;
  455. function findreg_by_number(r:Tregister):tregisterindex;
  456. var
  457. i,p : tregisterindex;
  458. begin
  459. {Binary search.}
  460. p:=0;
  461. i:=regnumber_count_bsstart;
  462. repeat
  463. if (p+i<=high(tregisterindex)) and (regnumber_table[regnumber_index[p+i]]<=r) then
  464. p:=p+i;
  465. i:=i shr 1;
  466. until i=0;
  467. if regnumber_table[regnumber_index[p]]=r then
  468. result:=regnumber_index[p]
  469. else
  470. result:=0;
  471. end;
  472. function std_regnum_search(const s:string):Tregister;
  473. begin
  474. result:=regnumber_table[findreg_by_stdname(s)];
  475. end;
  476. function std_regname(r:Tregister):string;
  477. var
  478. p : tregisterindex;
  479. begin
  480. p:=findreg_by_number(r);
  481. if p<>0 then
  482. result:=std_regname_table[p]
  483. else
  484. result:=generic_regname(r);
  485. end;
  486. function gas_regname(r:Tregister):string;
  487. var
  488. p : tregisterindex;
  489. begin
  490. p:=findreg_by_number(r);
  491. if p<>0 then
  492. result:=std_regname_table[p]
  493. else
  494. result:=generic_regname(r);
  495. end;
  496. end.
  497. {
  498. $Log$
  499. Revision 1.52 2003-10-01 20:34:50 peter
  500. * procinfo unit contains tprocinfo
  501. * cginfo renamed to cgbase
  502. * moved cgmessage to verbose
  503. * fixed ppc and sparc compiles
  504. Revision 1.51 2003/09/14 21:35:15 peter
  505. * new volatile registers proc
  506. Revision 1.50 2003/09/14 19:19:05 peter
  507. * updates for new ra
  508. Revision 1.49 2003/09/03 16:29:37 peter
  509. * superregisters also from .dat file
  510. Revision 1.48 2003/09/03 15:55:01 peter
  511. * NEWRA branch merged
  512. Revision 1.47.2.3 2003/09/02 17:49:17 peter
  513. * newra updates
  514. Revision 1.47.2.2 2003/09/01 21:02:55 peter
  515. * sparc updates for new tregister
  516. Revision 1.47.2.1 2003/08/31 21:08:16 peter
  517. * first batch of sparc fixes
  518. Revision 1.47 2003/08/19 13:22:51 mazen
  519. + implemented gas_regname based on convert_register_to_enum std_Reg2str
  520. Revision 1.46 2003/08/17 16:59:20 jonas
  521. * fixed regvars so they work with newra (at least for ppc)
  522. * fixed some volatile register bugs
  523. + -dnotranslation option for -dnewra, which causes the registers not to
  524. be translated from virtual to normal registers. Requires support in
  525. the assembler writer as well, which is only implemented in aggas/
  526. agppcgas currently
  527. Revision 1.45 2003/07/06 17:58:22 peter
  528. * framepointer fixes for sparc
  529. * parent framepointer code more generic
  530. Revision 1.44 2003/07/02 22:18:04 peter
  531. * paraloc splitted in callerparaloc,calleeparaloc
  532. * sparc calling convention updates
  533. Revision 1.43 2003/06/17 16:34:44 jonas
  534. * lots of newra fixes (need getfuncretparaloc implementation for i386)!
  535. * renamed all_intregisters to volatile_intregisters and made it
  536. processor dependent
  537. Revision 1.42 2003/06/13 21:08:30 peter
  538. * supreg_name added
  539. Revision 1.41 2003/06/12 19:11:34 jonas
  540. - removed ALL_INTREGISTERS (only the one in rgobj is valid)
  541. Revision 1.40 2003/06/04 21:00:54 mazen
  542. - making TOldRegister only declared for compatibility and
  543. no more used in cpubase
  544. Revision 1.39 2003/06/01 21:38:06 peter
  545. * getregisterfpu size parameter added
  546. * op_const_reg size parameter added
  547. * sparc updates
  548. Revision 1.38 2003/06/01 01:04:35 peter
  549. * reference fixes
  550. Revision 1.37 2003/05/31 15:05:28 peter
  551. * FUNCTION_RESULT64_LOW/HIGH_REG added for int64 results
  552. Revision 1.36 2003/05/31 01:00:51 peter
  553. * register fixes
  554. Revision 1.35 2003/05/30 23:57:08 peter
  555. * more sparc cleanup
  556. * accumulator removed, splitted in function_return_reg (called) and
  557. function_result_reg (caller)
  558. }