summaryrefslogtreecommitdiff
path: root/apps/codecs/lib/setjmp_cf.S
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/lib/setjmp_cf.S')
-rw-r--r--apps/codecs/lib/setjmp_cf.S60
1 files changed, 30 insertions, 30 deletions
diff --git a/apps/codecs/lib/setjmp_cf.S b/apps/codecs/lib/setjmp_cf.S
index acc98c3f59..86eda8079c 100644
--- a/apps/codecs/lib/setjmp_cf.S
+++ b/apps/codecs/lib/setjmp_cf.S
@@ -34,46 +34,46 @@
34.global SYM (longjmp) 34.global SYM (longjmp)
35 35
36SYM (setjmp): 36SYM (setjmp):
37 moveal sp@(4),a0 37 moveal sp@(4),a0
38 movel sp@(0),a0@(12) 38 movel sp@(0),a0@(12)
39 movel sp,a0@(8) 39 movel sp,a0@(8)
40 moveml d2-d7/a2-a6,a0@(20) 40 moveml d2-d7/a2-a6,a0@(20)
41 clrl d0 41 clrl d0
42 rts 42 rts
43 43
44SYM (longjmp): 44SYM (longjmp):
45 moveal sp@(4),a0 45 moveal sp@(4),a0
46 movel sp@(8),d0 46 movel sp@(8),d0
47 bne 1f 47 bne 1f
48 movel &1,d0 48 movel &1,d0
491: 491:
50 moveml a0@(20),d2-d7/a2-a6 50 moveml a0@(20),d2-d7/a2-a6
51 moveal a0@(8),sp 51 moveal a0@(8),sp
52 movel a0@(12),sp@ 52 movel a0@(12),sp@
53 rts 53 rts
54 54
55#ifdef M68881 55#ifdef M68881
56.global SYM (setjmp_68881) 56.global SYM (setjmp_68881)
57.global SYM (longjmp_68881) 57.global SYM (longjmp_68881)
58 58
59SYM (setjmp_68881): 59SYM (setjmp_68881):
60 moveal sp@(4),a0 60 moveal sp@(4),a0
61 movel sp@(0),a0@(12) 61 movel sp@(0),a0@(12)
62 movel sp,a0@(8) 62 movel sp,a0@(8)
63 moveml d2-d7/a2-a6,a0@(20) 63 moveml d2-d7/a2-a6,a0@(20)
64 fmovemx fp2-fp7,a0@(64) 64 fmovemx fp2-fp7,a0@(64)
65 clrl d0 65 clrl d0
66 rts 66 rts
67 67
68SYM (longjmp_68881): 68SYM (longjmp_68881):
69 moveal sp@(4),a0 69 moveal sp@(4),a0
70 fmovemx a0@(64),fp2-fp7 70 fmovemx a0@(64),fp2-fp7
71 movel sp@(8),d0 71 movel sp@(8),d0
72 bne 1f 72 bne 1f
73 movel &1,d0 73 movel &1,d0
741: 741:
75 moveml a0@(20),d2-d7/a2-a6 75 moveml a0@(20),d2-d7/a2-a6
76 moveal a0@(8),sp 76 moveal a0@(8),sp
77 movel a0@(12),sp@ 77 movel a0@(12),sp@
78 rts 78 rts
79#endif 79#endif