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

daniel.gutson at tallertechnologies dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 7 19:38:00 GMT 2016


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);
}


More information about the Gcc-bugs mailing list