github.com/avicd/go-utilx@v0.1.0/goid/asm_amd64.s (about) 1 #include "funcdata.h" 2 #include "go_asm.h" 3 #include "go_tls.h" 4 #include "textflag.h" 5 6 TEXT ·getgp(SB), NOSPLIT, $0-8 7 get_tls(CX) 8 MOVQ g(CX), AX 9 MOVQ AX, ret+0(FP) 10 RET