asm_amd64.s raw
1 // +build !noasm,amd64 !appengine,amd64
2 // Code generated by asm2asm, DO NOT EDIT·
3
4 #include "go_asm.h"
5 #include "funcdata.h"
6 #include "textflag.h"
7
8 TEXT ·MoreStack(SB), NOSPLIT, $0 - 8
9 NO_LOCAL_POINTERS
10 _entry:
11 MOVQ (TLS), R14
12 MOVQ size+0(FP), R12
13 NOTQ R12
14 LEAQ (SP)(R12*1), R12
15 CMPQ R12, 16(R14)
16 JBE _stack_grow
17 RET
18 _stack_grow:
19 CALL runtime·morestack_noctxt<>(SB)
20 JMP _entry
21