You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use your header file to run a SSE SIMD code on MIIPS CPU(Loongson 3A3000),it turns out with some errors.
error: can’t convert between vector values of different size
return vreinterpret_m128(__builtin_msa_fadd_w(vreinterpret_v4f32(a), vreinterpret_v4f32(b)));
error:can’t convert between vector values of different size extension(({union {int32_t i; typeof(x) v;} $ = {.v = x}; $.i;}))
I don't know how to solve these problems, can you help me?
thank you so much.
The text was updated successfully, but these errors were encountered:
@doublekang2018 This header file converts intel SSE intrinsic to MIPS MSA implementation. It requires your compiler to support MIPS MSA builtin functions (gcc 7.1+), and a cpu that supports MIPS MSA ASE, such as loongson 3A4000 or Ingenic x2000. As I know, the loongson 3A3000 dose not support MIPS MSA, if you just want to run SSE code on the loongson 3A3000 platform, you can try the SIMDe project.
I'm trying to use your header file to run a SSE SIMD code on MIIPS CPU(Loongson 3A3000),it turns out with some errors.
error: can’t convert between vector values of different size
return vreinterpret_m128(__builtin_msa_fadd_w(vreinterpret_v4f32(a), vreinterpret_v4f32(b)));
error:can’t convert between vector values of different size
extension(({union {int32_t i; typeof(x) v;} $ = {.v = x}; $.i;}))
I don't know how to solve these problems, can you help me?
thank you so much.
The text was updated successfully, but these errors were encountered: