Forráskód Böngészése

* Coldfire does not support EXG, so do it the old fashioned way (but before restoring the stored registers)

git-svn-id: trunk@38043 -
svenbarth 7 éve
szülő
commit
b7cdec3a2a
1 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      rtl/m68k/int64p.inc

+ 4 - 1
rtl/m68k/int64p.inc

@@ -80,11 +80,14 @@ asm
 @xit:
 {$ifndef CPUCOLDFIRE}
     movem.l  (sp)+,d2-d5
+    exg.l    d0,d1
 {$else}
+    move.l   d0,d2
+    move.l   d1,d0
+    move.l   d2,d1
     movem.l  (sp),d2-d5
     tst.l    (sp)+
 {$endif}
-    exg.l    d0,d1
     rts
 
 @xit0: