type github.com/segmentio/asm/cpu/cpuid.CPU
14 uses
github.com/segmentio/asm/cpu/cpuid (current package)
cpuid.go#L10: type CPU uint64
cpuid.go#L22: func (cpu CPU) Has(feature Feature) bool {
cpuid.go#L26: func (cpu *CPU) Set(feature Feature, enabled bool) {
cpuid.go#L28: *cpu |= CPU(feature)
cpuid.go#L30: *cpu &= ^CPU(feature)
github.com/segmentio/asm/cpu/arm
arm.go#L8: type CPU cpuid.CPU
arm.go#L11: return cpuid.CPU(cpu).Has(cpuid.Feature(feature))
arm.go#L15: (*cpuid.CPU)(cpu).Set(cpuid.Feature(feature), enable)
github.com/segmentio/asm/cpu/arm64
arm64.go#L8: type CPU cpuid.CPU
arm64.go#L11: return cpuid.CPU(cpu).Has(cpuid.Feature(feature))
arm64.go#L15: (*cpuid.CPU)(cpu).Set(cpuid.Feature(feature), enable)
github.com/segmentio/asm/cpu/x86
x86.go#L8: type CPU cpuid.CPU
x86.go#L11: return cpuid.CPU(cpu).Has(cpuid.Feature(feature))
x86.go#L15: (*cpuid.CPU)(cpu).Set(cpuid.Feature(feature), enable)
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. |