GENERATING VECTOR BASED SELECTION CONTROL STATEMENTS

    公开(公告)号:US20180181404A1

    公开(公告)日:2018-06-28

    申请号:US15391915

    申请日:2016-12-28

    申请人: Intel Corporation

    IPC分类号: G06F9/38 G06F9/30

    摘要: 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.