@@ -622,6 +622,9 @@ implementation
A_LD,
{$endif riscv64}
A_ADD,
+{$ifdef riscv64}
+ A_ADDIW,
+{$endif riscv64}
A_DIV,
A_DIVU,
{$ifdef riscv64}
@@ -58,7 +58,7 @@ implementation
procedure trvcasenode.optimizevalues(var max_linear_list : int64; var max_dist : qword);
begin
- max_linear_list := 3;
+ max_linear_list:=3;
end;
@@ -1597,7 +1597,7 @@ procedure fpc_cpuinit;
fast_large_repmovstosb:=cpuid7_ebx and (1 shl 9)<>0;
{$endif}
{ XGETBV support? }
- if (cpuid1_ecx and $8000000)<>0 then
+ if (cpuid1_ecx and $8000000)<>0 then
asm
xorl %ecx,%ecx