Optimizing techniques for saturated arithmetic with first-order linear recurrence
Weihua Zhang, Lili Liu, Chen Zhang, Hongjiong Zhang, Binyu Zang, Chuanqi Zhu · 2009
Saturated arithmetic is a typical operation in multimedia applications, most multimedia extensions in the instruction set architecture (ISA) of modern processors provide saturation instructions for such operation. Therefore, extensive researches have focused on how to utilize saturation instructions to optimize programs. Previous algorithms mainly focus on purely saturated arithmetic, however saturated arithmetic is often mingled with first-order linear recurrence (FOLR) in real life applications. When FLOR pattern appears in the program, previous algorithms can not identify the saturated arithmetic as well.