|
@@ -4065,7 +4065,7 @@ implementation
|
|
begin
|
|
begin
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
- first_arctan_real := ccallnode.createintern('fpc_arctan_real',
|
|
|
|
|
|
+ result := ccallnode.createintern('fpc_arctan_real',
|
|
ccallparanode.create(left,nil));
|
|
ccallparanode.create(left,nil));
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
@@ -4074,8 +4074,9 @@ implementation
|
|
begin
|
|
begin
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
- first_abs_real := ctypeconvnode.create(ccallnode.createintern('fpc_abs_real',
|
|
|
|
|
|
+ result := ctypeconvnode.create(ccallnode.createintern('fpc_abs_real',
|
|
ccallparanode.create(left,nil)),resultdef);
|
|
ccallparanode.create(left,nil)),resultdef);
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -4088,8 +4089,9 @@ implementation
|
|
{$endif cpufpemu}
|
|
{$endif cpufpemu}
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
- first_sqr_real := ctypeconvnode.create(ccallnode.createintern('fpc_sqr_real',
|
|
|
|
|
|
+ result := ctypeconvnode.create(ccallnode.createintern('fpc_sqr_real',
|
|
ccallparanode.create(left,nil)),resultdef);
|
|
ccallparanode.create(left,nil)),resultdef);
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -4121,15 +4123,16 @@ implementation
|
|
else
|
|
else
|
|
internalerror(2014052101);
|
|
internalerror(2014052101);
|
|
end;
|
|
end;
|
|
- first_sqrt_real:=ctypeconvnode.create_internal(ccallnode.createintern(procname,ccallparanode.create(
|
|
|
|
|
|
+ result:=ctypeconvnode.create_internal(ccallnode.createintern(procname,ccallparanode.create(
|
|
ctypeconvnode.create_internal(left,fdef),nil)),resultdef);
|
|
ctypeconvnode.create_internal(left,fdef),nil)),resultdef);
|
|
end
|
|
end
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
- first_sqrt_real := ctypeconvnode.create(ccallnode.createintern('fpc_sqrt_real',
|
|
|
|
|
|
+ result := ctypeconvnode.create(ccallnode.createintern('fpc_sqrt_real',
|
|
ccallparanode.create(left,nil)),resultdef);
|
|
ccallparanode.create(left,nil)),resultdef);
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
end;
|
|
end;
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
@@ -4138,8 +4141,9 @@ implementation
|
|
begin
|
|
begin
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
- first_ln_real := ccallnode.createintern('fpc_ln_real',
|
|
|
|
|
|
+ result := ccallnode.createintern('fpc_ln_real',
|
|
ccallparanode.create(left,nil));
|
|
ccallparanode.create(left,nil));
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -4147,8 +4151,9 @@ implementation
|
|
begin
|
|
begin
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
- first_cos_real := ccallnode.createintern('fpc_cos_real',
|
|
|
|
|
|
+ result := ccallnode.createintern('fpc_cos_real',
|
|
ccallparanode.create(left,nil));
|
|
ccallparanode.create(left,nil));
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -4156,8 +4161,9 @@ implementation
|
|
begin
|
|
begin
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
- first_sin_real := ccallnode.createintern('fpc_sin_real',
|
|
|
|
|
|
+ result := ccallnode.createintern('fpc_sin_real',
|
|
ccallparanode.create(left,nil));
|
|
ccallparanode.create(left,nil));
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -4166,6 +4172,7 @@ implementation
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
result := ccallnode.createintern('fpc_exp_real',ccallparanode.create(left,nil));
|
|
result := ccallnode.createintern('fpc_exp_real',ccallparanode.create(left,nil));
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -4174,6 +4181,7 @@ implementation
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
result := ccallnode.createintern('fpc_int_real',ccallparanode.create(left,nil));
|
|
result := ccallnode.createintern('fpc_int_real',ccallparanode.create(left,nil));
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -4182,6 +4190,7 @@ implementation
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
result := ccallnode.createintern('fpc_frac_real',ccallparanode.create(left,nil));
|
|
result := ccallnode.createintern('fpc_frac_real',ccallparanode.create(left,nil));
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -4190,6 +4199,7 @@ implementation
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
result := ccallnode.createintern('fpc_round_real',ccallparanode.create(left,nil));
|
|
result := ccallnode.createintern('fpc_round_real',ccallparanode.create(left,nil));
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -4198,6 +4208,7 @@ implementation
|
|
{ create the call to the helper }
|
|
{ create the call to the helper }
|
|
{ on entry left node contains the parameter }
|
|
{ on entry left node contains the parameter }
|
|
result := ccallnode.createintern('fpc_trunc_real',ccallparanode.create(left,nil));
|
|
result := ccallnode.createintern('fpc_trunc_real',ccallparanode.create(left,nil));
|
|
|
|
+ include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
|
|
left := nil;
|
|
left := nil;
|
|
end;
|
|
end;
|
|
|
|
|