Skip to content

Commit 7f829aa

Browse files
authored
Merge pull request #175 from p12tic/fixes
Miscellaneous fixes
2 parents e861ea6 + 6abe1f1 commit 7f829aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+184
-180
lines changed

simdpp/detail/insn/align.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ uint8<64> i_align16(const uint8<64>& lower, const uint8<64>& upper)
8383
template<unsigned shift, unsigned N> SIMDPP_INL
8484
uint8<N> i_align16(const uint8<N>& lower, const uint8<N>& upper)
8585
{
86-
SIMDPP_VEC_ARRAY_IMPL2(uint8<N>, i_align16<shift>, lower, upper);
86+
SIMDPP_VEC_ARRAY_IMPL2(uint8<N>, uint8<N>, i_align16<shift>, lower, upper);
8787
}
8888

8989
// -----------------------------------------------------------------------------
@@ -126,7 +126,7 @@ uint16<32> i_align8(const uint16<32>& lower, const uint16<32>& upper)
126126
template<unsigned shift, unsigned N> SIMDPP_INL
127127
uint16<N> i_align8(const uint16<N>& lower, const uint16<N>& upper)
128128
{
129-
SIMDPP_VEC_ARRAY_IMPL2(uint16<N>, i_align8<shift>, lower, upper);
129+
SIMDPP_VEC_ARRAY_IMPL2(uint16<N>, uint16<N>, i_align8<shift>, lower, upper);
130130
}
131131

132132
// -----------------------------------------------------------------------------
@@ -203,7 +203,7 @@ uint32<16> i_align4(const uint32<16>& lower, const uint32<16>& upper)
203203
template<unsigned shift, unsigned N> SIMDPP_INL
204204
uint32<N> i_align4(const uint32<N>& lower, const uint32<N>& upper)
205205
{
206-
SIMDPP_VEC_ARRAY_IMPL2(uint32<N>, i_align4<shift>, lower, upper);
206+
SIMDPP_VEC_ARRAY_IMPL2(uint32<N>, uint32<N>, i_align4<shift>, lower, upper);
207207
}
208208

209209
// -----------------------------------------------------------------------------
@@ -269,7 +269,7 @@ uint64<8> i_align2(const uint64<8>& lower, const uint64<8>& upper)
269269
template<unsigned shift, unsigned N> SIMDPP_INL
270270
uint64<N> i_align2(const uint64<N>& lower, const uint64<N>& upper)
271271
{
272-
SIMDPP_VEC_ARRAY_IMPL2(uint64<N>, i_align2<shift>, lower, upper);
272+
SIMDPP_VEC_ARRAY_IMPL2(uint64<N>, uint64<N>, i_align2<shift>, lower, upper);
273273
}
274274

275275
// -----------------------------------------------------------------------------
@@ -365,7 +365,7 @@ float32<16> i_align4(const float32<16>& lower, const float32<16>& upper)
365365
template<unsigned shift, unsigned N> SIMDPP_INL
366366
float32<N> i_align4(const float32<N>& lower, const float32<N>& upper)
367367
{
368-
SIMDPP_VEC_ARRAY_IMPL2(float32<N>, i_align4<shift>, lower, upper);
368+
SIMDPP_VEC_ARRAY_IMPL2(float32<N>, float32<N>, i_align4<shift>, lower, upper);
369369
}
370370

371371
// -----------------------------------------------------------------------------
@@ -439,7 +439,7 @@ float64<8> i_align2(const float64<8>& lower, const float64<8>& upper)
439439
template<unsigned shift, unsigned N> SIMDPP_INL
440440
float64<N> i_align2(const float64<N>& lower, const float64<N>& upper)
441441
{
442-
SIMDPP_VEC_ARRAY_IMPL2(float64<N>, i_align2<shift>, lower, upper);
442+
SIMDPP_VEC_ARRAY_IMPL2(float64<N>, float64<N>, i_align2<shift>, lower, upper);
443443
}
444444

445445
} // namespace insn

simdpp/detail/insn/bit_and.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ mask_float64<8> i_bit_and(const mask_float64<8>& a, const mask_float64<8>& b)
617617
template<class V, class VM> SIMDPP_INL
618618
V i_bit_and(const V& a, const VM& b)
619619
{
620-
SIMDPP_VEC_ARRAY_IMPL2(V, i_bit_and, a, b)
620+
SIMDPP_VEC_ARRAY_IMPL2(V, V, i_bit_and, a, b)
621621
}
622622

