瀏覽代碼

+ Xtensa: tcgcpu.a_op_const_reg

git-svn-id: trunk@44339 -
florian 5 年之前
父節點
當前提交
a156a9246b
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      compiler/xtensa/cgcpu.pas

+ 3 - 5
compiler/xtensa/cgcpu.pas

@@ -399,8 +399,7 @@ implementation
       end;
       end;
 
 
 
 
-    procedure tcgcpu.a_op_reg_reg(list : TAsmList; op : topcg; size : tcgsize;
-      src,dst : tregister);
+    procedure tcgcpu.a_op_reg_reg(list : TAsmList; op : topcg; size : tcgsize; src,dst : tregister);
       var
       var
         tmpreg : TRegister;
         tmpreg : TRegister;
       begin
       begin
@@ -421,10 +420,9 @@ implementation
       end;
       end;
 
 
 
 
-    procedure tcgcpu.a_op_const_reg(list : TAsmList; op : topcg;
-     size : tcgsize; a : tcgint; reg : tregister);
+    procedure tcgcpu.a_op_const_reg(list : TAsmList; op : topcg; size : tcgsize; a : tcgint; reg : tregister);
       begin
       begin
-        list.Concat(taicpu.op_none(A_NOP));
+        a_op_const_reg_reg(list,op,size,a,reg,reg);
       end;
       end;