github.com/aloncn/graphics-go@v0.0.1/src/runtime/tls_mips64x.s (about) 1 // Copyright 2015 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build mips64 mips64le 6 7 #include "go_asm.h" 8 #include "go_tls.h" 9 #include "funcdata.h" 10 #include "textflag.h" 11 12 // If !iscgo, this is a no-op. 13 // 14 // NOTE: mcall() assumes this clobbers only R28 (REGTMP). 15 TEXT runtime·save_g(SB),NOSPLIT,$-8-0 16 MOVB runtime·iscgo(SB), R28 17 BEQ R28, nocgo 18 19 nocgo: 20 RET 21 22 TEXT runtime·load_g(SB),NOSPLIT,$-8-0 23 RET