@@ -1618,9 +1618,8 @@ _mm_cvtt_ps2pi(__m128 __a)
16181618// / \returns A 128-bit vector of [4 x float] whose lower 32 bits contain the
16191619// / converted value of the second operand. The upper 96 bits are copied from
16201620// / the upper 96 bits of the first operand.
1621- static __inline__ __m128 __DEFAULT_FN_ATTRS
1622- _mm_cvtsi32_ss (__m128 __a, int __b)
1623- {
1621+ static __inline__ __m128 __DEFAULT_FN_ATTRS_CONSTEXPR _mm_cvtsi32_ss (__m128 __a,
1622+ int __b) {
16241623 __a[0 ] = __b;
16251624 return __a;
16261625}
@@ -1641,9 +1640,8 @@ _mm_cvtsi32_ss(__m128 __a, int __b)
16411640// / \returns A 128-bit vector of [4 x float] whose lower 32 bits contain the
16421641// / converted value of the second operand. The upper 96 bits are copied from
16431642// / the upper 96 bits of the first operand.
1644- static __inline__ __m128 __DEFAULT_FN_ATTRS
1645- _mm_cvt_si2ss (__m128 __a, int __b)
1646- {
1643+ static __inline__ __m128 __DEFAULT_FN_ATTRS_CONSTEXPR _mm_cvt_si2ss (__m128 __a,
1644+ int __b) {
16471645 return _mm_cvtsi32_ss (__a, __b);
16481646}
16491647
@@ -1665,9 +1663,8 @@ _mm_cvt_si2ss(__m128 __a, int __b)
16651663// / \returns A 128-bit vector of [4 x float] whose lower 32 bits contain the
16661664// / converted value of the second operand. The upper 96 bits are copied from
16671665// / the upper 96 bits of the first operand.
1668- static __inline__ __m128 __DEFAULT_FN_ATTRS
1669- _mm_cvtsi64_ss (__m128 __a, long long __b)
1670- {
1666+ static __inline__ __m128 __DEFAULT_FN_ATTRS_CONSTEXPR
1667+ _mm_cvtsi64_ss (__m128 __a, long long __b) {
16711668 __a[0 ] = __b;
16721669 return __a;
16731670}
0 commit comments