我正在尝试对这个 for 循环进行矢量化。使用 Rpass 标志后,我得到以下评论:
int someOuterVariable = 0;
for (unsigned int i = 7; i != -1; i--)
{
array[someOuterVariable + i] -= 0.3 * anotherArray[i];
}
Remark:
The cost-model indicates that vectorization is not beneficial
the cost-model indicates that interleaving is not beneficial
我想了解这意味着什么。“交错不是有益的”是否意味着数组索引不正确?