github.com/isyscore/isc-gobase@v1.5.3-0.20231218061332-cbc7451899e9/goid/goid_amd64.s (about) 1 //go:build (amd64 || amd64p32) && gc 2 3 #include "go_asm.h" 4 #include "textflag.h" 5 6 // func NativeGoid() int64 7 TEXT ·NativeGoid(SB),NOSPLIT,$0-8 8 MOVQ (TLS), R14 9 MOVQ g_goid(R14), R13 10 MOVQ R13, ret+0(FP) 11 RET