• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.global __setjmp
2.global _setjmp
3.global setjmp
4.type __setjmp, %function
5.type _setjmp,  %function
6.type setjmp,   %function
7__setjmp:
8_setjmp:
9setjmp:
10	sd s0,    0(a0)
11	sd s1,    8(a0)
12	sd s2,    16(a0)
13	sd s3,    24(a0)
14	sd s4,    32(a0)
15	sd s5,    40(a0)
16	sd s6,    48(a0)
17	sd s7,    56(a0)
18	sd s8,    64(a0)
19	sd s9,    72(a0)
20	sd s10,   80(a0)
21	sd s11,   88(a0)
22	sd sp,    96(a0)
23	sd ra,    104(a0)
24
25#ifndef __riscv_float_abi_soft
26	fsd fs0,  112(a0)
27	fsd fs1,  120(a0)
28	fsd fs2,  128(a0)
29	fsd fs3,  136(a0)
30	fsd fs4,  144(a0)
31	fsd fs5,  152(a0)
32	fsd fs6,  160(a0)
33	fsd fs7,  168(a0)
34	fsd fs8,  176(a0)
35	fsd fs9,  184(a0)
36	fsd fs10, 192(a0)
37	fsd fs11, 200(a0)
38#endif
39
40	li a0, 0
41	ret
42