github.com/alphadose/zenq/v2@v2.8.4/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