Skip to content

types to use for mask parameters #6

Closed
@jackmott

Description

@jackmott

avx and avx512 have a lot of mask parameters.

For a function like _mm256_blendv_pd what should the type be for the mask parameter?
I've currently got it as:

pub fn _mm256_blendv_pd(a: f64x4, b: f64x4, mask: f64x4) -> f64x4 {
    unsafe { blendvpd256(a, b, mask) }
}

But should this be i64x4? __m256i?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions