Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../lib/golang/src/runtime/cgo
File: abi_arm64.h
// Copyright 2021 The Go Authors. All rights reserved.
[0] Fix | Delete
// Use of this source code is governed by a BSD-style
[1] Fix | Delete
// license that can be found in the LICENSE file.
[2] Fix | Delete
[3] Fix | Delete
// Macros for transitioning from the host ABI to Go ABI0.
[4] Fix | Delete
//
[5] Fix | Delete
// These macros save and restore the callee-saved registers
[6] Fix | Delete
// from the stack, but they don't adjust stack pointer, so
[7] Fix | Delete
// the user should prepare stack space in advance.
[8] Fix | Delete
// SAVE_R19_TO_R28(offset) saves R19 ~ R28 to the stack space
[9] Fix | Delete
// of ((offset)+0*8)(RSP) ~ ((offset)+9*8)(RSP).
[10] Fix | Delete
//
[11] Fix | Delete
// SAVE_F8_TO_F15(offset) saves F8 ~ F15 to the stack space
[12] Fix | Delete
// of ((offset)+0*8)(RSP) ~ ((offset)+7*8)(RSP).
[13] Fix | Delete
//
[14] Fix | Delete
// R29 is not saved because Go will save and restore it.
[15] Fix | Delete
[16] Fix | Delete
#define SAVE_R19_TO_R28(offset) \
[17] Fix | Delete
STP (R19, R20), ((offset)+0*8)(RSP) \
[18] Fix | Delete
STP (R21, R22), ((offset)+2*8)(RSP) \
[19] Fix | Delete
STP (R23, R24), ((offset)+4*8)(RSP) \
[20] Fix | Delete
STP (R25, R26), ((offset)+6*8)(RSP) \
[21] Fix | Delete
STP (R27, g), ((offset)+8*8)(RSP)
[22] Fix | Delete
[23] Fix | Delete
#define RESTORE_R19_TO_R28(offset) \
[24] Fix | Delete
LDP ((offset)+0*8)(RSP), (R19, R20) \
[25] Fix | Delete
LDP ((offset)+2*8)(RSP), (R21, R22) \
[26] Fix | Delete
LDP ((offset)+4*8)(RSP), (R23, R24) \
[27] Fix | Delete
LDP ((offset)+6*8)(RSP), (R25, R26) \
[28] Fix | Delete
LDP ((offset)+8*8)(RSP), (R27, g) /* R28 */
[29] Fix | Delete
[30] Fix | Delete
#define SAVE_F8_TO_F15(offset) \
[31] Fix | Delete
FSTPD (F8, F9), ((offset)+0*8)(RSP) \
[32] Fix | Delete
FSTPD (F10, F11), ((offset)+2*8)(RSP) \
[33] Fix | Delete
FSTPD (F12, F13), ((offset)+4*8)(RSP) \
[34] Fix | Delete
FSTPD (F14, F15), ((offset)+6*8)(RSP)
[35] Fix | Delete
[36] Fix | Delete
#define RESTORE_F8_TO_F15(offset) \
[37] Fix | Delete
FLDPD ((offset)+0*8)(RSP), (F8, F9) \
[38] Fix | Delete
FLDPD ((offset)+2*8)(RSP), (F10, F11) \
[39] Fix | Delete
FLDPD ((offset)+4*8)(RSP), (F12, F13) \
[40] Fix | Delete
FLDPD ((offset)+6*8)(RSP), (F14, F15)
[41] Fix | Delete
[42] Fix | Delete
[43] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function