Abstract

With advances in compiler optimization and program flow analysis, software assisted cache prefetching schemes using PREFETCH instructions are now possible. Although data can be prefetched accurately into the cache, the runtime overhead associated with these schemes often limits their practical use. We propose a new prefetching scheme, called the Embedded Data Prefetching (EDP), to prefetch array references with constant strides accurately. The basic idea of the EDP scheme is to store constant stride values of array references to be prefetched into a register array, called the stride register file. For each array reference r with constant stride s, the name of the stride register containing s will be embedded into the corresponding LOAD or STORE instruction for r. Then, prefetch hardware will use this embedded prefetching hint and its corresponding value in the stride register for accurate data prefetching. Compared to current software assisted data prefetching schemes, the EDP scheme has much lower runtime overhead without sacrificing prefetching accuracy. Our result showed that the EDP scheme is particularly suitable for computing intensive scientific applications where cache misses are mainly due to array references with constant strides and they can be prefetched very accurately by this EDP scheme. >

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.