mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 11:24:14 +02:00
* estimate complexity of ordconst node better on RiscV
This commit is contained in:
parent
00d5351b55
commit
dd26c1502c
@ -927,6 +927,10 @@ implementation
|
||||
if not(is_shifter_const(aint(tordconstnode(p).value.svalue),dummy)) then
|
||||
result:=2;
|
||||
{$endif ARM}
|
||||
{$ifdef RISCV}
|
||||
if not(is_imm12(aint(tordconstnode(p).value.svalue))) then
|
||||
result:=2;
|
||||
{$endif RISCV}
|
||||
exit;
|
||||
end;
|
||||
exitn:
|
||||
|
Loading…
Reference in New Issue
Block a user