dquakeplus/source/psp/libpspmath/vfpu_quaternion_copy.c

8 lines
186 B
C

#include "pspmath.h"
void vfpu_quaternion_copy(ScePspQuatMatrix *dst, ScePspQuatMatrix *src) {
__asm__ volatile (
"lv.q C000, %1\n"
"sv.q C000, %0\n"
:"+m"(*dst) : "m"(*src));
}