|
@@ -558,6 +558,9 @@ unit cgobj;
|
|
|
{ override to catch 64bit rangechecks }
|
|
|
procedure g_rangecheck64(list: TAsmList; const l:tlocation; fromdef,todef: tdef);virtual;abstract;
|
|
|
end;
|
|
|
+
|
|
|
+ { Creates a tregister64 record from 2 32 Bit registers. }
|
|
|
+ function joinreg64(reglo,reghi : tregister) : tregister64;
|
|
|
{$endif cpu64bitalu}
|
|
|
|
|
|
var
|
|
@@ -2503,6 +2506,13 @@ implementation
|
|
|
*****************************************************************************}
|
|
|
|
|
|
{$ifndef cpu64bitalu}
|
|
|
+ function joinreg64(reglo,reghi : tregister) : tregister64;
|
|
|
+ begin
|
|
|
+ result.reglo:=reglo;
|
|
|
+ result.reghi:=reghi;
|
|
|
+ end;
|
|
|
+
|
|
|
+
|
|
|
procedure tcg64.a_op64_const_reg_reg(list: TAsmList;op:TOpCG;size : tcgsize;value : int64; regsrc,regdst : tregister64);
|
|
|
begin
|
|
|
a_load64_reg_reg(list,regsrc,regdst);
|