Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hwcapInit (0.09 sec)

  1. src/internal/cpu/cpu_arm64_android.go

    // Copyright 2020 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 arm64
    
    package cpu
    
    func osInit() {
    	hwcapInit("android")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 231 bytes
    - Viewed (0)
  2. src/internal/cpu/cpu_arm64_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build arm64 && linux && !android
    
    package cpu
    
    func osInit() {
    	hwcapInit("linux")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 250 bytes
    - Viewed (0)
  3. src/internal/cpu/cpu_arm64_hwcap.go

    	hwcap_AES     = 1 << 3
    	hwcap_PMULL   = 1 << 4
    	hwcap_SHA1    = 1 << 5
    	hwcap_SHA2    = 1 << 6
    	hwcap_CRC32   = 1 << 7
    	hwcap_ATOMICS = 1 << 8
    	hwcap_CPUID   = 1 << 11
    	hwcap_SHA512  = 1 << 21
    )
    
    func hwcapInit(os string) {
    	// HWCap was populated by the runtime from the auxiliary vector.
    	// Use HWCap information since reading aarch64 system registers
    	// is not supported in user space on older linux kernels.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top