mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 12:29:17 +02:00
+ enable use of vfma and friends on arm when doing fastmath optimizations
git-svn-id: trunk@33188 -
This commit is contained in:
parent
ad71b8348e
commit
e1546303f8
@ -34,6 +34,7 @@ interface
|
||||
function GetResFlags(unsigned:Boolean):TResFlags;
|
||||
function GetFpuResFlags:TResFlags;
|
||||
public
|
||||
function use_fma : boolean;override;
|
||||
function pass_1 : tnode;override;
|
||||
function use_generic_mul32to64: boolean; override;
|
||||
function use_generic_mul64bit: boolean; override;
|
||||
@ -158,6 +159,12 @@ interface
|
||||
end;
|
||||
|
||||
|
||||
function tarmaddnode.use_fma : boolean;
|
||||
begin
|
||||
Result:=current_settings.fputype in [fpu_vfpv4];
|
||||
end;
|
||||
|
||||
|
||||
procedure tarmaddnode.second_addfloat;
|
||||
var
|
||||
op : TAsmOp;
|
||||
|
Loading…
Reference in New Issue
Block a user