وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

PREFETCH

PREFETCH 

Usage:  PREFETCH   src                            Modifies flags: None

Loads a processor cache line into the data cache. The address of this line is specified by the mem8 value. 

Prefetch Data Into Caches


PREFETCH  mem8                ; 0F 0D /0             [PENT,3DNOW]

PREFETCHW mem8                ; 0F 0D /1             [PENT,3DNOW]


PREFETCH and PREFETCHW fetch the line of data from memory that contains the specified byte. PREFETCHW performs differently on the Athlon to earlier processors.


For the AMD processor, the line size is 32 bytes. In all future processors, the size of the line that is loaded by the PREFETCH instruction will be at least 32-bytes. If a cache hit occurs (the line is already in the Dcache) or a memory fault is detected, no bus cycle is initiated and the instruction is treated as a NOP. For more details, see the 3DNow! Technology Manual.


Example:

prefetch Label