Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for HWCap (0.1 sec)

  1. src/runtime/os_linux_arm64.go

    // license that can be found in the LICENSE file.
    
    //go:build arm64
    
    package runtime
    
    import "internal/cpu"
    
    func archauxv(tag, val uintptr) {
    	switch tag {
    	case _AT_HWCAP:
    		cpu.HWCap = uint(val)
    	}
    }
    
    func osArchInit() {}
    
    //go:nosplit
    func cputicks() int64 {
    	// nanotime() is a poor approximation of CPU ticks that is enough for the profiler.
    	return nanotime()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 478 bytes
    - Viewed (0)
  2. src/internal/cpu/cpu_arm64_other.go

    // license that can be found in the LICENSE file.
    
    //go:build arm64 && !linux && !freebsd && !android && (!darwin || ios) && !openbsd
    
    package cpu
    
    func osInit() {
    	// Other operating systems do not support reading HWCap from auxiliary vector,
    	// reading privileged aarch64 system registers or sysctl in user space to detect
    	// CPU features at runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 15:07:46 UTC 2022
    - 466 bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/sys/cpu/cpu_linux_ppc64x.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build linux && (ppc64 || ppc64le)
    
    package cpu
    
    // HWCAP/HWCAP2 bits. These are exposed by the kernel.
    const (
    	// ISA Level
    	_PPC_FEATURE2_ARCH_2_07 = 0x80000000
    	_PPC_FEATURE2_ARCH_3_00 = 0x00800000
    
    	// CPU features
    	_PPC_FEATURE2_DARN = 0x00200000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 775 bytes
    - Viewed (0)
Back to top