go/src/cmd/compile/internal/amd64/versions_test.go

// Test to make sure that when building for GOAMD64=v1, we don't
// use any >v1 instructions.
func TestGoAMD64v1(t *testing.T) {}

// Clobber copies the binary src to dst, replacing all the instructions in opcodes with
// faulting instructions.
func clobber(t *testing.T, src string, dst *os.File, opcodes map[string]bool) {}

func setOf(keys ...string) map[string]bool {}

var runtimeFeatures

var featureToOpcodes

// Test to use POPCNT instruction, if available
func TestPopCnt(t *testing.T) {}

// Test to use ANDN, if available
func TestAndNot(t *testing.T) {}

// Test to use BLSI, if available
func TestBLSI(t *testing.T) {}

// Test to use BLSMSK, if available
func TestBLSMSK(t *testing.T) {}

// Test to use BLSR, if available
func TestBLSR(t *testing.T) {}

func TestTrailingZeros(t *testing.T) {}

func TestRound(t *testing.T) {}

func TestFMA(t *testing.T) {}