blob: 5bd4093f6b46287c55c947771889ac58e741e8eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
// license:BSD-3-Clause
// copyright-holders:Tyler J. Stachecki,Ryan Holtz
inline rsp_vec_t vec_vdivh(uint32_t src, uint32_t e, uint32_t dest, uint32_t de)
{
// Get the element from VT.
m_div_in = m_v[src].s[e & 0x7];
// Write out the upper part of the result.
m_v[dest].s[de & 0x7] = m_div_out;
return vec_load_unshuffled_operand(m_v[dest].s);
}
|