This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/70584] constexpr variables cannot be used as intrinsic arguments where an immediate is expected


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70584

--- Comment #1 from Daniel Gutson <daniel.gutson at tallertechnologies dot com> ---
Additional data: an enumerator works:

int main()
{
    __m128i r;

    //constexpr auto index = 1;
    enum { index = 1 };
    r = _mm_aeskeygenassist_si128(r, index);
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]