Cog/Frameworks/lazyusf/lazyusf/rsp/vu/vmov.h

21 lines
1.2 KiB
C

/******************************************************************************\
* Authors: Iconoclast *
* Release: 2013.11.26 *
* License: CC0 Public Domain Dedication *
* *
* To the extent possible under law, the author(s) have dedicated all copyright *
* and related and neighboring rights to this software to the public domain *
* worldwide. This software is distributed without any warranty. *
* *
* You should have received a copy of the CC0 Public Domain Dedication along *
* with this software. *
* If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. *
\******************************************************************************/
#include "vu.h"
static void VMOV(usf_state_t * state, int vd, int de, int vt, int e)
{
SHUFFLE_VECTOR(VACC_L, state->VR[vt], e);
state->VR[vd][de &= 07] = VACC_L[e & 07];
return;
}