From 7076d4ae1c37f627c4d75f8b5208313e6cd32b94 Mon Sep 17 00:00:00 2001 From: bmanga Date: Fri, 12 Nov 2021 19:30:52 +0100 Subject: [PATCH] Add Vc_INTRINSIC to fixed_size_simd operators --- Vc/common/simdarray.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Vc/common/simdarray.h b/Vc/common/simdarray.h index ba9daf27c..043456006 100644 --- a/Vc/common/simdarray.h +++ b/Vc/common/simdarray.h @@ -1586,16 +1586,16 @@ namespace Detail #define Vc_FIXED_OP(op) \ template ::is_atomic>::type> \ - fixed_size_simd operator op(const fixed_size_simd &a, \ - const fixed_size_simd &b) \ + Vc_INTRINSIC fixed_size_simd operator op(const fixed_size_simd &a, \ + const fixed_size_simd &b) \ { \ return {private_init, internal_data(a) op internal_data(b)}; \ } \ template ::is_atomic>::type, \ class = T> \ - fixed_size_simd operator op(const fixed_size_simd &a, \ - const fixed_size_simd &b) \ + Vc_INTRINSIC fixed_size_simd operator op(const fixed_size_simd &a, \ + const fixed_size_simd &b) \ { \ return {internal_data0(a) op internal_data0(b), \ internal_data1(a) op internal_data1(b)}; \ @@ -1607,16 +1607,16 @@ Vc_ALL_SHIFTS(Vc_FIXED_OP); #define Vc_FIXED_OP(op) \ template ::is_atomic>::type> \ - fixed_size_simd_mask operator op(const fixed_size_simd &a, \ - const fixed_size_simd &b) \ + Vc_INTRINSIC fixed_size_simd_mask operator op(const fixed_size_simd &a, \ + const fixed_size_simd &b) \ { \ return {private_init, internal_data(a) op internal_data(b)}; \ } \ template ::is_atomic>::type, \ class = T> \ - fixed_size_simd_mask operator op(const fixed_size_simd &a, \ - const fixed_size_simd &b) \ + Vc_INTRINSIC fixed_size_simd_mask operator op(const fixed_size_simd &a, \ + const fixed_size_simd &b) \ { \ return {internal_data0(a) op internal_data0(b), \ internal_data1(a) op internal_data1(b)}; \