Yeppp!
 All Classes Functions Variables Pages
Classes | Public Member Functions | Static Public Attributes | List of all members
CpuArchitecture Class Reference

The basic instruction set architecture of the processor. More...

Public Member Functions

final Iterator< CpuIsaFeatureiterateIsaFeatures ()
 Provides an iterator over ISA features potentially available on this architecture. More...
 
final Iterator< CpuSimdFeatureiterateSimdFeatures ()
 Provides an iterator over SIMD features potentially available on this architecture. More...
 
final Iterator< CpuSystemFeatureiterateSystemFeatures ()
 Provides an iterator over non-ISA processor and system features potentially available on this architecture. More...
 

Static Public Attributes

static final CpuArchitecture Unknown = new CpuArchitecture(0)
 Instruction set architecture is not known to the library. More...
 
static final CpuArchitecture X86 = new CpuArchitecture(1)
 x86 or x86-64 ISA.
 
static final CpuArchitecture ARM = new CpuArchitecture(2)
 ARM ISA.
 
static final CpuArchitecture MIPS = new CpuArchitecture(3)
 MIPS ISA.
 
static final CpuArchitecture PowerPC = new CpuArchitecture(4)
 PowerPC ISA.
 
static final CpuArchitecture IA64 = new CpuArchitecture(5)
 IA64 ISA.
 
static final CpuArchitecture SPARC = new CpuArchitecture(6)
 SPARC ISA.
 

Detailed Description

The basic instruction set architecture of the processor.

See Also
Library::getCpuArchitecture

Member Function Documentation

final Iterator<CpuIsaFeature> iterateIsaFeatures ( )

Provides an iterator over ISA features potentially available on this architecture.

For Unknown architecture provides an iterator over common ISA features.

Returns
An iterator over ISA features of this architecture.
final Iterator<CpuSimdFeature> iterateSimdFeatures ( )

Provides an iterator over SIMD features potentially available on this architecture.

For Unknown architecture provides an iterator over common SIMD features.

Returns
An iterator over SIMD features of this architecture.
final Iterator<CpuSystemFeature> iterateSystemFeatures ( )

Provides an iterator over non-ISA processor and system features potentially available on this architecture.

For Unknown architecture provides an iterator over common non-ISA CPU and system features.

Returns
An iterator over non-ISA processor and system features of this architecture.

Member Data Documentation

final CpuArchitecture Unknown = new CpuArchitecture(0)
static

Instruction set architecture is not known to the library.

This value is never returned on supported architectures.