瀏覽代碼

Add A_ST_R and A_LD_R instruction alias for whole register size store/load

git-svn-id: trunk@36792 -
pierre 8 年之前
父節點
當前提交
f5dfbb5ff3
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      compiler/sparcgen/cpubase.pas

+ 7 - 0
compiler/sparcgen/cpubase.pas

@@ -92,6 +92,10 @@ uses
       regdwarf_table : array[tregisterindex] of ShortInt = (
         {$i rspdwrf.inc}
       );
+
+      { Aliases for full register LoadStore instructions }
+      A_ST_R = A_ST;
+      A_LD_R = A_LD;
 {$endif SPARC}
 
 {$ifdef SPARC64}
@@ -131,6 +135,9 @@ uses
       regdwarf_table : array[tregisterindex] of ShortInt = (
         {$i rsp64dwrf.inc}
       );
+      { Aliases for full register LoadStore instructions }
+      A_ST_R = A_STX;
+      A_LD_R = A_LDX;
 {$endif SPARC64}
 
 {*****************************************************************************