-
公开(公告)号:US10795682B2
公开(公告)日:2020-10-06
申请号:US15391915
申请日:2016-12-28
Applicant: Intel Corporation
Inventor: Hideki Saito Ido , Eric N Garcia , Xinmin Tian , Milind B. Girkar , James Brodman
Abstract: In one example, a system for generating vector based selection control statements can include a processor to determine a vector cost of the selection control statement is below a scalar cost and determine the selection control statement is to be executed in a sorted order based on dependencies between branch instructions of the selection control statement. The processor can also determine a program ordering of labels of the selection control statement does not match a mathematical ordering of the labels and execute the selection control statement with a vector of values, wherein the selection control statement is to be executed based on a jump table and a sorted unique value technique, wherein the sorted unique value technique comprises selecting at least one of the plurality of branch instructions from the jump table.