mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
Use pascal code for LLVM fpc_sqr_real, because fmultp instruction is not accepted by llvm
git-svn-id: trunk@47555 -
This commit is contained in:
parent
e4e1ea586c
commit
40b7af1025
@ -126,11 +126,8 @@ const
|
||||
runerror(207);
|
||||
result:=0;
|
||||
{$else not cpullvm}
|
||||
assembler;
|
||||
asm
|
||||
fldt d
|
||||
fldt %st(0)
|
||||
fmult
|
||||
begin
|
||||
fpc_sqr_real:=d*d;
|
||||
{$endif not cpullvm}
|
||||
end;
|
||||
{$endif FPC_SYSTEM_HAS_SQR}
|
||||
|
Loading…
Reference in New Issue
Block a user