Your IP : 172.28.240.42


Current Path : /usr/local/go/src/cmd/asm/internal/asm/testdata/
Upload File :
Current File : //usr/local/go/src/cmd/asm/internal/asm/testdata/loong64.s

// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#include "../../../../../runtime/textflag.h"
// TODO: cover more instruction

TEXT foo(SB),DUPOK|NOSPLIT,$0
	JAL	1(PC)	//CALL 1(PC)	//00040054
	JAL	(R4)	//CALL (R4)	//8100004c
	// relocation in play so the assembled offset should be 0
	JAL	foo(SB)	//CALL foo(SB)	//00000054