aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/simd_32/simd_scalar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/simd_32/simd_scalar.h')
-rw-r--r--src/utils/simd_32/simd_scalar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/simd_32/simd_scalar.h b/src/utils/simd_32/simd_scalar.h
index 148b76c35..5cf1a11c3 100644
--- a/src/utils/simd_32/simd_scalar.h
+++ b/src/utils/simd_32/simd_scalar.h
@@ -142,6 +142,14 @@ class SIMD_Scalar
R3 |= other.R3;
}
+ SIMD_Scalar operator&(const SIMD_Scalar& other)
+ {
+ return SIMD_Scalar(R0 & other.R0,
+ R1 & other.R1,
+ R2 & other.R2,
+ R3 & other.R3);
+ }
+
void operator&=(const SIMD_Scalar& other)
{
R0 &= other.R0;