fix(asm): close the oracle parity gaps in frame addressing and calls
This commit is contained in:
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user