Path: blob/main/sys/contrib/openzfs/module/lua/setjmp/setjmp_s390x.S
48535 views
// SPDX-License-Identifier: MIT1/*2* Copyright (c) 2005-2014 Rich Felker, et al.3*4* Permission is hereby granted, free of charge, to any person obtaining5* a copy of this software and associated documentation files (the6* "Software"), to deal in the Software without restriction, including7* without limitation the rights to use, copy, modify, merge, publish,8* distribute, sublicense, and/or sell copies of the Software, and to9* permit persons to whom the Software is furnished to do so, subject to10* the following conditions:11*12* The above copyright notice and this permission notice shall be13* included in all copies or substantial portions of the Software.14*15* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,16* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF17* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.18* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY19* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,20* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE21* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.22*/2324.global setjmp25.type setjmp,@function26setjmp:27stmg %r6, %r15, 0(%r2)2829std %f8, 10*8(%r2)30std %f9, 11*8(%r2)31std %f10, 12*8(%r2)32std %f11, 13*8(%r2)33std %f12, 14*8(%r2)34std %f13, 15*8(%r2)35std %f14, 16*8(%r2)36std %f15, 17*8(%r2)3738lghi %r2, 039br %r144041.global longjmp42.type longjmp,@function43longjmp:44451:46lmg %r6, %r15, 0(%r2)4748ld %f8, 10*8(%r2)49ld %f9, 11*8(%r2)50ld %f10, 12*8(%r2)51ld %f11, 13*8(%r2)52ld %f12, 14*8(%r2)53ld %f13, 15*8(%r2)54ld %f14, 16*8(%r2)55ld %f15, 17*8(%r2)5657ltgr %r2, %r358bnzr %r1459lhi %r2, 160br %r146162#ifdef __ELF__63.section .note.GNU-stack,"",%progbits64#endif656667