浏览代码

* "fast lane" code and comment fixed

florian 3 年之前
父节点
当前提交
ea659cbc20
共有 1 个文件被更改,包括 2 次插入2 次删除
  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