Commit 590e7bed authored by PIACIBELLO Cyrille's avatar PIACIBELLO Cyrille

Should definitely works on Intel Compiler, tested on Bright cluster

parent 606c12b3
......@@ -6,19 +6,19 @@
#ifdef __INTEL_COMPILER
//Side effect operators DOUBLE
inline __m256d& operator+=(__m256d & a, __m256d & b){
inline __m256d& operator+=(__m256d & a, const __m256d & b){
return (a = _mm256_add_pd (a,b));
}
inline __m256d& operator-=(__m256d& a, __m256d& b){
inline __m256d& operator-=(__m256d& a, const __m256d& b){
return (a = _mm256_sub_pd (a,b));
}
inline __m256d& operator*=(__m256d& a, __m256d& b){
inline __m256d& operator*=(__m256d& a, const __m256d& b){
return (a = _mm256_mul_pd (a,b));
}
inline __m256d& operator/=(__m256d& a, __m256d& b){
inline __m256d& operator/=(__m256d& a, const __m256d& b){
return (a = _mm256_div_pd (a,b));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment