go/src/cmd/internal/obj/riscv/asm_test.go

// TestLargeBranch generates a large function with a very far conditional
// branch, in order to ensure that it assembles successfully.
func TestLargeBranch(t *testing.T) {}

func genLargeBranch(buf *bytes.Buffer) {}

// TestLargeCall generates a large function (>1MB of text) with a call to
// a following function, in order to ensure that it assembles and links
// correctly.
func TestLargeCall(t *testing.T) {}

func genLargeCall(buf *bytes.Buffer) {}

// TestLargeJump generates a large jump (>1MB of text) with a JMP to the
// end of the function, in order to ensure that it assembles correctly.
func TestLargeJump(t *testing.T) {}

func genLargeJump(buf *bytes.Buffer) {}

// Issue 20348.
func TestNoRet(t *testing.T) {}

func TestImmediateSplitting(t *testing.T) {}

func TestBranch(t *testing.T) {}

func TestPCAlign(t *testing.T) {}