Patent ID: 9411587
Filing Date: 2016-08-09
CPC Classification: G06F

Claim Text:
1. A method, comprising: receiving, by a prefetch optimizer tool of an information handling system (IHS), an instruction sequence of interest including a plurality of instructions with respective software prefetch instructions in advance of particular load instructions; instructing, by the prefetch optimizer tool, a hardware prefetch mechanism in a processor of the IHS to prefetch instructions from a memory at a selected prefetch depth of a plurality of selectable hardware prefetch depths; cycling, by the prefetch optimizer tool, through each of the selectable hardware prefetch depths of the plurality of selectable prefetch depths, and that for each hardware prefetch depth cycles through disabling each of the software prefetch instructions to measure respective execution times of the instruction sequence of interest; and storing, by the prefetch optimizer tool, a plurality of execution times of the instruction sequence of interest at each of the selectable hardware prefetch depths, each of execution times at each selectable hardware refetch depths corresponding to a different disabled software prefetch instruction.