Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for loadHitStoreU8 (0.18 sec)

  1. src/cmd/compile/internal/test/testdata/loadstore_test.go

    //go:noinline
    func loadHitStore8(x int8, p *int8) int32 {
    	x *= x           // try to trash high bits (arch-dependent)
    	*p = x           // store
    	return int32(*p) // load and cast
    }
    
    //go:noinline
    func loadHitStoreU8(x uint8, p *uint8) uint32 {
    	x *= x            // try to trash high bits (arch-dependent)
    	*p = x            // store
    	return uint32(*p) // load and cast
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top