* setjmp on sparc improved

This commit is contained in:
florian 2004-05-30 12:08:32 +00:00
parent ba8730f13b
commit d748857500

View File

@ -77,10 +77,7 @@ end;
function setjmp(var S:jmp_buf):longint;assembler;[Public,alias:'FPC_SETJMP'];
asm
// Save our PC, SP and FP. Save the signal mask if requested with
// a tail-call for simplicity; it always returns zero.
ta 3
// Save our PC, SP and FP.
st %i7, [%i0+8]
st %sp, [%i0]
st %fp, [%i0+4]
@ -89,7 +86,10 @@ function setjmp(var S:jmp_buf):longint;assembler;[Public,alias:'FPC_SETJMP'];
{
$Log$
Revision 1.6 2004-05-25 21:38:11 peter
Revision 1.7 2004-05-30 12:08:32 florian
* setjmp on sparc improved
Revision 1.6 2004/05/25 21:38:11 peter
* fixed input registers
Revision 1.5 2004/05/18 19:36:37 florian