Skip to content

x86/avx512: Add implementations and tests for functions in cmpgt.h, cvt.h, extract.h, loadu.h, sllv.h#1402

Merged
mr-c merged 13 commits intosimd-everywhere:masterfrom
woobble:master
Apr 28, 2026
Merged

x86/avx512: Add implementations and tests for functions in cmpgt.h, cvt.h, extract.h, loadu.h, sllv.h#1402
mr-c merged 13 commits intosimd-everywhere:masterfrom
woobble:master

Conversation

@woobble
Copy link
Copy Markdown
Contributor

@woobble woobble commented Apr 22, 2026

Hello,
I've implemented some functions for my project:

cmpgt.h

  • simde_mm_cmpgt_epi8_mask
  • simde_mm256_cmpgt_epi8_mask

cvt.h

  • simde_mm512_cvtepi16_epi64
  • simde_mm_cvtepi16_epi8
  • simde_mm256_cvtepi16_epi8
  • simde_mm512_cvtepi8_epi32
  • simde_mm512_cvtepi8_epi64
  • simde_mm_cvtepi32_epi8
  • simde_mm256_cvtepi32_epi8
  • simde_mm512_cvtepi32_epi8
  • simde_mm_cvtepi32_epi16
  • simde_mm256_cvtepi32_epi16
  • simde_mm512_cvtepi32_epi16
  • simde_mm512_cvtepi32_epi64
  • simde_mm512_cvtepi64_epi8
  • simde_mm512_cvtepi64_epi16
  • simde_mm512_cvtepi64_pd
  • simde_mm512_cvtpd_epi32
  • simde_mm512_cvtpd_epi64

extract.h

  • simde_mm256_extracti64x2_epi64
  • simde_mm256_mask_extracti64x2_epi64
  • simde_mm256_maskz_extracti64x2_epi64
  • simde_mm512_extracti64x2_epi64
  • simde_mm512_mask_extracti64x2_epi64
  • simde_mm512_maskz_extracti64x2_epi64

loadu.h

  • simde_mm256_maskz_loadu_epi8

sllv.h

  • simde_mm_sllv_epi16
  • simde_mm256_sllv_epi16

I also found a 'bug' at

#if defined(SIMDE_X86_AVX51FDQ_NATIVE) && (!defined(HEDLEY_GCC_VERSION) || HEDLEY_GCC_VERSION_CHECK(7,0,0)) && !defined(SIMDE_BUG_CLANG_REV_299346)
where the guard was 'SIMDE_X86_AVX51FDQ_NATIVE' instead of SIMDE_X86_AVX51DQ_NATIVE.

Tested on an AMD Zen5 CPU.

@mr-c
Copy link
Copy Markdown
Collaborator

mr-c commented Apr 22, 2026

Thank you! Can you address the MSVC error? https://ci.appveyor.com/project/nemequ/simde/builds/53924201/job/3vwvh2pae8213193#L742

@woobble
Copy link
Copy Markdown
Contributor Author

woobble commented Apr 23, 2026

Yes! The MSVC error is fixed.

The new erorr in https://github.com/simd-everywhere/simde/actions/runs/24804640245/job/72595707288?pr=1402 is not related to my changes.

@mr-c mr-c enabled auto-merge (rebase) April 28, 2026 15:54
Copy link
Copy Markdown
Collaborator

@mr-c mr-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @woobble !

@mr-c mr-c merged commit 1747b24 into simd-everywhere:master Apr 28, 2026
349 of 352 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants