Record Class ArmFeatures

java.lang.Object
java.lang.Record
cpufeatures.arm.ArmFeatures
Record Components:
swp - SWP instruction (atomic read-modify-write)
half - Half-word loads and stores
thumb - Thumb (16-bit instruction set)
_26bit - "26 Bit" Model (Processor status register folded into program counter)
fastmult - 32x32->64-bit multiplication
fpa - Floating point accelerator
vfp - Vector Floating Point.
edsp - DSP extensions (the 'e' variant of the ARM9 CPUs, and all others above)
java - Jazelle (Java bytecode accelerator)
iwmmxt - Intel Wireless MMX Technology.
crunch - MaverickCrunch coprocessor
thumbee - ThumbEE
neon - Advanced SIMD.
vfpv3 - VFP version 3
vfpv3d16 - VFP version 3 with 16 D-registers
tls - TLS register
vfpv4 - VFP version 4 with fast context switching
idiva - SDIV and UDIV hardware division in ARM mode.
idivt - SDIV and UDIV hardware division in Thumb mode.
vfpd32 - VFP with 32 D-registers
lpae - Large Physical Address Extension (>4GB physical memory on 32-bit architecture)
evtstrm - kernel event stream using generic architected timer
aes - Hardware-accelerated Advanced Encryption Standard.
pmull - Polynomial multiply long.
sha1 - Hardware-accelerated SHA1.
sha2 - Hardware-accelerated SHA2-256.
crc32 - Hardware-accelerated CRC-32.

