github.com/suiyunonghen/DxCommonLib@v0.5.3/system/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_amd64p32 11 #define get_tls(r) MOVL TLS, r 12 #define g(r) 0(r)(TLS*1) 13 #endif 14 15 #ifdef GOARCH_386 16 #define get_tls(r) MOVL TLS, r 17 #define g(r) 0(r)(TLS*1) 18 #endif