Fix "error C2719: formal parameter with requested alignment of 16 won't be aligned"

This was somewhat expected due to the Solaris knob turning.
pull/668/merge
Jeffrey Walton 2018-07-16 17:09:26 -04:00
parent ee8c141d3c
commit c9d53ad340
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ __m128i _mm_clmulepi64_si128(const __m128i &a, const __m128i &b, int i)
// SunCC 5.11-5.15 compiler crash. Make the function inline
// and parameters non-const. Also see GH #188 and GH #224.
inline __m128i GCM_Reduce_CLMUL(__m128i c0, __m128i c1, __m128i c2, __m128i r)
inline __m128i GCM_Reduce_CLMUL(__m128i c0, __m128i c1, __m128i c2, const __m128i& r)
{
/*
The polynomial to be reduced is c0 * x^128 + c1 * x^64 + c2. c0t below refers to the most