mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 16:45:56 +02:00
* Fixed Abs and Sqrt in hardfloat mode on arm.
git-svn-id: trunk@7980 -
This commit is contained in:
parent
44e07cd098
commit
09fa6b5893
@ -167,7 +167,7 @@ implementation
|
||||
procedure tarminlinenode.second_abs_real;
|
||||
begin
|
||||
load_fpu_location;
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_ABS,location.register,location.register),get_fpu_postfix(resultdef)));
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_ABS,location.register,left.location.register),get_fpu_postfix(resultdef)));
|
||||
end;
|
||||
|
||||
|
||||
@ -181,7 +181,7 @@ implementation
|
||||
procedure tarminlinenode.second_sqrt_real;
|
||||
begin
|
||||
load_fpu_location;
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_SQT,location.register,location.register),get_fpu_postfix(resultdef)));
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_SQT,location.register,left.location.register),get_fpu_postfix(resultdef)));
|
||||
end;
|
||||
|
||||
|
||||
@ -189,27 +189,27 @@ implementation
|
||||
procedure tarminlinenode.second_arctan_real;
|
||||
begin
|
||||
load_fpu_location;
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_ATN,location.register,location.register),get_fpu_postfix(resultdef)));
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_ATN,location.register,left.location.register),get_fpu_postfix(resultdef)));
|
||||
end;
|
||||
|
||||
|
||||
procedure tarminlinenode.second_ln_real;
|
||||
begin
|
||||
load_fpu_location;
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_LGN,location.register,location.register),get_fpu_postfix(resultdef)));
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_LGN,location.register,left.location.register),get_fpu_postfix(resultdef)));
|
||||
end;
|
||||
|
||||
procedure tarminlinenode.second_cos_real;
|
||||
begin
|
||||
load_fpu_location;
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_COS,location.register,location.register),get_fpu_postfix(resultdef)));
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_COS,location.register,left.location.register),get_fpu_postfix(resultdef)));
|
||||
end;
|
||||
|
||||
|
||||
procedure tarminlinenode.second_sin_real;
|
||||
begin
|
||||
load_fpu_location;
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_SIN,location.register,location.register),get_fpu_postfix(resultdef)));
|
||||
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_SIN,location.register,left.location.register),get_fpu_postfix(resultdef)));
|
||||
end;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user