Package cpufeatures.arm
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 storesthumb- Thumb (16-bit instruction set)_26bit- "26 Bit" Model (Processor status register folded into program counter)fastmult- 32x32->64-bit multiplicationfpa- Floating point acceleratorvfp- 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 coprocessorthumbee- ThumbEEneon- Advanced SIMD.vfpv3- VFP version 3vfpv3d16- VFP version 3 with 16 D-registerstls- TLS registervfpv4- VFP version 4 with fast context switchingidiva- SDIV and UDIV hardware division in ARM mode.idivt- SDIV and UDIV hardware division in Thumb mode.vfpd32- VFP with 32 D-registerslpae- Large Physical Address Extension (>4GB physical memory on 32-bit architecture)evtstrm- kernel event stream using generic architected timeraes- 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
ConstructorsConstructorDescriptionArmFeatures(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 aArmFeaturesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionboolean_26bit()Returns the value of the_26bitrecord component.booleanaes()Returns the value of theaesrecord component.booleancrc32()Returns the value of thecrc32record component.booleancrunch()Returns the value of thecrunchrecord component.booleanedsp()Returns the value of theedsprecord component.final booleanIndicates whether some other object is "equal to" this one.booleanevtstrm()Returns the value of theevtstrmrecord component.booleanfastmult()Returns the value of thefastmultrecord component.booleanfpa()Returns the value of thefparecord component.booleanhalf()Returns the value of thehalfrecord component.final inthashCode()Returns a hash code value for this object.booleanidiva()Returns the value of theidivarecord component.booleanidivt()Returns the value of theidivtrecord component.booleaniwmmxt()Returns the value of theiwmmxtrecord component.booleanjava()Returns the value of thejavarecord component.booleanlpae()Returns the value of thelpaerecord component.booleanneon()Returns the value of theneonrecord component.booleanpmull()Returns the value of thepmullrecord component.booleansha1()Returns the value of thesha1record component.booleansha2()Returns the value of thesha2record component.booleanswp()Returns the value of theswprecord component.booleanthumb()Returns the value of thethumbrecord component.booleanthumbee()Returns the value of thethumbeerecord component.booleantls()Returns the value of thetlsrecord component.final StringtoString()Returns a string representation of this record class.booleanvfp()Returns the value of thevfprecord component.booleanvfpd32()Returns the value of thevfpd32record component.booleanvfpv3()Returns the value of thevfpv3record component.booleanvfpv3d16()Returns the value of thevfpv3d16record component.booleanvfpv4()Returns the value of thevfpv4record component.
-
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 aArmFeaturesrecord class.- Parameters:
swp- the value for theswprecord componenthalf- the value for thehalfrecord componentthumb- the value for thethumbrecord component_26bit- the value for the_26bitrecord componentfastmult- the value for thefastmultrecord componentfpa- the value for thefparecord componentvfp- the value for thevfprecord componentedsp- the value for theedsprecord componentjava- the value for thejavarecord componentiwmmxt- the value for theiwmmxtrecord componentcrunch- the value for thecrunchrecord componentthumbee- the value for thethumbeerecord componentneon- the value for theneonrecord componentvfpv3- the value for thevfpv3record componentvfpv3d16- the value for thevfpv3d16record componenttls- the value for thetlsrecord componentvfpv4- the value for thevfpv4record componentidiva- the value for theidivarecord componentidivt- the value for theidivtrecord componentvfpd32- the value for thevfpd32record componentlpae- the value for thelpaerecord componentevtstrm- the value for theevtstrmrecord componentaes- the value for theaesrecord componentpmull- the value for thepmullrecord componentsha1- the value for thesha1record componentsha2- the value for thesha2record componentcrc32- the value for thecrc32record component
-
-
Method Details
-
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. -
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. -
equals
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 '=='. -
swp
public boolean swp()Returns the value of theswprecord component.- Returns:
- the value of the
swprecord component
-
half
public boolean half()Returns the value of thehalfrecord component.- Returns:
- the value of the
halfrecord component
-
thumb
public boolean thumb()Returns the value of thethumbrecord component.- Returns:
- the value of the
thumbrecord component
-
_26bit
public boolean _26bit()Returns the value of the_26bitrecord component.- Returns:
- the value of the
_26bitrecord component
-
fastmult
public boolean fastmult()Returns the value of thefastmultrecord component.- Returns:
- the value of the
fastmultrecord component
-
fpa
public boolean fpa()Returns the value of thefparecord component.- Returns:
- the value of the
fparecord component
-
vfp
public boolean vfp()Returns the value of thevfprecord component.- Returns:
- the value of the
vfprecord component
-
edsp
public boolean edsp()Returns the value of theedsprecord component.- Returns:
- the value of the
edsprecord component
-
java
public boolean java()Returns the value of thejavarecord component.- Returns:
- the value of the
javarecord component
-
iwmmxt
public boolean iwmmxt()Returns the value of theiwmmxtrecord component.- Returns:
- the value of the
iwmmxtrecord component
-
crunch
public boolean crunch()Returns the value of thecrunchrecord component.- Returns:
- the value of the
crunchrecord component
-
thumbee
public boolean thumbee()Returns the value of thethumbeerecord component.- Returns:
- the value of the
thumbeerecord component
-
neon
public boolean neon()Returns the value of theneonrecord component.- Returns:
- the value of the
neonrecord component
-
vfpv3
public boolean vfpv3()Returns the value of thevfpv3record component.- Returns:
- the value of the
vfpv3record component
-
vfpv3d16
public boolean vfpv3d16()Returns the value of thevfpv3d16record component.- Returns:
- the value of the
vfpv3d16record component
-
tls
public boolean tls()Returns the value of thetlsrecord component.- Returns:
- the value of the
tlsrecord component
-
vfpv4
public boolean vfpv4()Returns the value of thevfpv4record component.- Returns:
- the value of the
vfpv4record component
-
idiva
public boolean idiva()Returns the value of theidivarecord component.- Returns:
- the value of the
idivarecord component
-
idivt
public boolean idivt()Returns the value of theidivtrecord component.- Returns:
- the value of the
idivtrecord component
-
vfpd32
public boolean vfpd32()Returns the value of thevfpd32record component.- Returns:
- the value of the
vfpd32record component
-
lpae
public boolean lpae()Returns the value of thelpaerecord component.- Returns:
- the value of the
lpaerecord component
-
evtstrm
public boolean evtstrm()Returns the value of theevtstrmrecord component.- Returns:
- the value of the
evtstrmrecord component
-
aes
public boolean aes()Returns the value of theaesrecord component.- Returns:
- the value of the
aesrecord component
-
pmull
public boolean pmull()Returns the value of thepmullrecord component.- Returns:
- the value of the
pmullrecord component
-
sha1
public boolean sha1()Returns the value of thesha1record component.- Returns:
- the value of the
sha1record component
-
sha2
public boolean sha2()Returns the value of thesha2record component.- Returns:
- the value of the
sha2record component
-
crc32
public boolean crc32()Returns the value of thecrc32record component.- Returns:
- the value of the
crc32record component
-