Go to the source code of this file.
◆ MOCHI_NATIVE_SIMD_IMPL_BOILERPLATE
| #define MOCHI_NATIVE_SIMD_IMPL_BOILERPLATE |
( |
| T, |
|
|
| N, |
|
|
| NativeT ) |
Value:NativeT raw; \
static constexpr int kSize = N; \
static constexpr bool kIsSupported = true; \
static constexpr bool kIsComposite = false; \
static constexpr bool kIsEmulated = false; \
using NativeType = NativeT; \
using Scalar = T; \
return kSize; \
} \
template <class U, MOCHI_REQUIRES_NON_BOOL_SCALAR(U, Scalar)> \
raw = Simd{rhs}.raw; \
return *this; \
} \
}
Definition at line 36 of file simd_specializations_inl.h.
◆ MOCHI_REQUIRES_NON_BOOL_SCALAR
| #define MOCHI_REQUIRES_NON_BOOL_SCALAR |
( |
| U, |
|
|
| S ) |