__longjmp.S 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /* longjmp for PA-RISC.
  2. Copyright (C) 1997, 1998 Free Software Foundation, Inc.
  3. This file is part of the GNU C Library.
  4. The GNU C Library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Lesser General Public
  6. License as published by the Free Software Foundation; either
  7. version 2.1 of the License, or (at your option) any later version.
  8. The GNU C Library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public
  13. License along with the GNU C Library; if not, write to the Free
  14. Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  15. 02111-1307 USA. */
  16. #define _SETJMP_H
  17. #define _ASM
  18. #include <bits/setjmp.h>
  19. /* __longjmp(jmpbuf, val) */
  20. .text
  21. .align 4
  22. .globl __longjmp
  23. .export __longjmp, code
  24. .proc
  25. .callinfo
  26. __longjmp:
  27. /* set return value */
  28. copy %r25, %r28
  29. ldw 0(%r26), %r3
  30. ldw 8(%r26), %r4
  31. ldw 12(%r26), %r5
  32. ldw 16(%r26), %r6
  33. ldw 20(%r26), %r7
  34. ldw 24(%r26), %r8
  35. ldw 28(%r26), %r9
  36. ldw 32(%r26), %r10
  37. ldw 36(%r26), %r11
  38. ldw 40(%r26), %r12
  39. ldw 44(%r26), %r13
  40. ldw 48(%r26), %r14
  41. ldw 52(%r26), %r15
  42. ldw 56(%r26), %r16
  43. ldw 60(%r26), %r17
  44. ldw 64(%r26), %r18
  45. ldw 68(%r26), %r19
  46. ldw 72(%r26), %r27
  47. ldw 76(%r26), %r30
  48. ldw 80(%r26), %rp
  49. ldo 88(%r26),%r20
  50. fldds,ma 8(%r20), %fr12
  51. fldds,ma 8(%r20), %fr13
  52. fldds,ma 8(%r20), %fr14
  53. fldds,ma 8(%r20), %fr15
  54. fldds,ma 8(%r20), %fr16
  55. fldds,ma 8(%r20), %fr17
  56. fldds,ma 8(%r20), %fr18
  57. fldds,ma 8(%r20), %fr19
  58. fldds,ma 8(%r20), %fr20
  59. fldds 0(%r20), %fr21
  60. bv,n %r0(%r2)
  61. .procend