13.07.2015 Views

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

24594 Rev. 3.10 February 2005 AMD64 TechnologyMOVNTIMove Non-Temporal Doubleword or QuadwordStores a value in a 32-bit or 64-bit general-purpose register (second oper<strong>and</strong>) in amemory location (first oper<strong>and</strong>). This instruction indicates to the processor that thedata is non-temporal <strong>and</strong> is unlikely to be used again soon. The processor treats thestore as a write-combining (WC) memory write, which minimizes cache pollution. Theexact method by which cache pollution is minimized depends on the hardwareimplementation of the instruction. For further information, see “MemoryOptimization” in <strong>Volume</strong> 1.The MOVNTI instruction is weakly-ordered with respect to other instructions thatoperate on memory. Software should use an SFENCE instruction to force strongmemory ordering of MOVNTI with respect to other stores.Support for the MOVNTI instruction is indicated when the SSE2 bit (bit 26) is set to 1in EDX after executing CPUID st<strong>and</strong>ard function 1.Mnemonic Opcode DescriptionMOVNTI mem32, reg32 0F C3 /rMOVNTI mem64, reg64 0F C3 /rStores a 32-bit general-purpose register value into a 32-bitmemory location, minimizing cache pollution.Stores a 64-bit general-purpose register value into a 64-bitmemory location, minimizing cache pollution.Related <strong>Instructions</strong>MOVNTDQ, MOVNTPD, MOVNTPS, MOVNTQrFLAGS AffectedNoneExceptionsException (vector) RealVirtual8086 Protected Cause of ExceptionInvalid opcode, #UD X X X The SSE2 instructions are not supported, as indicated by EDXbit 26 of CPUID st<strong>and</strong>ard function 1.Stack, #SS X X X A memory address exceeded the stack segment limit or wasnon-canonical.MOVNTI 203

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!