Browse Source

Fix broken ldrd assembler syntax in RTL

git-svn-id: trunk@29187 -
Jeppe Johansen 10 năm trước cách đây
mục cha
commit
d4461efae3
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;
   asm
     bic r0,sp,#7
-    ldrd r0,[r0]
+    ldrd r0,r1,[r0]
   end;
   in_edsp_test:=false;
   if cpu_has_edsp then

+ 1 - 1
rtl/arm/thumb2.inc

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