NeoLy123 2019-05-17 21:14 采纳率: 0%
浏览 599

树莓派将SSE转化成NEON报错

在sse.h里面加了sse2neon.h,编译的时候报错
arm_neon.h: In function '__m128 _mm_set1_ps(float)':
arm_neon.h:error: inlining failed in call to always_inline 'float32×4_t vdupq_n_f32(float32_t)':target specific option mismatch
vdupq_n_f32(float32_t __a)
sse2neon.h:155:4: note: called from here
(×)
sse2neon.h:324:9: note: in expansion of macro 'vreinterpretq_m128_f32'
return vreinterpretq_m128_f32(vdupq_n_f32(_w));

  • 写回答

0条回答 默认 最新

    报告相同问题?