发明授权
US5964867A Method for inserting memory prefetch operations based on measured latencies in a program optimizer 失效
基于程序优化器中测量的延迟来插入内存预取操作的方法

Method for inserting memory prefetch operations based on measured
latencies in a program optimizer
摘要:
A method is provided for optimizing a program by inserting memory prefetch operations in the program executing in a computer system. The computer system includes a processor and a memory. Latencies of instructions of the program are measured by hardware while the instructions are processed by a pipeline of the processor. Memory prefetch instructions are automatically inserted in the program based on the measured latencies to optimize execution of the program. The latencies measure the time from when a load instructions issues a request for data to the memory until the data are available in the processor. A program optimizer uses the measured latencies to estimate the number of cycles that elapse before data of a memory operation are available.
信息查询
0/0