aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.22/src/runtime/test_amd64.s
blob: cc4bc6296dfc800c16ea599fa5f204b9cecd57ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Create a large frame to force stack growth. See #62326.
TEXT ·testSPWrite(SB),0,$16384-0
	// Write to SP
	MOVQ SP, AX
	ANDQ $~0xf, SP
	MOVQ AX, SP
	RET