From 4fc4e4cb8836c41825c8df5358b39d33f42ae673 Mon Sep 17 00:00:00 2001 From: nickysn Date: Sun, 22 Sep 2013 15:06:45 +0000 Subject: [PATCH] * removed the dummy fpc_sin_real and fpc_cos_real that halt with a runtime error from the i8086 rtl, because the FSIN and FCOS instructions are 387+ and on earlier FPUs the real helper functions are needed. git-svn-id: trunk@25535 - --- rtl/i8086/math.inc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/rtl/i8086/math.inc b/rtl/i8086/math.inc index b60613cc52..ae3d1b359d 100644 --- a/rtl/i8086/math.inc +++ b/rtl/i8086/math.inc @@ -89,20 +89,6 @@ runerror(207); result:=0; end; - {$define FPC_SYSTEM_HAS_SIN} - function fpc_sin_real(d : ValReal) : ValReal;compilerproc; - begin - { Function is handled internal in the compiler } - runerror(207); - result:=0; - end; - {$define FPC_SYSTEM_HAS_COS} - function fpc_cos_real(d : ValReal) : ValReal;compilerproc; - begin - { Function is handled internal in the compiler } - runerror(207); - result:=0; - end; {$define FPC_SYSTEM_HAS_EXP} function fpc_exp_real(d : ValReal) : ValReal;assembler;compilerproc;