Unaligned access on aligned pointer?

前端 未结 1 1966
盖世英雄少女心
盖世英雄少女心 2021-01-27 21:48

I have this function code:

bool interpolate(const Mat &im, float ofsx, float ofsy, float a11, float a12, float a21, float a22, Mat &res)
{         
   bo         


        
相关标签:
1条回答
  • 2021-01-27 22:20

    The compiler sees out++. It can't stay aligned.

    (That is to say, it remains aligned for float* access, but the message refers to SIMD vectorization which requires a stricter alignment)

    0 讨论(0)
提交回复
热议问题