Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Classes

NameDescription
Geo::GeoFpControl

Sets the state of the floating point control word, and restores the original value when the object is destroyed.

Enums

NameDescription
eCpuVendor

PC CPU vendors.

Variables

NameDescription
const Geo::u32 GEO_CPU_FEATURE_AVX = 0x00000100

This cpu supports AVX.

const Geo::u32 GEO_CPU_FEATURE_F16C = 0x00000200

This cpu supports F16C.

const Geo::u32 GEO_CPU_FEATURE_FMA3 = 0x00000400

This cpu supports FMA3.

const Geo::u32 GEO_CPU_FEATURE_FMA4 = 0x00000080

This cpu supports FMA4.

const Geo::u32 GEO_CPU_FEATURE_MMX = 0x00000001

This cpu supports mmx technology.

const Geo::u32 GEO_CPU_FEATURE_SSE = 0x00000002

This cpu supports version 1 of SSE.

const Geo::u32 GEO_CPU_FEATURE_SSE2 = 0x00000004

This cpu supports version 2 of SSE.

const Geo::u32 GEO_CPU_FEATURE_SSE3 = 0x00000008

This cpu supports version 3 of SSE.

const Geo::u32 GEO_CPU_FEATURE_SSE41 = 0x00000020

This cpu supports version 4.1 of SSE.

const Geo::u32 GEO_CPU_FEATURE_SSE42 = 0x00000040

This cpu supports version 4.2 of SSE.

const Geo::u32 GEO_CPU_FEATURE_SSSE3 = 0x00000010

This cpu supports the Supplemental Streaming SIMD Extensions 3 (SSSE3).

Functions

NameDescription
~GeoFpControl()

Destructor.

GeoFpControl(bool, bool)

Constructor.

GetCpuFeatures()

Retrieve the processors features as a set of flags.

GetCpuVendor()

Get the PC CPU vendor.

GetCpuVendorAsString()

Get the PC CPU vendor as a string.

GetLogicalCpuCoreCount()

Get the number of logical cores.


Anchor
a78f44be578b48073a4863ca02e1646cf
a78f44be578b48073a4863ca02e1646cf

eCpuVendor

...

public: enum eCpuVendor
{
    CPU_VENDOR_UNKNOWN = 0,
    CPU_VENDOR_INTEL,
    CPU_VENDOR_AMD
}

...

PC CPU vendors.

enumerators
CPU_VENDOR_UNKNOWN
CPU_VENDOR_INTEL
CPU_VENDOR_AMD


Anchor
a943b667e38ab2a2903e9462d2020dc63
a943b667e38ab2a2903e9462d2020dc63

Geo::GeoFpControl::~GeoFpControl

...

public: ~GeoFpControl()

...

Destructor.


Anchor
ab10f1678d32debdfa788072b864ee618
ab10f1678d32debdfa788072b864ee618

Geo::GeoFpControl::GeoFpControl

...

public: GeoFpControl
(
    bool highPrecision,
    bool enableDenormals
)

...

Constructor.

Sets precision mode.

Note
titleNote

On supported consoles, the highPrecision and enableDenormals flags are ignored, and the mode is always


set to FTZ|DAZ for performance. The original mode is always preserved and returned to after this object is destroyed.

Parameters
[in]highPrecision

Enable high precision.

[in]enableDenormals

Represent denormal numbers.


Anchor
a819532e97288d89d547a1fcc6827731a
a819532e97288d89d547a1fcc6827731a

u32 GEO_CALL Geo::GetCpuFeatures

...

public: u32 GEO_CALL GetCpuFeatures()

...

Retrieve the processors features as a set of flags.

Info
titleSee Also

GeoCpuID.h


Anchor
ac2f10820d088d8a9ee8d02b66e49bb3b
ac2f10820d088d8a9ee8d02b66e49bb3b

eCpuVendor GEO_CALL Geo::GetCpuVendor

...

public: eCpuVendor GEO_CALL GetCpuVendor()

...

Get the PC CPU vendor.


Anchor
ae0c516821a260d14d11aca1b751d2acd
ae0c516821a260d14d11aca1b751d2acd

const char* GEO_CALL Geo::GetCpuVendorAsString

...

public: const char *GEO_CALL GetCpuVendorAsString()

...

Get the PC CPU vendor as a string.


Anchor
ace1c83915a6961977719994da06e6905
ace1c83915a6961977719994da06e6905

s32 GEO_CALL Geo::GetLogicalCpuCoreCount

...

public: s32 GEO_CALL GetLogicalCpuCoreCount()

...

Get the number of logical cores.