Skip to content

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

Open
woobble wants to merge 13 commits intosimd-everywhere:masterfrom
woobble:master
Open

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

Conversation

@woobble
Copy link
Copy Markdown

@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
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.

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