623623
} // namespace insn

simdpp/detail/insn/bit_andnot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ mask_float64<8> i_bit_andnot(const mask_float64<8>& a, const mask_float64<8>& b)
617617
template<class V, class VM> SIMDPP_INL
618618
V i_bit_andnot(const V& a, const VM& b)
619619
{
620-
SIMDPP_VEC_ARRAY_IMPL2(V, i_bit_andnot, a, b)
620+
SIMDPP_VEC_ARRAY_IMPL2(V, V, i_bit_andnot, a, b)
621621
}
622622

623623
} // namespace insn

simdpp/detail/insn/bit_not.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ mask_float64<8> i_bit_not(const mask_float64<8>& a)
351351
template<class V> SIMDPP_INL
352352
V i_bit_not(const V& a)
353353
{
354-
SIMDPP_VEC_ARRAY_IMPL1(V, i_bit_not, a)
354+
SIMDPP_VEC_ARRAY_IMPL1(V, V, i_bit_not, a)
355355
}
356356

357357
} // namespace insn

simdpp/detail/insn/bit_or.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ mask_float64<8> i_bit_or(const mask_float64<8>& a, const mask_float64<8>& b)
415415
template<class V, class VM> SIMDPP_INL
416416
V i_bit_or(const V& a, const VM& b)
417417
{
418-
SIMDPP_VEC_ARRAY_IMPL2(V, i_bit_or, a, b)
418+
SIMDPP_VEC_ARRAY_IMPL2(V, V, i_bit_or, a, b)
419419
}
420420

421421
} // namespace insn

simdpp/detail/insn/bit_select.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ static SIMDPP_INL
697697
template<class V1, class V2, class V3> SIMDPP_INL
698698
V1 i_bit_select(const V1& on, const V2& off, const V3& mask)
699699
{
700-
SIMDPP_VEC_ARRAY_IMPL3(V1, i_bit_select, on, off, mask)
700+
SIMDPP_VEC_ARRAY_IMPL3(V1, V1, i_bit_select, on, off, mask)
701701
}
702702

703703

simdpp/detail/insn/bit_xor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ mask_float64<8> i_bit_xor(const mask_float64<8>& a, const mask_float64<8>& b)
418418
template<class V, class VM> SIMDPP_INL
419419
V i_bit_xor(const V& a, const VM& b)
420420
{
421-
SIMDPP_VEC_ARRAY_IMPL2(V, i_bit_xor, a, b)
421+
SIMDPP_VEC_ARRAY_IMPL2(V, V, i_bit_xor, a, b)
422422
}
423423

424424
} // namespace insn

simdpp/detail/insn/blend.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ mask_float64<8> i_blend(const mask_float64<8>& on, const mask_float64<8>& off, c
666666
template<class V1, class V2, class V3> SIMDPP_INL
667667
V1 i_blend(const V1& on, const V2& off, const V3& mask)
668668
{
669-
SIMDPP_VEC_ARRAY_IMPL3(V1, i_blend, on, off, mask)
669+
SIMDPP_VEC_ARRAY_IMPL3(V1, V1, i_blend, on, off, mask)
670670
}
671671

672672

simdpp/detail/insn/cmp_eq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ mask_float64<8> i_cmp_eq(const mask_float64<8>& a, const mask_float64<8>& b)
405405
template<class V> SIMDPP_INL
406406
typename V::mask_vector_type i_cmp_eq(const V& a, const V& b)
407407
{
408-
SIMDPP_VEC_ARRAY_IMPL2(typename V::mask_vector_type, i_cmp_eq, a, b);
408+
SIMDPP_VEC_ARRAY_IMPL2(typename V::mask_vector_type, V, i_cmp_eq, a, b);
409409
}
410410

411411
} // namespace insn

simdpp/detail/insn/cmp_ge.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ mask_float64<8> i_cmp_ge(const float64<8>& a, const float64<8>& b)
406406
template<class V> SIMDPP_INL
407407
typename V::mask_vector_type i_cmp_ge(const V& a, const V& b)
408408
{
409-
SIMDPP_VEC_ARRAY_IMPL2(typename V::mask_vector_type, i_cmp_ge, a, b);
409+
SIMDPP_VEC_ARRAY_IMPL2(typename V::mask_vector_type, V, i_cmp_ge, a, b);
410410
}
411411

412412
} // namespace insn

0 commit comments

Comments
 (0)