public record ArmFeatures(boolean swp, boolean half, boolean thumb, boolean _26bit, boolean fastmult, boolean fpa, boolean vfp, boolean edsp, boolean java, boolean iwmmxt, boolean crunch, boolean thumbee, boolean neon, boolean vfpv3, boolean vfpv3d16, boolean tls, boolean vfpv4, boolean idiva, boolean idivt, boolean vfpd32, boolean lpae, boolean evtstrm, boolean aes, boolean pmull, boolean sha1, boolean sha2, boolean crc32) extends Record
Feature set of a processor running the ARM architecture.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArmFeatures(boolean swp, boolean half, boolean thumb, boolean _26bit, boolean fastmult, boolean fpa, boolean vfp, boolean edsp, boolean java, boolean iwmmxt, boolean crunch, boolean thumbee, boolean neon, boolean vfpv3, boolean vfpv3d16, boolean tls, boolean vfpv4, boolean idiva, boolean idivt, boolean vfpd32, boolean lpae, boolean evtstrm, boolean aes, boolean pmull, boolean sha1, boolean sha2, boolean crc32)
    Creates an instance of a ArmFeatures record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the value of the _26bit record component.
    boolean
    aes()
    Returns the value of the aes record component.
    boolean
    Returns the value of the crc32 record component.
    boolean
    Returns the value of the crunch record component.
    boolean
    Returns the value of the edsp record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    boolean
    Returns the value of the evtstrm record component.
    boolean
    Returns the value of the fastmult record component.
    boolean
    fpa()
    Returns the value of the fpa record component.
    boolean
    Returns the value of the half record component.
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the idiva record component.
    boolean
    Returns the value of the idivt record component.
    boolean
    Returns the value of the iwmmxt record component.
    boolean
    Returns the value of the java record component.
    boolean
    Returns the value of the lpae record component.
    boolean
    Returns the value of the neon record component.
    boolean
    Returns the value of the pmull record component.
    boolean
    Returns the value of the sha1 record component.
    boolean
    Returns the value of the sha2 record component.
    boolean
    swp()
    Returns the value of the swp record component.
    boolean
    Returns the value of the thumb record component.
    boolean
    Returns the value of the thumbee record component.
    boolean
    tls()
    Returns the value of the tls record component.
    final String
    Returns a string representation of this record class.
    boolean
    vfp()
    Returns the value of the vfp record component.
    boolean
    Returns the value of the vfpd32 record component.
    boolean
    Returns the value of the vfpv3 record component.
    boolean
    Returns the value of the vfpv3d16 record component.
    boolean
    Returns the value of the vfpv4 record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ArmFeatures

      public ArmFeatures(boolean swp, boolean half, boolean thumb, boolean _26bit, boolean fastmult, boolean fpa, boolean vfp, boolean edsp, boolean java, boolean iwmmxt, boolean crunch, boolean thumbee, boolean neon, boolean vfpv3, boolean vfpv3d16, boolean tls, boolean vfpv4, boolean idiva, boolean idivt, boolean vfpd32, boolean lpae, boolean evtstrm, boolean aes, boolean pmull, boolean sha1, boolean sha2, boolean crc32)
      Creates an instance of a ArmFeatures record class.
      Parameters:
      swp - the value for the swp record component
      half - the value for the half record component
      thumb - the value for the thumb record component
      _26bit - the value for the _26bit record component
      fastmult - the value for the fastmult record component
      fpa - the value for the fpa record component
      vfp - the value for the vfp record component
      edsp - the value for the edsp record component
      java - the value for the java record component
      iwmmxt - the value for the iwmmxt record component
      crunch - the value for the crunch record component
      thumbee - the value for the thumbee record component
      neon - the value for the neon record component
      vfpv3 - the value for the vfpv3 record component
      vfpv3d16 - the value for the vfpv3d16 record component
      tls - the value for the tls record component
      vfpv4 - the value for the vfpv4 record component
      idiva - the value for the idiva record component
      idivt - the value for the idivt record component
      vfpd32 - the value for the vfpd32 record component
      lpae - the value for the lpae record component
      evtstrm - the value for the evtstrm record component
      aes - the value for the aes record component
      pmull - the value for the pmull record component
      sha1 - the value for the sha1 record component
      sha2 - the value for the sha2 record component
      crc32 - the value for the crc32 record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • swp

      public boolean swp()
      Returns the value of the swp record component.
      Returns:
      the value of the swp record component
    • half

      public boolean half()
      Returns the value of the half record component.
      Returns:
      the value of the half record component
    • thumb

      public boolean thumb()
      Returns the value of the thumb record component.
      Returns:
      the value of the thumb record component
    • _26bit

      public boolean _26bit()
      Returns the value of the _26bit record component.
      Returns:
      the value of the _26bit record component
    • fastmult

      public boolean fastmult()
      Returns the value of the fastmult record component.
      Returns:
      the value of the fastmult record component
    • fpa

      public boolean fpa()
      Returns the value of the fpa record component.
      Returns:
      the value of the fpa record component
    • vfp

      public boolean vfp()
      Returns the value of the vfp record component.
      Returns:
      the value of the vfp record component
    • edsp

      public boolean edsp()
      Returns the value of the edsp record component.
      Returns:
      the value of the edsp record component
    • java

      public boolean java()
      Returns the value of the java record component.
      Returns:
      the value of the java record component
    • iwmmxt

      public boolean iwmmxt()
      Returns the value of the iwmmxt record component.
      Returns:
      the value of the iwmmxt record component
    • crunch

      public boolean crunch()
      Returns the value of the crunch record component.
      Returns:
      the value of the crunch record component
    • thumbee

      public boolean thumbee()
      Returns the value of the thumbee record component.
      Returns:
      the value of the thumbee record component
    • neon

      public boolean neon()
      Returns the value of the neon record component.
      Returns:
      the value of the neon record component
    • vfpv3

      public boolean vfpv3()
      Returns the value of the vfpv3 record component.
      Returns:
      the value of the vfpv3 record component
    • vfpv3d16

      public boolean vfpv3d16()
      Returns the value of the vfpv3d16 record component.
      Returns:
      the value of the vfpv3d16 record component
    • tls

      public boolean tls()
      Returns the value of the tls record component.
      Returns:
      the value of the tls record component
    • vfpv4

      public boolean vfpv4()
      Returns the value of the vfpv4 record component.
      Returns:
      the value of the vfpv4 record component
    • idiva

      public boolean idiva()
      Returns the value of the idiva record component.
      Returns:
      the value of the idiva record component
    • idivt

      public boolean idivt()
      Returns the value of the idivt record component.
      Returns:
      the value of the idivt record component
    • vfpd32

      public boolean vfpd32()
      Returns the value of the vfpd32 record component.
      Returns:
      the value of the vfpd32 record component
    • lpae

      public boolean lpae()
      Returns the value of the lpae record component.
      Returns:
      the value of the lpae record component
    • evtstrm

      public boolean evtstrm()
      Returns the value of the evtstrm record component.
      Returns:
      the value of the evtstrm record component
    • aes

      public boolean aes()
      Returns the value of the aes record component.
      Returns:
      the value of the aes record component
    • pmull

      public boolean pmull()
      Returns the value of the pmull record component.
      Returns:
      the value of the pmull record component
    • sha1

      public boolean sha1()
      Returns the value of the sha1 record component.
      Returns:
      the value of the sha1 record component
    • sha2

      public boolean sha2()
      Returns the value of the sha2 record component.
      Returns:
      the value of the sha2 record component
    • crc32

      public boolean crc32()
      Returns the value of the crc32 record component.
      Returns:
      the value of the crc32 record component