github.com/suiyunonghen/DxCommonLib@v0.5.3/system/getg_arm64.s (about)

     1  // Copyright 2018 Huan Du. All rights reserved.
     2  // Licensed under the MIT license that can be found in the LICENSE file.
     3  
     4  #include "go_asm.h"
     5  #include "textflag.h"
     6  
     7  TEXT ·getg(SB), NOSPLIT, $0-4
     8      MOVW    g, R8
     9      MOVW    R8, ret+0(FP)
    10      RET