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 #158 background imageLoading...
Page #158 background image
IA-32 Intel® Architecture Optimization
2-86
In some situations, the byte count of the data to operate is known by the
context (versus from a parameter passed from a call). One can take a
simpler approach than those required for a general-purpose library
routine. For example, if the byte count is also small, using rep
movsb/stosb with count less than four can ensure good address
alignment and loop-unrolling to finish the remaining data; using
movsd/stosd can reduce the overhead associated with iteration.
Using a REP prefix with string move instructions can provide high
performance in the situations described above. However, using a REP
prefix with string scan instructions (scasb, scasw, scasd, scasq) or
compare instructions (cmpsb, cmpsw, smpsd, smpsq) is not
recommended for high performance. Consider using SIMD instructions
instead.
Address Calculations
Use the addressing modes for computing addresses rather than using the
general-purpose computation. Internally, memory reference instructions
can have four operands:
relocatable load-time constant
immediate constant
base register
scaled index register
In the segmented model, a segment register may constitute an additional
operand in the linear address calculation. In many cases, several integer
instructions can be eliminated by fully using the operands of memory
references.

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