- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestUnalignedGlobal (0.17 sec)
-
src/cmd/compile/internal/test/memcombine_test.go
import ( "encoding/binary" "testing" ) var gv = [16]byte{0, 1, 2, 3, 4, 5, 6, 7, 8} //go:noinline func readGlobalUnaligned() uint64 { return binary.LittleEndian.Uint64(gv[1:]) } func TestUnalignedGlobal(t *testing.T) { // Note: this is a test not so much of the result of the read, but of // the correct compilation of that read. On s390x unaligned global // accesses fail to compile.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 30 18:35:50 UTC 2023 - 4.5K bytes - Viewed (0)