github.com/phuslu/log@v1.0.100/goid_go1.22.s (about)

     1  //go:build !go1.23
     2  // +build !go1.23
     3  
     4  #include "textflag.h"
     5  
     6  #ifdef GOARCH_amd64
     7  TEXT ·goid(SB),NOSPLIT,$0-8
     8  	MOVQ (TLS), R14
     9  	MOVQ 152(R14), R13
    10  	MOVQ R13, ret+0(FP)
    11  	RET
    12  #endif
    13  
    14  #ifdef GOARCH_arm64
    15  TEXT ·goid(SB),NOSPLIT,$0-8
    16  	MOVD g, R14
    17  	MOVD 152(R14), R13
    18  	MOVD R13, ret+0(FP)
    19  	RET
    20  #endif
    21  
    22  #ifdef GOARCH_arm
    23  TEXT ·goid(SB),NOSPLIT,$0-4
    24  	MOVW g, R8
    25  	MOVW 80(R8), R7
    26  	MOVW R7, ret+0(FP)
    27  	RET
    28  #endif
    29  
    30  #ifdef GOARCH_386
    31  TEXT ·goid(SB),NOSPLIT,$0-4
    32  	MOVL (TLS), AX
    33  	MOVL 80(AX), BX
    34  	MOVL BX, ret+0(FP)
    35  	RET
    36  #endif
    37  
    38  #ifdef GOARCH_mipsle
    39  TEXT ·goid(SB),NOSPLIT,$0-4
    40  	MOVW g, R8
    41  	MOVW 80(R8), R7
    42  	MOVW R7, ret+0(FP)
    43  	RET
    44  #endif