mirror of
https://github.com/fluencelabs/musl
synced 2025-04-24 23:02:14 +00:00
three ABIs are supported: the default with 68881 80-bit fpu format and results returned in floating point registers, softfloat-only with the same format, and coldfire fpu with IEEE single/double only. only the first is tested at all, and only under qemu which has fpu emulation bugs. basic functionality smoke tests have been performed for the most common arch-specific breakage via libc-test and qemu user-level emulation. some sysvipc failures remain, but are shared with other big endian archs and will be fixed separately.
15 lines
251 B
ArmAsm
15 lines
251 B
ArmAsm
.global _longjmp
|
|
.global longjmp
|
|
.type _longjmp,@function
|
|
.type longjmp,@function
|
|
_longjmp:
|
|
longjmp:
|
|
movea.l 4(%sp),%a0
|
|
move.l 8(%sp),%d0
|
|
bne 1f
|
|
move.l #1,%d0
|
|
1: movem.l (%a0),%d2-%d7/%a2-%a7
|
|
fmovem.x 52(%a0),%fp2-%fp7
|
|
move.l 48(%a0),(%sp)
|
|
rts
|