Prefix indicates a pairing restriction violation.
The instruction for which Prefix is issued has a prefix. On Pentium(R) processors, prefixed instructions can pair only when they are issued to the U pipe.
On Pentium processors with MMX(TM) technology, MMX technology instructions with 0F prefixes and JCC instructions with prefixes can pair, whether they are issued to the U pipe or to the V pipe. Instructions with any other prefixes pair only when they are issued to the U pipe.
Try to avoid using prefixed instructions. Follow these guidelines:
Do not reference word data types in 32-bit mode, or long data types in 16-bit mode.
Do not use segment registers instead of general registers.
Use the DS segment register to access the data segment when possible. Instructions with other segment registers have a one-byte, segment-override prefix.
Example:
Original |
Cycle |
Optimized |
Cycle |
---|---|---|---|
|
|
|
|
These instructions all use 16-bit register
and operands, in 32-bit mode. Their opcodes therefore have prefixes. On
the Pentium(R) processor, prefixed instructions take one additional cycle
to execute. |
The code is rewritten, to prevent the prefix
penalty. |