type github.com/segmentio/asm/cpu/cpuid.Feature
15 uses
github.com/segmentio/asm/cpu/cpuid (current package)
cpuid.go#L13: type Feature uint64
cpuid.go#L17: None Feature = 0
cpuid.go#L19: All Feature = 0xFFFFFFFFFFFFFFFF
cpuid.go#L22: func (cpu CPU) Has(feature Feature) bool {
cpuid.go#L23: return (Feature(cpu) & feature) == feature
cpuid.go#L26: func (cpu *CPU) Set(feature Feature, enabled bool) {
github.com/segmentio/asm/cpu/arm
arm.go#L11: return cpuid.CPU(cpu).Has(cpuid.Feature(feature))
arm.go#L15: (*cpuid.CPU)(cpu).Set(cpuid.Feature(feature), enable)
arm.go#L18: type Feature cpuid.Feature
github.com/segmentio/asm/cpu/arm64
arm64.go#L11: return cpuid.CPU(cpu).Has(cpuid.Feature(feature))
arm64.go#L15: (*cpuid.CPU)(cpu).Set(cpuid.Feature(feature), enable)
arm64.go#L18: type Feature cpuid.Feature
github.com/segmentio/asm/cpu/x86
x86.go#L11: return cpuid.CPU(cpu).Has(cpuid.Feature(feature))
x86.go#L15: (*cpuid.CPU)(cpu).Set(cpuid.Feature(feature), enable)
x86.go#L18: type Feature cpuid.Feature
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |