Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFuncAlign (0.13 sec)

  1. src/cmd/link/link_test.go

    	PCALIGN	$512
    	MOVV	$3, R5
    	RET
    
    GLOBL	·alignPcFnAddr(SB),RODATA,$8
    DATA	·alignPcFnAddr(SB)/8,$·alignPc(SB)
    `,
    }
    
    // TestFuncAlign verifies that the address of a function can be aligned
    // with a specific value on arm64 and loong64.
    func TestFuncAlign(t *testing.T) {
    	testFuncAlignAsmSrc := testFuncAlignAsmSources[runtime.GOARCH]
    	if len(testFuncAlignAsmSrc) == 0 || runtime.GOOS != "linux" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top