45 template <
typename Primitive>
struct PrimitiveType {
using type =
typename std::remove_cv<Primitive>::type; };
46 template <
typename Primitive>
struct PrimitiveType<
std::complex<Primitive>> {
using type =
typename std::remove_cv<Primitive>::type; };
58template <
typename ScalarType,
typename vSIMDType>
61 static constexpr size_t n =
sizeof (vSIMDType) /
sizeof (ScalarType);
62 static constexpr size_t mask = (
sizeof (vSIMDType) /
sizeof (ScalarType)) - 1;
103 UnionMaskType
a {av};
105 for (
size_t i = 0;
i <
n; ++
i)
114 auto retval =
static_cast<ScalarType
> (0);
116 for (
size_t i = 0;
i <
n; ++
i)
126 for (
size_t i = 0;
i <
n; ++
i)
127 a.s[
i] =
static_cast<ScalarType
> (
static_cast<int> (
a.s[
i]));
134 UnionType
a {av},
b {bv},
c {cv};
136 for (
size_t i = 0;
i <
n; ++
i)
137 a.s[
i] +=
b.s[
i] *
c.s[
i];
145 UnionType
a {av},
b {bv};
147 for (
size_t i = 0;
i <
n; ++
i)
148 if (
a.s[
i] !=
b.s[
i])
157 UnionType
a {av},
b {bv},
r;
159 const int m =
n >> 1;
160 for (
int i = 0;
i <
m; ++
i)
188 template <
typename Op>
191 UnionType
a {av},
b {bv};
193 for (
size_t i = 0;
i <
n; ++
i)
194 a.s[
i] = Op::op (
a.s[
i],
b.s[
i]);
199 template <
typename Op>
202 UnionType
a {av},
b {bv};
205 for (
size_t i = 0;
i <
n; ++
i)
211 template <
typename Op>
214 UnionMaskType
a {av},
b {bv};
216 for (
size_t i = 0;
i <
n; ++
i)
217 a.m[
i] = Op::op (
a.m[
i],
b.m[
i]);
226 for (
size_t i = 0;
i <
n; ++
i)
236 for (
size_t i = 0;
i <
n; ++
i)
246 for (
size_t i = 0;
i <
n; ++
i)
250 template <
unsigned int shuffle_
idx>
257 for (
size_t i = 0;
i <
n; ++
i)
Type jmin(const Type a, const Type b)
Definition MathsFunctions.h:60
Type jmax(const Type a, const Type b)
Definition MathsFunctions.h:48
uint8_t a
Definition Spc_Cpu.h:141
unsigned * m
Definition inflate.c:1559
unsigned v[N_MAX]
Definition inflate.c:1584
struct huft * u[BMAX]
Definition inflate.c:1583
register unsigned i
Definition inflate.c:1575
int retval
Definition inflate.c:947
unsigned s
Definition inflate.c:1555
static PuglViewHint int value
Definition pugl.h:1708
unsigned short uint16_t
Definition mid.cpp:99
int int32_t
Definition mid.cpp:97
unsigned int uint32_t
Definition mid.cpp:100
short int16_t
Definition mid.cpp:96
unsigned char uint8_t
Definition mid.cpp:98
signed char int8_t
Definition mid.cpp:95
Definition juce_fallback_SIMDNativeOps.h:33
Definition juce_AudioBlock.h:29
Definition carla_juce.cpp:31
Definition juce_Uuid.h:141
Definition juce_fallback_SIMDNativeOps.h:173
static forcedinline ScalarType op(ScalarType a, ScalarType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:173
Definition juce_fallback_SIMDNativeOps.h:178
static forcedinline MaskType op(MaskType a, MaskType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:178
Definition juce_fallback_SIMDNativeOps.h:182
static forcedinline bool op(ScalarType a, ScalarType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:182
Definition juce_fallback_SIMDNativeOps.h:185
static forcedinline bool op(ScalarType a, ScalarType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:185
Definition juce_fallback_SIMDNativeOps.h:184
static forcedinline bool op(ScalarType a, ScalarType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:184
Definition juce_fallback_SIMDNativeOps.h:177
static forcedinline ScalarType op(ScalarType a, ScalarType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:177
Definition juce_fallback_SIMDNativeOps.h:176
static forcedinline ScalarType op(ScalarType a, ScalarType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:176
Definition juce_fallback_SIMDNativeOps.h:175
static forcedinline ScalarType op(ScalarType a, ScalarType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:175
Definition juce_fallback_SIMDNativeOps.h:183
static forcedinline bool op(ScalarType a, ScalarType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:183
Definition juce_fallback_SIMDNativeOps.h:181
static forcedinline MaskType op(MaskType a, MaskType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:181
Definition juce_fallback_SIMDNativeOps.h:179
static forcedinline MaskType op(MaskType a, MaskType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:179
Definition juce_fallback_SIMDNativeOps.h:174
static forcedinline ScalarType op(ScalarType a, ScalarType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:174
Definition juce_fallback_SIMDNativeOps.h:180
static forcedinline MaskType op(MaskType a, MaskType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:180
Definition juce_fallback_SIMDNativeOps.h:60
static forcedinline vSIMDType min(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:80
static forcedinline vSIMDType greaterThanOrEqual(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:85
static constexpr size_t mask
Definition juce_fallback_SIMDNativeOps.h:62
static forcedinline vSIMDType load(const ScalarType *a) noexcept
Definition juce_fallback_SIMDNativeOps.h:232
static forcedinline vSIMDType bit_or(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:76
static forcedinline bool allEqual(vSIMDType av, vSIMDType bv) noexcept
Definition juce_fallback_SIMDNativeOps.h:143
static forcedinline vSIMDType expand(ScalarType s) noexcept
Definition juce_fallback_SIMDNativeOps.h:222
static forcedinline vSIMDType set(vSIMDType v, size_t i, ScalarType s) noexcept
Definition juce_fallback_SIMDNativeOps.h:93
static forcedinline vSIMDType bit_notand(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:78
static forcedinline void store(vSIMDType av, ScalarType *dest) noexcept
Definition juce_fallback_SIMDNativeOps.h:242
static forcedinline vSIMDType notEqual(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:83
static forcedinline vSIMDType bit_xor(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:77
static forcedinline vSIMDType greaterThan(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:84
static forcedinline ScalarType sum(vSIMDType av) noexcept
Definition juce_fallback_SIMDNativeOps.h:111
static forcedinline vSIMDType mul(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:74
typename SIMDInternal::MaskTypeFor< ScalarType >::type MaskType
Definition juce_fallback_SIMDNativeOps.h:66
static forcedinline vSIMDType multiplyAdd(vSIMDType av, vSIMDType bv, vSIMDType cv) noexcept
Definition juce_fallback_SIMDNativeOps.h:132
static forcedinline vSIMDType sub(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:73
static forcedinline vSIMDType add(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:72
static forcedinline vSIMDType cmp(vSIMDType av, vSIMDType bv) noexcept
Definition juce_fallback_SIMDNativeOps.h:200
static forcedinline vSIMDType max(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:81
static forcedinline vSIMDType bit_and(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:75
static forcedinline vSIMDType bit_not(vSIMDType av) noexcept
Definition juce_fallback_SIMDNativeOps.h:101
static forcedinline vSIMDType shuffle(vSIMDType av) noexcept
Definition juce_fallback_SIMDNativeOps.h:251
static constexpr size_t n
Definition juce_fallback_SIMDNativeOps.h:61
static forcedinline vSIMDType equal(vSIMDType a, vSIMDType b) noexcept
Definition juce_fallback_SIMDNativeOps.h:82
static constexpr size_t bits
Definition juce_fallback_SIMDNativeOps.h:63
static forcedinline ScalarType get(vSIMDType v, size_t i) noexcept
Definition juce_fallback_SIMDNativeOps.h:87
static forcedinline vSIMDType truncate(vSIMDType av) noexcept
Definition juce_fallback_SIMDNativeOps.h:122
static forcedinline vSIMDType bitapply(vSIMDType av, vSIMDType bv) noexcept
Definition juce_fallback_SIMDNativeOps.h:212
static forcedinline vSIMDType cmplxmul(vSIMDType av, vSIMDType bv) noexcept
Definition juce_fallback_SIMDNativeOps.h:155
static forcedinline vSIMDType apply(vSIMDType av, vSIMDType bv) noexcept
Definition juce_fallback_SIMDNativeOps.h:189
@ value
Definition juce_fallback_SIMDNativeOps.h:49
Definition juce_fallback_SIMDNativeOps.h:48
@ value
Definition juce_fallback_SIMDNativeOps.h:48
uint8_t type
Definition juce_fallback_SIMDNativeOps.h:37
uint64_t type
Definition juce_fallback_SIMDNativeOps.h:36
uint32_t type
Definition juce_fallback_SIMDNativeOps.h:35
uint16_t type
Definition juce_fallback_SIMDNativeOps.h:39
uint32_t type
Definition juce_fallback_SIMDNativeOps.h:40
uint64_t type
Definition juce_fallback_SIMDNativeOps.h:41
uint8_t type
Definition juce_fallback_SIMDNativeOps.h:38
uint64_t type
Definition juce_fallback_SIMDNativeOps.h:43
uint32_t type
Definition juce_fallback_SIMDNativeOps.h:42
Definition juce_fallback_SIMDNativeOps.h:34
Primitive type
Definition juce_fallback_SIMDNativeOps.h:34
typename std::remove_cv< Primitive >::type type
Definition juce_fallback_SIMDNativeOps.h:46
Definition juce_fallback_SIMDNativeOps.h:45
typename std::remove_cv< Primitive >::type type
Definition juce_fallback_SIMDNativeOps.h:45
Definition juce_fallback_SIMDNativeOps.h:68
vSIMDType v
Definition juce_fallback_SIMDNativeOps.h:68
MaskType m[n]
Definition juce_fallback_SIMDNativeOps.h:68
Definition juce_fallback_SIMDNativeOps.h:67
vSIMDType v
Definition juce_fallback_SIMDNativeOps.h:67
ScalarType s[n]
Definition juce_fallback_SIMDNativeOps.h:67
int n
Definition crypt.c:458
return c
Definition crypt.c:175
int r
Definition crypt.c:458
int result
Definition process.c:1455
typedef int(UZ_EXP MsgFn)()