Browse Source

* "fast lane" code and comment fixed

florian 3 years ago
parent
commit
ea659cbc20
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/riscv/rarvgas.pas

+ 2 - 2
compiler/riscv/rarvgas.pas

@@ -764,9 +764,9 @@ unit rarvgas;
       begin
         result:=inherited is_register(s);
         { reg found?
-          possible aliases are always 2 char
+          possible aliases are always 2 to 4 chars
         }
-        if result or (not (length(s) in [2,3])) then
+        if result or (not (length(s) in [2..4])) then
           exit;
         for i:=low(extraregs) to high(extraregs) do
           begin