typo..
[AROS.git] / arch / ppc-all / posixc / siglongjmp.s
blob05af72d9cb520f52b34f1dc2ad9e3b724d42459d
1 /*
2 Copyright © 2015, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: POSIX.1-2008 function siglongjmp()
6 Lang: english
7 */
9 #include "aros/ppc/asm.h"
11 .text
12 _ALIGNMENT
13 .globl AROS_CDEFNAME(siglongjmp)
14 _FUNCTION(siglongjmp)
15 AROS_CDEFNAME(siglongjmp):
16 cmpi 0,1,%r4,0
17 bne okret
18 li %r4,1
19 okret:
20 lwz %r1, 4(3)
21 lwz %r2, 8(3)
22 lwz %r0, 0(3)
23 lwz %r14, 16(3)
24 lfd %f14, 88(3)
25 lwz %r15, 20(3)
26 lfd %f15, 96(3)
27 lwz %r16, 24(3)
28 lfd %f16,104(3)
29 lwz %r17, 28(3)
30 lfd %f17,112(3)
31 lwz %r18, 32(3)
32 lfd %f18,120(3)
33 lwz %r19, 36(3)
34 lfd %f19,128(3)
35 lwz %r20, 40(3)
36 lfd %f20,136(3)
37 mtlr %r0
38 lwz %r21, 44(3)
39 lfd %f21,144(3)
40 lwz %r22, 48(3)
41 lfd %f22,152(3)
42 lwz %r0, 12(3)
43 lwz %r23, 52(3)
44 lfd %f23,160(3)
45 lwz %r24, 56(3)
46 lfd %f24,168(3)
47 lwz %r25, 60(3)
48 lfd %f25,176(3)
49 mtcrf 0xFF,%r0
50 lwz %r26, 64(3)
51 lfd %f26,184(3)
52 lwz %r27, 68(3)
53 lfd %f27,192(3)
54 lwz %r28, 72(3)
55 lfd %f28,200(3)
56 lwz %r29, 76(3)
57 lfd %f29,208(3)
58 lwz %r30, 80(3)
59 lfd %f30,216(3)
60 lwz %r31, 84(3)
61 lfd %f31,224(3)
62 mr %r3,%r4
63 blr