Add word32 VectorStore overloads
parent
10f85d6596
commit
390fed72c5
12
ppc_simd.h
12
ppc_simd.h
|
|
@ -311,6 +311,18 @@ inline void VectorStore(const T data, int off, byte dest[16])
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
inline void VectorStore(const T data, word32 dest[4])
|
||||||
|
{
|
||||||
|
VectorStore((uint8x16_p)data, 0, (byte*)dest);
|
||||||
|
}
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
inline void VectorStore(const T data, int off, word32 dest[4])
|
||||||
|
{
|
||||||
|
VectorStore((uint8x16_p)data, off, (byte*)dest);
|
||||||
|
}
|
||||||
|
|
||||||
/// \brief Stores a vector to a byte array
|
/// \brief Stores a vector to a byte array
|
||||||
/// \tparam T vector type
|
/// \tparam T vector type
|
||||||
/// \param src the vector
|
/// \param src the vector
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue