浏览代码

* arm thumb does not support ror reg1,reg2,#imm

git-svn-id: trunk@25355 -
florian 12 年之前
父节点
当前提交
f34bee1df7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/arm/cgcpu.pas

+ 1 - 1
compiler/arm/cgcpu.pas

@@ -4052,7 +4052,7 @@ unit cgcpu;
                 list.concat(taicpu.op_reg_reg_const(op_reg_reg_opcg2asmop[op],dst,dst,imm2));
                 list.concat(taicpu.op_reg_reg_const(op_reg_reg_opcg2asmop[op],dst,dst,imm2));
               end
               end
 {$endif DUMMY}
 {$endif DUMMY}
-            else if (op in [OP_SHL, OP_SHR, OP_SAR, OP_ROR]) then
+            else if (op in [OP_SHL, OP_SHR, OP_SAR]) then
               begin
               begin
                 list.concat(taicpu.op_reg_reg_const(op_reg_opcg2asmop[op],dst,dst,a));
                 list.concat(taicpu.op_reg_reg_const(op_reg_opcg2asmop[op],dst,dst,a));
               end
               end