* fpuvaroffset not increased for f32bit float type

This commit is contained in:
pierre 1999-08-10 13:21:08 +00:00
parent d85a8886fd
commit aca546d6d2

View File

@ -414,7 +414,8 @@ implementation
floatdef : floatdef :
begin begin
emitcall(rdwrprefix[doread]+'FLOAT'); emitcall(rdwrprefix[doread]+'FLOAT');
inc(fpuvaroffset); if pfloatdef(p^.resulttype)^.typ<>f32bit then
inc(fpuvaroffset);
if doread then if doread then
StoreDirectFuncResult(hp^.left); StoreDirectFuncResult(hp^.left);
end; end;
@ -702,7 +703,8 @@ implementation
floatdef: floatdef:
begin begin
procedureprefix := 'FPC_VAL_REAL_'; procedureprefix := 'FPC_VAL_REAL_';
inc(fpuvaroffset); if pfloatdef(p^.resulttype)^.typ<>f32bit then
inc(fpuvaroffset);
end; end;
orddef: orddef:
if is_64bitint(dest_para^.resulttype) then if is_64bitint(dest_para^.resulttype) then
@ -1317,7 +1319,10 @@ implementation
end. end.
{ {
$Log$ $Log$
Revision 1.66 1999-08-10 12:47:53 pierre Revision 1.67 1999-08-10 13:21:08 pierre
* fpuvaroffset not increased for f32bit float type
Revision 1.66 1999/08/10 12:47:53 pierre
* fpuvaroffset problems solved * fpuvaroffset problems solved
Revision 1.65 1999/08/04 00:22:47 florian Revision 1.65 1999/08/04 00:22:47 florian