Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isV7 (0.09 sec)

  1. src/internal/cpu/cpu_arm.go

    	// See ARMv7 manual section B1.6.
    	// We also need at least a v7 chip, for the DMB instruction.
    	ARM.HasV7Atomics = isSet(HWCap, hwcap_LPAE) && isV7(Platform)
    }
    
    func isSet(hwc uint, value uint) bool {
    	return hwc&value != 0
    }
    
    func isV7(s string) bool {
    	if s == "aarch64" {
    		return true
    	}
    	return s >= "v7" // will be something like v5, v7, v8, v8l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:38:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top