如果对代码进行向量化,由于您正在将这些值当作字节进行处理,这意味着每条指令都要一次操作 16 个值!
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!
因此,至少从目前的代码使用方式来说,尚不能进行向量化。
Therefore, at least the way the code presently stands, it cannot be vectorized.
事实上,核心转换代码实际几乎已经向量化了。
In fact, the core conversion code is actually almost already vectorized.
应用推荐