Skip to content

build: update AVX2 check#15661

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:fix_android_build_avx2
Oct 8, 2019
Merged

build: update AVX2 check#15661
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:fix_android_build_avx2

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Oct 8, 2019

  • _mm256_bslli_epi128() works in GCC 4.9.3+ only
  • Android NDK r10 doesn't support this instruction

relates #15510
fixes nightly build.

force_builders=Android pack,Linux AVX2

- _mm256_bslli_epi128() works in GCC 4.9.3+ only
- Android NDK r10 doesn't support this instruction
@mshabunin mshabunin self-assigned this Oct 8, 2019
@opencv-pushbot opencv-pushbot merged commit 42ac089 into opencv:3.4 Oct 8, 2019
@terfendail
Copy link
Copy Markdown
Contributor

Sorry for late response. Wouldn't it be better to replace calls to _mm256_bslli_epi128 with calls to _mm256_slli_si256. According to the Intel Intrinsics Guide both have the same effect and are mapped to the same asm instruction, but the latter already exists in the code and probably doesn't cause the build failure.

@alalek alalek mentioned this pull request Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants