31 lines
524 B
ArmAsm
31 lines
524 B
ArmAsm
// Copyright (c) 2026 Petr Balvín <opensource@petrbalvin.org> (https://petrbalvin.org)
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Stack-split guard classes, byte-parity-checked against go tool asm.
|
|
|
|
#include "textflag.h"
|
|
|
|
TEXT ·leafsmall(SB), $16-0
|
|
RET
|
|
|
|
TEXT ·leafmed(SB), $256-0
|
|
RET
|
|
|
|
TEXT ·leafbig(SB), $8192-0
|
|
RET
|
|
|
|
TEXT ·oddframe(SB), $8-8
|
|
MOVD x+0(FP), R5
|
|
MOVD R5, ret+0(FP)
|
|
RET
|
|
|
|
TEXT ·callsmall(SB), $16-0
|
|
CALL ·other(SB)
|
|
RET
|
|
|
|
TEXT ·nosplit(SB), NOSPLIT, $16-0
|
|
RET
|
|
|
|
TEXT ·other(SB), NOSPLIT, $0
|
|
RET
|