EasyManuals Logo

Intel ARCHITECTURE IA-32 User Manual

Intel ARCHITECTURE IA-32
568 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #182 background image
IA-32 Intel® Architecture Optimization
3-2
Checking for Processor Support of SIMD
Technologies
This section shows how to check whether a processor supports MMX
technology, SSE, SSE2, or SSE3.
SIMD technology can be included in your application in three ways:
1. Check for the SIMD technology during installation. If the desired
SIMD technology is available, the appropriate DLLs can be
installed.
2. Check for the SIMD technology during program execution and
install the proper DLLs at runtime. This is effective for programs
that may be executed on different machines.
3. Create a “fat” binary that includes multiple versions of routines;
versions that use SIMD technology and versions that do not. Check
for SIMD technology during program execution and run the
appropriate versions of the routines. This is especially effective for
programs that may be executed on different machines.
Checking for MMX Technology Support
To check if MMX technology is available on your system, use cpuid to
and check the feature flags in the
edx register. If cpuid returns bit 23
set to 1 in the feature flags, the processor supports MMX technology.
Use the code segment in Example 3-1 to test for the existence of MMX
technology.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Intel ARCHITECTURE IA-32 and is the answer not in the manual?

Intel ARCHITECTURE IA-32 Specifications

General IconGeneral
Instruction Setx86
Instruction Set TypeCISC
Memory SegmentationSupported
Operating ModesReal mode, Protected mode, Virtual 8086 mode
Max Physical Address Size36 bits (with PAE)
Max Virtual Address Size32 bits
ArchitectureIA-32 (Intel Architecture 32-bit)
Addressable Memory4 GB (with Physical Address Extension up to 64 GB)
Floating Point Registers8 x 80-bit
MMX Registers8 x 64-bit
SSE Registers8 x 128-bit
RegistersGeneral-purpose registers (EAX, EBX, ECX, EDX, ESI, EDI, ESP, EBP), Segment registers (CS, DS, SS, ES, FS, GS), Instruction pointer (EIP), Flags register (EFLAGS)
Floating Point UnitYes (x87)

Related product manuals