mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 04:19:30 +02:00
* MIPS: don't generate FPU code for int to real conversion when FPU emulation is enabled
This commit is contained in:
parent
bf7bf44727
commit
b077d17cdd
@ -74,6 +74,11 @@ function tmipseltypeconvnode.first_int_to_real: tnode;
|
||||
var
|
||||
fname: string[19];
|
||||
begin
|
||||
if cs_fp_emulation in current_settings.moduleswitches then
|
||||
begin
|
||||
result:=inherited;
|
||||
exit;
|
||||
end;
|
||||
{ converting a 64bit integer to a float requires a helper }
|
||||
if is_64bitint(left.resultdef) or
|
||||
is_currency(left.resultdef) then
|
||||
|
Loading…
Reference in New Issue
Block a user