If you vectorize this code, since you are treating the values as bytes, that means that each instruction will operate on 16 values at once!
如果对代码进行向量化,由于您正在将这些值当作字节进行处理,这意味着每条指令都要一次操作16 个值!
The most obvious optimization to make on a vector process is to vectorize the code.
对向量处理过程最明显的优化是对代码进行向量化。
Remember that the point of removing the branch was so that you can vectorize the code.
请记住:删除分支的目的在于对代码进行向量化。
The problem was that in order to vectorize the code, the code must follow the same set of instructions for each member of the vector.
问题是为了对代码进行向量化,代码必须要对所有向量元素都按照相同的指令集执行。
The problem was that in order to vectorize the code, the code must follow the same set of instructions for each member of the vector.
问题是为了对代码进行向量化,代码必须要对所有向量元素都按照相同的指令集执行。
应用推荐