Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conversion between incompatible vector types warnings #217

Open
jeromecoutant opened this issue Nov 4, 2024 · 1 comment
Open

conversion between incompatible vector types warnings #217

jeromecoutant opened this issue Nov 4, 2024 · 1 comment
Labels
bug Something isn't working DONE Issue done but not yet closed

Comments

@jeromecoutant
Copy link

Hi

Build with IAR toolchain:

  uint16x8_t    curExtremValVec = vdupq_n_s16(Q15_ABSMAX);
                                  ^

"/xxx/Source/StatisticsFunctions/arm_absmin_no_idx_q15.c",59 Warning[Pe1757]: conversion between incompatible vector types

  uint32x4_t    curExtremValVec = vdupq_n_s32(Q31_ABSMAX);
                                  ^

"/xxx/Source/StatisticsFunctions/arm_absmin_no_idx_q31.c",60 Warning[Pe1757]: conversion between incompatible vector types

  uint8x16_t     curExtremValVec = vdupq_n_s8(Q7_ABSMAX);
                                   ^

"/xxx/Source/StatisticsFunctions/arm_absmin_no_idx_q7.c",62 Warning[Pe1757]: conversion between incompatible vector types

Thx

@christophe0606
Copy link
Contributor

@jeromecoutant It looks like a bug. The max versions have been corrected to use unsigned intrinsics but the min is still using signed ones.

@christophe0606 christophe0606 added the bug Something isn't working label Nov 4, 2024
christophe0606 added a commit that referenced this issue Nov 4, 2024
@christophe0606 christophe0606 added the DONE Issue done but not yet closed label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DONE Issue done but not yet closed
Projects
None yet
Development

No branches or pull requests

2 participants