github.com/avicd/go-utilx@v0.1.0/goid/go_tls.h (about) 1 #ifdef GOARCH_arm 2 #define LR R14 3 #endif 4 5 #ifdef GOARCH_amd64 6 #define get_tls(r) MOVQ TLS, r 7 #define g(r) 0(r)(TLS*1) 8 #endif 9 10 #ifdef GOARCH_386 11 #define get_tls(r) MOVL TLS, r 12 #define g(r) 0(r)(TLS*1) 13 #endif