Skip to content

Type error on SIMD native types not caught by compiler #126491

Open
@jfalcou

Description

@jfalcou

@SadiinsoSnowfall and I were cleaning up some more of our SIMD library code and found that code like:

auto f(__m128d a, __m128 b) { return a + b; }

Compiles when it should fail.

Reproduction :

https://godbolt.org/z/eE4b4Kdn8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions