发明名称 Methods to optimize a program loop via vector instructions using a shuffle table and a mask store table
摘要 According to one embodiment, a code optimizer is configured to receive first code having a program loop implemented with scalar instructions to store values of a first array to a second array based on values of a third array. The code optimizer is configured to generate second code representing the program loop with vector instructions including a shuffle instruction and a store instruction, the store instruction to shuffle using a shuffle table elements of the first array based on the second array in a vector manner, the store instruction to store using a mask store table the shuffled elements in the third array in a vector manner.
申请公布号 US9436469(B2) 申请公布日期 2016.09.06
申请号 US201113976162 申请日期 2011.12.15
申请人 Intel Corporation 发明人 Uliel Tal;Ould-Ahmedvall Elmoustapha;Toll Bret T.
分类号 G06F9/30;G06F9/45 主分类号 G06F9/30
代理机构 Nicholson De Vos Webster & Elliott LLP 代理人 Nicholson De Vos Webster & Elliott LLP
主权项 1. A computer-implemented method, comprising: receiving first code having a program loop implemented with scalar instructions to store values of a first array to a second array based on values of a third array; and generating second code representing the program loop with vector instructions, the second code including a shuffle instruction to shuffle elements of the first array based on the third array using a shuffle table in a vector manner, anda store instruction to store the shuffled elements of the first array in the second array using a mask store table in a vector manner.
地址 Santa Clara CA US