35 #ifndef _BLAZE_MATH_INTRINSICS_STREAM_H_
36 #define _BLAZE_MATH_INTRINSICS_STREAM_H_
74 template<
typename T >
81 _mm256_stream_si256( reinterpret_cast<__m256i*>( address ), value.value );
83 _mm_stream_si128( reinterpret_cast<__m128i*>( address ), value.value );
85 *address = value.value;
99 template<
typename T >
106 _mm512_store_epi32( address, value.value );
107 #elif BLAZE_AVX2_MODE
108 _mm256_stream_si256( reinterpret_cast<__m256i*>( address ), value.value );
109 #elif BLAZE_SSE2_MODE
110 _mm_stream_si128( reinterpret_cast<__m128i*>( address ), value.value );
112 *address = value.value;
126 template<
typename T >
133 _mm512_store_epi64( address, value.value );
134 #elif BLAZE_AVX2_MODE
135 _mm256_stream_si256( reinterpret_cast<__m256i*>( address ), value.value );
136 #elif BLAZE_SSE2_MODE
137 _mm_stream_si128( reinterpret_cast<__m128i*>( address ), value.value );
139 *address = value.value;
158 _mm512_storenr_ps( address, value.value );
160 _mm256_stream_ps( address, value.value );
162 _mm_stream_ps( address, value.value );
164 *address = value.value;
183 _mm512_storenr_pd( address, value.value );
185 _mm256_stream_pd( address, value.value );
186 #elif BLAZE_SSE2_MODE
187 _mm_stream_pd( address, value.value );
189 *address = value.value;
209 _mm512_storenr_ps( reinterpret_cast<float*>( address ), value.value );
211 _mm256_stream_ps( reinterpret_cast<float*>( address ), value.value );
213 _mm_stream_ps( reinterpret_cast<float*>( address ), value.value );
215 *address = value.value;
235 _mm512_storenr_pd( reinterpret_cast<double*>( address ), value.value );
237 _mm256_stream_pd( reinterpret_cast<double*>( address ), value.value );
238 #elif BLAZE_SSE2_MODE
239 _mm_stream_pd( reinterpret_cast<double*>( address ), value.value );
241 *address = value.value;
Intrinsic type for 32-bit single precision complex values.
Header file for basic type definitions.
BLAZE_ALWAYS_INLINE EnableIf< And< IsIntegral< T >, HasSize< T, 2UL > > >::Type stream(T *address, const sse_int16_t &value)
Aligned, non-temporal store of a vector of 2-byte integral values.
Definition: Stream.h:76
Header file for the IsIntegral type trait.
Header file for the And class template.
Intrinsic type for 64-bit integral data values.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Intrinsic type for 16-bit integral data values.
Intrinsic type for 32-bit single precision floating point data values.
Intrinsic type for 64-bit double precision complex values.
Constraint on the data type.
Header file for the EnableIf class template.
Intrinsic type for 64-bit double precision floating point data values.
Header file for the basic intrinsic types.
Header file for run time assertion macros.
Header file for the HasSize type trait.
bool checkAlignment(const T *address)
Checks the alignment of the given.
Definition: AlignmentCheck.h:68
Header file for the alignment check function.
System settings for the SSE mode.
Header file for the complex data type.
Intrinsic type for 32-bit integral data values.
#define BLAZE_STATIC_ASSERT(expr)
Compile time assertion macro.In case of an invalid compile time expression, a compilation error is cr...
Definition: StaticAssert.h:143
System settings for the inline keywords.
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.In case of an invalid run time expression, the program execution is terminated. The BLAZE_INTERNAL_ASSERT macro can be disabled by setting the BLAZE_USER_ASSERTION flag to zero or by defining NDEBUG during the compilation.
Definition: Assert.h:101