发明名称 |
FACILITATING EFFICIENT PREFETCHING FOR SCATTER/GATHER OPERATIONS |
摘要 |
The disclosed embodiments relate to a computing system that facilitates performing prefetching for scatter/gather operations. During operation, the system receives a scatter/gather prefetch instruction at a processor core, wherein the scatter/gather prefetch instruction specifies a virtual base address, and a plurality of offsets. Next, the system performs a lookup in a translation-lookaside buffer (TLB) using the virtual base address to obtain a physical base address that identifies a physical page for the base address. The system then sends the physical base address and the plurality of offsets to a cache. This enables the cache to perform prefetching operations for the scatter/gather instruction by adding the physical base address to the plurality of offsets to produce a plurality of physical addresses, and then prefetching cache lines for the plurality of physical addresses into the cache. |
申请公布号 |
US2015339233(A1) |
申请公布日期 |
2015.11.26 |
申请号 |
US201414282771 |
申请日期 |
2014.05.20 |
申请人 |
Oracle International Corporation |
发明人 |
Kapil Sanjiv;Gove Darryl J. |
分类号 |
G06F12/08;G06F12/10 |
主分类号 |
G06F12/08 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for facilitating prefetching for vector-indirect memory operations, comprising:
receiving a vector-indirect prefetch instruction at a processor core, wherein the vector-indirect prefetch instruction specifies a virtual base address, and a plurality of offsets; performing a lookup in a translation-lookaside buffer (TLB) using the virtual base address to obtain a physical base address that identifies a physical page for the base address; sending the physical base address and the plurality of offsets to a cache; and at the cache, performing prefetching operations for the vector-indirect prefetch instruction by,
adding the physical base address to the plurality of offsets to produce a plurality of physical addresses, andprefetching cache lines for the plurality of physical addresses into the cache. |
地址 |
Redwood City CA US |