Interface IntelCPUInfo

  • All Superinterfaces:
    CPUInfo
    All Known Implementing Classes:
    IntelInfoImpl

    public interface IntelCPUInfo
    extends CPUInfo
    An interface for classes that provide lowlevel information about Intel CPU's
    Author:
    Iakin
    • Method Detail

      • IsPentiumCompatible

        boolean IsPentiumCompatible()
        Returns:
        true if the CPU is at least a Pentium CPU.
      • IsPentiumMMXCompatible

        boolean IsPentiumMMXCompatible()
        Returns:
        true if the CPU is at least a Pentium which implements the MMX instruction/feature set.
      • IsPentium2Compatible

        boolean IsPentium2Compatible()
        Returns:
        true if the CPU implements at least the p6 instruction set (Pentium II or better). Please note that an PentimPro CPU causes/should cause this method to return false (due to that CPU using a very early implementation of the p6 instruction set. No MMX etc.)
      • IsPentium3Compatible

        boolean IsPentium3Compatible()
        Returns:
        true if the CPU implements at least a Pentium III level of the p6 instruction/feature set.
      • IsPentium4Compatible

        boolean IsPentium4Compatible()
        Supports the SSE 2 instructions. Does not necessarily support SSE 3. https://en.wikipedia.org/wiki/Pentium_4
        Returns:
        true if the CPU implements at least a Pentium IV level instruction/feature set.
      • IsPentiumMCompatible

        boolean IsPentiumMCompatible()
        Returns:
        true if the CPU implements at least a Pentium M level instruction/feature set.
      • IsAtomCompatible

        boolean IsAtomCompatible()
        Supports the SSE 2 and SSE 3 instructions. https://en.wikipedia.org/wiki/Atom_processor
        Returns:
        true if the CPU implements at least a Atom level instruction/feature set.
      • IsCore2Compatible

        boolean IsCore2Compatible()
        Supports the SSE 3 instructions.
        Returns:
        true if the CPU implements at least a Core2 level instruction/feature set.
      • IsCoreiCompatible

        boolean IsCoreiCompatible()
        Supports the SSE 3, 4.1, 4.2 instructions. In general, this requires 45nm or smaller process. This is the Nehalem architecture. ref: https://en.wikipedia.org/wiki/Nehalem_%28microarchitecture%29
        Returns:
        true if the CPU implements at least a Corei level instruction/feature set.
      • IsSandyCompatible

        boolean IsSandyCompatible()
        Supports the SSE 3, 4.1, 4.2 instructions. Supports the AVX 1 instructions. In general, this requires 32nm or smaller process.
        Returns:
        true if the CPU implements at least a SandyBridge level instruction/feature set.
        Since:
        0.9.26
      • IsIvyCompatible

        boolean IsIvyCompatible()
        Supports the SSE 3, 4.1, 4.2 instructions. Supports the AVX 1 instructions. In general, this requires 22nm or smaller process. UNUSED, there is no specific GMP build for Ivy Bridge, and this is never called from NativeBigInteger. Ivy Bridge is a successor to Sandy Bridge, so use IsSandyCompatible().
        Returns:
        true if the CPU implements at least a IvyBridge level instruction/feature set.
        Since:
        0.9.26
      • IsHaswellCompatible

        boolean IsHaswellCompatible()
        Supports the SSE 3, 4.1, 4.2 instructions. Supports the AVX 1, 2 instructions. Supports the BMI 1, 2 instructions. WARNING - GMP 6 uses the BMI2 MULX instruction for the "coreihwl" binaries. Only Core i3/i5/i7 Haswell processors support BMI2. Requires support for all 6 of these Corei features: FMA3 MOVBE ABM AVX2 BMI1 BMI2 Pentium/Celeron Haswell processors do NOT support BMI2 and are NOT compatible. Those processors will be Sandy-compatible if they have AVX 1 support, and Corei-compatible if they do not. ref: https://software.intel.com/en-us/articles/how-to-detect-new-instruction-support-in-the-4th-generation-intel-core-processor-family ref: https://en.wikipedia.org/wiki/Haswell_%28microarchitecture%29 In general, this requires 22nm or smaller process.
        Returns:
        true if the CPU implements at least a Haswell level instruction/feature set.
        Since:
        0.9.26
      • IsBroadwellCompatible

        boolean IsBroadwellCompatible()
        Supports the SSE 3, 4.1, 4.2 instructions. Supports the AVX 1, 2 instructions. In general, this requires 14nm or smaller process. NOT FULLY USED as of GMP 6.0. All GMP coreibwl binaries are duplicates of binaries for older technologies, so we do not distribute any. However, this is called from NativeBigInteger. Broadwell is supported in GMP 6.1 and requires the ADX instructions. Requires support for all 7 of these Corei features: FMA3 MOVBE ABM AVX2 BMI1 BMI2 ADX Pentium/Celeron Broadwell processors that do not support these instruction sets are not compatible. Those processors will be Sandy-compatible if they have AVX 1 support, and Corei-compatible if they do not.
        Returns:
        true if the CPU implements at least a Broadwell level instruction/feature set.
        Since:
        0.9.26
      • IsSkylakeCompatible

        boolean IsSkylakeCompatible()
        Supports the AVX-512 instrutions.
        Since:
        0.9.41