diff options
Diffstat (limited to 'src/emu/cpu/rsp/vmov.h')
-rw-r--r-- | src/emu/cpu/rsp/vmov.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emu/cpu/rsp/vmov.h b/src/emu/cpu/rsp/vmov.h new file mode 100644 index 00000000000..10a7b1df85f --- /dev/null +++ b/src/emu/cpu/rsp/vmov.h @@ -0,0 +1,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); +} |