mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 21:28:03 +02:00
* FCVT.W.D returns only a 32 bit int
This commit is contained in:
parent
88ca756f19
commit
8dcf4e62b7
@ -117,7 +117,11 @@ implementation
|
||||
|
||||
function trvinlinenode.first_round_real: tnode;
|
||||
begin
|
||||
if (current_settings.fputype >= fpu_fd) then
|
||||
if
|
||||
{$ifdef RISCV32}
|
||||
is_32bitint(resultdef) and
|
||||
{$endif RISCV32}
|
||||
(current_settings.fputype >= fpu_fd) then
|
||||
begin
|
||||
expectloc:=LOC_FPUREGISTER;
|
||||
first_round_real := nil;
|
||||
@ -131,7 +135,11 @@ implementation
|
||||
|
||||
function trvinlinenode.first_trunc_real: tnode;
|
||||
begin
|
||||
if (current_settings.fputype >= fpu_fd) then
|
||||
if
|
||||
{$ifdef RISCV32}
|
||||
is_32bitint(resultdef) and
|
||||
{$endif RISCV32}
|
||||
(current_settings.fputype >= fpu_fd) then
|
||||
begin
|
||||
expectloc:=LOC_FPUREGISTER;
|
||||
first_trunc_real := nil;
|
||||
|
Loading…
Reference in New Issue
Block a user