Enum Class ArmFeature

java.lang.Object
java.lang.Enum<ArmFeature>
cpufeatures.arm.ArmFeature
All Implemented Interfaces:
Serializable, Comparable<ArmFeature>, Constable

public enum ArmFeature extends Enum<ArmFeature>
Feature that can be present on an ARM processor.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    "26 Bit" Model (Processor status register folded into program counter)
    Hardware-accelerated Advanced Encryption Standard
    Hardware-accelerated CRC-32
    MaverickCrunch coprocessor
    DSP extensions (the 'e' variant of the ARM9 CPUs, and all others above)
    Kernel event stream using generic architected timer
    32x32->64-bit multiplication
    Floating point accelerator
    Half-word loads and stores
    SDIV and UDIV hardware division in ARM mode
    SDIV and UDIV hardware division in Thumb mode
    Intel Wireless MMX Technology
    Jazelle (Java bytecode accelerator)
    VFP with 32 D-registersLarge Physical Address Extension (>4GB physical memory on 32-bit architecture)
    Advanced SIMD
    Polynomial multiply long
    Hardware-accelerated SHA1
    Hardware-accelerated SHA2-256
    SWP instruction (atomic read-modify-write)
    Thumb (16-bit instruction set)
    ThumbEE
    TLS register
    Vector Floating Point
    VFP with 32 D-registers
    VFP version 3
    VFP version 3 with 16 D-registers
    VFP version 4 with fast context switching
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    in(ArmFeatures features)
    Gets if this feature is present in a features object.
    static ArmFeature
    Returns the enum constant of this class with the specified name.
    static ArmFeature[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SWP

      public static final ArmFeature SWP
      SWP instruction (atomic read-modify-write)
    • HALF

      public static final ArmFeature HALF
      Half-word loads and stores
    • THUMB

      public static final ArmFeature THUMB
      Thumb (16-bit instruction set)
    • _26BIT

      public static final ArmFeature _26BIT
      "26 Bit" Model (Processor status register folded into program counter)
    • FASTMULT

      public static final ArmFeature FASTMULT
      32x32->64-bit multiplication
    • FPA

      public static final ArmFeature FPA
      Floating point accelerator
    • VFP

      public static final ArmFeature VFP
      Vector Floating Point
    • EDSP

      public static final ArmFeature EDSP
      DSP extensions (the 'e' variant of the ARM9 CPUs, and all others above)
    • JAVA

      public static final ArmFeature JAVA
      Jazelle (Java bytecode accelerator)
    • IWMMXT

      public static final ArmFeature IWMMXT
      Intel Wireless MMX Technology
    • CRUNCH

      public static final ArmFeature CRUNCH
      MaverickCrunch coprocessor
    • THUMBEE

      public static final ArmFeature THUMBEE
      ThumbEE
    • NEON

      public static final ArmFeature NEON
      Advanced SIMD
    • VFPV3

      public static final ArmFeature VFPV3
      VFP version 3
    • VFPV3D16

      public static final ArmFeature VFPV3D16
      VFP version 3 with 16 D-registers
    • TLS

      public static final ArmFeature TLS
      TLS register
    • VFPV4

      public static final ArmFeature VFPV4
      VFP version 4 with fast context switching
    • IDIVA

      public static final ArmFeature IDIVA
      SDIV and UDIV hardware division in ARM mode
    • IDIVT

      public static final ArmFeature IDIVT
      SDIV and UDIV hardware division in Thumb mode
    • VFPD32

      public static final ArmFeature VFPD32
      VFP with 32 D-registers
    • LPAE

      public static final ArmFeature LPAE
      VFP with 32 D-registersLarge Physical Address Extension (>4GB physical memory on 32-bit architecture)
    • EVTSTRM

      public static final ArmFeature EVTSTRM
      Kernel event stream using generic architected timer
    • AES

      public static final ArmFeature AES
      Hardware-accelerated Advanced Encryption Standard
    • PMULL

      public static final ArmFeature PMULL
      Polynomial multiply long
    • SHA1

      public static final ArmFeature SHA1
      Hardware-accelerated SHA1
    • SHA2

      public static final ArmFeature SHA2
      Hardware-accelerated SHA2-256
    • CRC32

      public static final ArmFeature CRC32
      Hardware-accelerated CRC-32
  • Method Details

    • values

      public static ArmFeature[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ArmFeature valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • in

      public boolean in(ArmFeatures features)
      Gets if this feature is present in a features object.
      Parameters:
      features - Features object.
      Returns:
      Present state.