1// Copyright 2023 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Create a large frame to force stack growth. See #62326.
6TEXT ·testSPWrite(SB),0,$16384-0
7	// Write to SP
8	MOVQ SP, AX
9	ANDQ $~0xf, SP
10	MOVQ AX, SP
11	RET
12