2 * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
4 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
9 ;@ r0 = jump buffer from which regs will be restored
10 ;@ r1 = value that setjmp( ) will return due to this longjmp
28 ld blink, [r0,60] ; load it early enough to not stall the pipeline
32 mov.f r0, r1 ; get the setjmp return value(due to longjmp) in place
34 j.d [blink] ; to caller of setjmp location, right after the call
35 mov.z r0, 1 ; can't let setjmp return 0 when it is due to longjmp
38 libc_hidden_def(__longjmp)