Ver Fonte

Fix broken ldrd assembler syntax in RTL

git-svn-id: trunk@29187 -
Jeppe Johansen há 10 anos atrás
pai
commit
d4461efae3
2 ficheiros alterados com 2 adições e 2 exclusões
  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