An apparatus and method are provided for extending a microprocessor
instruction set to allow for selective override of memory traits at the
instruction level. The apparatus includes translation logic and extended
execution logic. The translation logic translates an extended instruction
into a micro instruction sequence. The extended instruction has an
extended prefix and an extended prefix tag. The extended prefix specifies
a memory trait for a memory reference prescribed by the extended
instruction, where the memory trait for the memory reference cannot be
specified by an existing instruction from an existing instruction set.
The extended prefix tag indicates the extended prefix, where the extended
prefix tag is an otherwise architecturally specified opcode within the
existing instruction set. The extended execution logic is coupled to the
translation logic. The extended execution logic receives the micro
instruction sequence, and employs the memory trait to execute the memory
reference.