Method and apparatus for using an assist processor and value speculation to facilitate prefetching for a primary processor

   
   

One embodiment of the present invention provides a system that prefetches from memory by using an assist processor that performs data speculation and that executes in advance of a primary processor. The system operates by executing executable code on the primary processor while simultaneously executing a reduced version of the executable code on the assist processor. This allows the assist processor to generate the same pattern of memory references that the primary processor generates in advance of when the primary processor generates the memory references. While executing the reduced version of the executable code, the system predicts a data value returned by a long latency operation within the executable code. The system subsequently uses the predicted data value to continue executing the reduced version of the executable code without having to wait for the long latency operation to complete.

Одно воплощение присытствыющего вымысла обеспечивает систему prefetches от памяти путем использование обработчика assist выполняют умозрение данных и исполняет in advance of главным образом обработчик. Система работает путем исполнять исполнительное Кодего на главным образом обработчике пока одновременно исполняющ уменьшенный вариант исполнительного Кодего на обработчике assist. Это позволяет обработчик assist произвести такую же картину справок памяти главным образом обработчик производит in advance of когда главным образом обработчик производит справки памяти. Пока исполняющ уменьшенный вариант исполнительного Кодего, система предсказывает значение данных возвращенное длинней деятельностью латентности в пределах исполнительного Кодего. Система затем использует предсказанное значение данных для того чтобы продолжать исполнить уменьшенный вариант исполнительного Кодего без ждать длиннюю деятельность латентности для того чтобы завершить.

 
Web www.patentalert.com

< Exterior mirror plano-auxiliary reflective element assembly

< Methods and systems for controlling a mailroom environment

> Method for manufacturing wheel-supporting hub unit and pressing mold for manufacturing same hub unit

> Fastener for laying pipes

~ 00122