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 #183 background image
Coding for SIMD Architectures 3
3-3
For more information on cpuid see, Intel
®
Processor Identification with
CPUID Instruction, order number 241618.
Checking for Streaming SIMD Extensions Support
Checking for support of Streaming SIMD Extensions (SSE) on your
processor is like checking for MMX technology. However, you must
also check whether your operating system (OS) supports SSE. This is
because the OS needs to manage saving and restoring the state
introduced by SSE for your application to properly function.
To check whether your system supports SSE, follow these steps:
1. Check that your processor supports the
cpuid instruction.
2. Check the feature bits of
cpuid for SSE existence.
3. Check for OS support for SSE.
Example 3-2 shows how to find the SSE feature bit (bit 25) in the
cpuid
feature flags.
Example 3-1 Identification of MMX Technology with cpuid
…identify existence of cpuid instruction
…;
; identify signature is genuine intel
…;
mov eax, 1 ; request for feature flags
cpuid ; 0Fh, 0A2h cpuid instruction
test edx, 00800000h ; is MMX technology bit (bit
; 23)in feature flags equal to 1
jnz Found

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