Skip to content

[avx2] gather operations #62

@Lokathor

Description

@Lokathor

At first glance it seems like these can't be made safe and also totally zero-runtime-cost in an ergonomic way. I'm open to suggestions.

I hear these requested often enough when people talk about avx2, so I think if we can't do it safely with no runtime checks it would be permissible to expose versions of these that did some runtime checking if it was clearly marked as such.

  • _mm_i32gather_epi32
  • _mm_i32gather_epi64
  • _mm_i32gather_pd
  • _mm_i32gather_ps
  • _mm_i64gather_epi32
  • _mm_i64gather_epi64
  • _mm_i64gather_pd
  • _mm_i64gather_ps
  • _mm_mask_i32gather_epi32
  • _mm_mask_i32gather_epi64
  • _mm_mask_i32gather_pd
  • _mm_mask_i32gather_ps
  • _mm_mask_i64gather_epi32
  • _mm_mask_i64gather_epi64
  • _mm_mask_i64gather_pd
  • _mm_mask_i64gather_ps
  • _mm256_i32gather_epi32
  • _mm256_i32gather_epi64
  • _mm256_i32gather_pd
  • _mm256_i32gather_ps
  • _mm256_i64gather_epi32
  • _mm256_i64gather_epi64
  • _mm256_i64gather_pd
  • _mm256_i64gather_ps
  • _mm256_mask_i32gather_epi32
  • _mm256_mask_i32gather_epi64
  • _mm256_mask_i32gather_pd
  • _mm256_mask_i32gather_ps
  • _mm256_mask_i64gather_epi32
  • _mm256_mask_i64gather_epi64
  • _mm256_mask_i64gather_pd
  • _mm256_mask_i64gather_ps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions