gitee.com/quant1x/gox@v1.21.2/gls/goid_arm.s (about)

     1  // Copyright 2016 Huan Du. All rights reserved.
     2  // Use of this source code is governed by a MIT
     3  // license that can be found in the LICENSE file.
     4  
     5  #include "go_asm.h"
     6  #include "textflag.h"
     7  
     8  TEXT ·getg(SB), NOSPLIT, $0-4
     9      MOVW    g, R8
    10      MOVW    R8, ret+0(FP)
    11      RET