summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/rsp/vldst.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/rsp/vldst.h')
-rw-r--r--src/devices/cpu/rsp/vldst.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/cpu/rsp/vldst.h b/src/devices/cpu/rsp/vldst.h
index 4a38af029d4..fadc8be63c0 100644
--- a/src/devices/cpu/rsp/vldst.h
+++ b/src/devices/cpu/rsp/vldst.h
@@ -2,14 +2,14 @@
// copyright-holders:Tyler J. Stachecki,Ryan Holtz
// LBV, LDV, LLV, LSV, SBV, SDV, SLV, SSV
-inline void vec_lbdlsv_sbdlsv(UINT32 iw, UINT32 rs)
+inline void vec_lbdlsv_sbdlsv(uint32_t iw, uint32_t rs)
{
- const UINT32 shift_and_idx = (iw >> 11) & 0x3;
+ const uint32_t shift_and_idx = (iw >> 11) & 0x3;
rsp_vec_t dqm = _mm_loadl_epi64((rsp_vec_t *) (m_vec_helpers.bdls_lut[shift_and_idx]));
- const UINT32 addr = (rs + (sign_extend_6(iw) << shift_and_idx)) & 0xfff;
- const UINT32 element = (iw >> 7) & 0xf;
- UINT16* regp = m_v[(iw >> 16) & 0x1f].s;
+ const uint32_t addr = (rs + (sign_extend_6(iw) << shift_and_idx)) & 0xfff;
+ const uint32_t element = (iw >> 7) & 0xf;
+ uint16_t* regp = m_v[(iw >> 16) & 0x1f].s;
if (iw >> 29 & 0x1)
{
@@ -22,7 +22,7 @@ inline void vec_lbdlsv_sbdlsv(UINT32 iw, UINT32 rs)
}
// LPV, LUV, SPV, SUV
-inline void vec_lfhpuv_sfhpuv(UINT32 iw, UINT32 rs)
+inline void vec_lfhpuv_sfhpuv(uint32_t iw, uint32_t rs)
{
static const enum rsp_mem_request_type fhpu_type_lut[4] = {
RSP_MEM_REQUEST_PACK,
@@ -31,9 +31,9 @@ inline void vec_lfhpuv_sfhpuv(UINT32 iw, UINT32 rs)
RSP_MEM_REQUEST_FOURTH
};
- const UINT32 addr = (rs + (sign_extend_6(iw) << 3)) & 0xfff;
- const UINT32 element = (iw >> 7) & 0xf;
- UINT16* regp = m_v[(iw >> 16) & 0x1f].s;
+ const uint32_t addr = (rs + (sign_extend_6(iw) << 3)) & 0xfff;
+ const uint32_t element = (iw >> 7) & 0xf;
+ uint16_t* regp = m_v[(iw >> 16) & 0x1f].s;
rsp_mem_request_type request_type = fhpu_type_lut[((iw >> 11) & 0x1f) - 6];
if ((iw >> 29) & 0x1)
@@ -47,13 +47,13 @@ inline void vec_lfhpuv_sfhpuv(UINT32 iw, UINT32 rs)
}
// LQV, LRV, SQV, SRV
-inline void vec_lqrv_sqrv(UINT32 iw, UINT32 rs)
+inline void vec_lqrv_sqrv(uint32_t iw, uint32_t rs)
{
rs &= 0xfff;
- const UINT32 addr = rs + (sign_extend_6(iw) << 4);
- const UINT32 element = (iw >> 7) & 0xf;
- UINT16* regp = m_v[(iw >> 16) & 0x1f].s;
+ const uint32_t addr = rs + (sign_extend_6(iw) << 4);
+ const uint32_t element = (iw >> 7) & 0xf;
+ uint16_t* regp = m_v[(iw >> 16) & 0x1f].s;
memcpy(m_vdqm.s, m_vec_helpers.qr_lut[addr & 0xf], sizeof(m_vdqm.s));