瀏覽代碼

Fix broken ldrd assembler syntax in RTL

git-svn-id: trunk@29187 -
Jeppe Johansen 10 年之前
父節點
當前提交
d4461efae3
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      rtl/arm/arm.inc
  2. 1 1
      rtl/arm/thumb2.inc

+ 1 - 1
rtl/arm/arm.inc

@@ -962,7 +962,7 @@ begin
   in_edsp_test:=true;
   in_edsp_test:=true;
   asm
   asm
     bic r0,sp,#7
     bic r0,sp,#7
-    ldrd r0,[r0]
+    ldrd r0,r1,[r0]
   end;
   end;
   in_edsp_test:=false;
   in_edsp_test:=false;
   if cpu_has_edsp then
   if cpu_has_edsp then

+ 1 - 1
rtl/arm/thumb2.inc

@@ -584,7 +584,7 @@ begin
   asm
   asm
     mov r1,sp
     mov r1,sp
     bic r0,r1,#7
     bic r0,r1,#7
-    ldrd r0,[r0]
+    ldrd r0,r1,[r0]
   end;
   end;
   in_edsp_test:=false;
   in_edsp_test:=false;
   if cpu_has_edsp then
   if cpu_has_edsp then