AnimTestbed/3rdparty/vectorial/include/vectorial/simd4x4f_sse.h

24 lines
448 B
C

/*
Vectorial
Copyright (c) 2010 Mikko Lehtonen
Licensed under the terms of the two-clause BSD License (see LICENSE)
*/
#ifndef VECTORIAL_SIMD4X4F_SSE_H
#define VECTORIAL_SIMD4X4F_SSE_H
vectorial_inline void simd4x4f_transpose_inplace(simd4x4f *s) {
_MM_TRANSPOSE4_PS(s->x, s->y, s->z, s->w);
}
vectorial_inline void simd4x4f_transpose(const simd4x4f *s, simd4x4f *out) {
*out=*s;
simd4x4f_transpose_inplace(out);
}
#endif