Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for archauxv (0.13 sec)

  1. src/internal/cpu/cpu_mips64x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build mips64 || mips64le
    
    package cpu
    
    const CacheLinePadSize = 32
    
    // This is initialized by archauxv and should not be changed after it is
    // initialized.
    var HWCap uint
    
    // HWCAP bits. These are exposed by the Linux kernel 5.4.
    const (
    	// CPU features
    	hwcap_MIPS_MSA = 1 << 1
    )
    
    func doinit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 671 bytes
    - Viewed (0)
  2. src/runtime/os_linux_ppc64x.go

    // 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 runtime
    
    import "internal/cpu"
    
    func archauxv(tag, val uintptr) {
    	switch tag {
    	case _AT_HWCAP:
    		// ppc64x doesn't have a 'cpuid' instruction
    		// equivalent and relies on HWCAP/HWCAP2 bits for
    		// hardware capabilities.
    		cpu.HWCap = uint(val)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 526 bytes
    - Viewed (0)
  3. src/runtime/os_freebsd_noauxv.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 freebsd && !arm
    
    package runtime
    
    func archauxv(tag, val uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 241 bytes
    - Viewed (0)
  4. src/runtime/os_linux_mips64x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build linux && (mips64 || mips64le)
    
    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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 996 bytes
    - Viewed (0)
  5. src/runtime/os_linux_arm64.go

    // Use of this source code is governed by a BSD-style
    // 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 478 bytes
    - Viewed (0)
  6. src/internal/cpu/cpu_ppc64x_linux.go

    // license that can be found in the LICENSE file.
    
    //go:build ppc64 || ppc64le
    
    package cpu
    
    // ppc64 doesn't have a 'cpuid' equivalent, so we rely on HWCAP/HWCAP2.
    // These are initialized by archauxv and should not be changed after they are
    // initialized.
    var HWCap uint
    var HWCap2 uint
    
    // HWCAP bits. These are exposed by Linux.
    const (
    	// ISA Level
    	hwcap2_ARCH_2_07 = 0x80000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:05:43 UTC 2022
    - 885 bytes
    - Viewed (0)
  7. src/runtime/os_linux_s390x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "internal/cpu"
    
    const (
    	_HWCAP_VX = 1 << 11 // vector facility
    )
    
    func archauxv(tag, val uintptr) {
    	switch tag {
    	case _AT_HWCAP:
    		cpu.HWCap = uint(val)
    	}
    }
    
    func osArchInit() {}
    
    func checkS390xCPU() {
    	// Check if the present z-system has the hardware capability to carryout
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 17:36:28 UTC 2023
    - 825 bytes
    - Viewed (0)
  8. src/runtime/os_linux_loong64.go

    // Copyright 2022 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 && loong64
    
    package runtime
    
    func archauxv(tag, val uintptr) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 10 12:47:42 UTC 2023
    - 263 bytes
    - Viewed (0)
  9. src/runtime/os_linux_noauxv.go

    // license that can be found in the LICENSE file.
    
    //go:build linux && !arm && !arm64 && !loong64 && !mips && !mipsle && !mips64 && !mips64le && !s390x && !ppc64 && !ppc64le
    
    package runtime
    
    func archauxv(tag, val uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 20 15:12:31 UTC 2022
    - 337 bytes
    - Viewed (0)
  10. src/runtime/os_linux_mipsx.go

    // Copyright 2016 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 && (mips || mipsle)
    
    package runtime
    
    func archauxv(tag, val uintptr) {
    }
    
    func osArchInit() {}
    
    //go:nosplit
    func cputicks() int64 {
    	// nanotime() is a poor approximation of CPU ticks that is enough for the profiler.
    	return nanotime()
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 987 bytes
    - Viewed (0)
Back to top