This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70584] constexpr variables cannot be used as intrinsic arguments where an immediate is expected
- From: "daniel.gutson at tallertechnologies dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 07 Apr 2016 19:38:10 +0000
- Subject: [Bug c++/70584] constexpr variables cannot be used as intrinsic arguments where an immediate is expected
- Auto-submitted: auto-generated
- References: <bug-70584-4 at http dot gcc dot gnu dot org/bugzilla/>
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);
}