summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/rsp/vmov.h
blob: 10a7b1df85f6445d5d68462b898fb8346835b820 (plain) (blame)
1
2
3
4
5
6
7
8
9
// license:BSD-3-Clause
// copyright-holders:Tyler J. Stachecki,Ryan Holtz

inline rsp_vec_t vec_vmov(UINT32 src, UINT32 e, UINT32 dest, UINT32 de)
{
	// Get the element from VT and write out the upper part of the result.
	m_v[dest].s[de & 0x7] = m_v[src].s[e & 0x7];
	return vec_load_unshuffled_operand(m_v[dest].s);
}