internal/cpu — validation proof
Go’s own internal/cpu test suite, converted to C# by go2cs, built against the converted standard
library, run under the Go-semantics test host, and compared verdict for verdict against a clean
go test -json baseline of the same sources. This page is generated by the converter from that
comparison — it is the evidence behind the internal/cpu row in
Validated Test Packages.
Validated 2026-11-08 · converter 485051f31
9 matched · 0 disclosed — Go 1.26.10, windows/amd64, converted package
src/core/internal/cpu.
Measured at Release (tiered JIT off), oracle go version go1.26.10 windows/amd64.
Both runtimes skip 4 of the matched tests identically.
Verdicts
| Test | go test |
go2cs |
|---|---|---|
TestAllCapabilitiesDisabled |
skip | skip |
TestDataCacheSizes |
pass | pass |
TestDisableAllCapabilities |
skip | skip |
TestDisableSSE3 |
skip | skip |
TestSSE3DebugOption |
skip | skip |
TestX86ifAVX2hasAVX |
pass | pass |
TestX86ifAVX512BWhasAVX512F |
pass | pass |
TestX86ifAVX512FhasAVX2 |
pass | pass |
TestX86ifAVX512VLhasAVX512F |
pass | pass |
Withdrawn where a shipped architecture does not build the test
One converted build of a GOOS serves every RID it ships, and the roster banks one count for it. A test whose file one of those architectures does not build is therefore withdrawn from both sides on that GOOS, on every RID, and is not claimed by that GOOS’s count. It still runs, and is compared, on every GOOS that builds it:
- darwin:
TestDataCacheSizes— datacache_x86_test.go is not built for darwin/arm64 (//go:build 386 || amd64); one darwin build serves both RIDs - darwin:
TestDisableSSE3— cpu_x86_test.go is not built for darwin/arm64 (//go:build 386 || amd64); one darwin build serves both RIDs - darwin:
TestSSE3DebugOption— cpu_x86_test.go is not built for darwin/arm64 (//go:build 386 || amd64); one darwin build serves both RIDs - darwin:
TestX86ifAVX2hasAVX— cpu_x86_test.go is not built for darwin/arm64 (//go:build 386 || amd64); one darwin build serves both RIDs - darwin:
TestX86ifAVX512BWhasAVX512F— cpu_x86_test.go is not built for darwin/arm64 (//go:build 386 || amd64); one darwin build serves both RIDs - darwin:
TestX86ifAVX512FhasAVX2— cpu_x86_test.go is not built for darwin/arm64 (//go:build 386 || amd64); one darwin build serves both RIDs - darwin:
TestX86ifAVX512VLhasAVX512F— cpu_x86_test.go is not built for darwin/arm64 (//go:build 386 || amd64); one darwin build serves both RIDs