cpubase.pas 22 KB

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