github.com/alphadose/itogami@v0.4.1-0.20221016160904-c25d0a36bfe7/asm_mips64.s (about) 1 #include "textflag.h" 2 #include "go_asm.h" 3 4 #define get_tls(r) MOVD g, r 5 6 TEXT ·GetG(SB),NOSPLIT,$0-8 7 get_tls(R1) 8 MOVD R1, gp+0(FP) 9 RET