The invention provides compiler loop optimization techniques to take advantage of a zero overhead loop mechanism (ZOLM) in a processor, e.g., a ZOLM in the form of a zero overhead loop buffer (ZOLB). In an illustrative embodiment, a compiler generates a first set of code, and then applies optimizations to the first set of code so as to generate a second set of code configured to operate efficiently with the ZOLB. The optimizations are designed to increase the number of loops of the first set of code that can be accommodated in the ZOLB, to further reduce the overhead of the loops placed in the ZOLB, and to eliminate redundant loading of the ZOLB. Optimizations for increasing the number of loops that can be accommodated in the ZOLB include, e.g., conditional instructions, loop splitting and function inlining. Optimizations for further reductions in loop overhead include, e.g., loop collapsing and loop interchange. Data flow analysis and loop peeling may be used to avoid redundant loading of the ZOLB.

Вымысел обеспечивает методы оптимизирования петли составителя для того чтобы take advantage of zero надземный механизм петли (ZOLM) в обработчике, например, ZOLM in the form of zero надземный буфер петли (ZOLB). В иллюстративном воплощении, составитель производит первый комплект Кодего, и после этого прикладывает оптимизирования к первому комплекту Кодего для того чтобы произвести второй комплект Кодего установленный для того чтобы работать эффективно с ZOLB. Оптимизирования конструированы для того чтобы увеличить число петель первого комплекта Кодего можно приспособить в ZOLB, более далее для того чтобы уменьшить накладные расходы петель помещенных в ZOLB, и исключить резервную нагрузку ZOLB. Оптимизирования для увеличивать число петель можно приспособить в ZOLB вклюают, например, условно инструкции, разделять петли и функцию inlining. Оптимизирования для более дополнительных уменьшений в накладных расходах петли вклюают, рушиться например, петли и взаимообмен петли. Потока информации анализ и шелушение петли может быть использовано для избежания резервной нагрузки ZOLB.

 
Web www.patentalert.com

< (none)

< Solid state based illumination source for a projection display

> Verification of sensitivity list integrity in a hardware description language file

> (none)

~ 00031