summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/drcbex64.cpp
diff options
context:
space:
mode:
author Ville Linde <villedevs@gmail.com>2016-04-15 21:33:01 +0300
committer Ville Linde <villedevs@gmail.com>2016-04-15 21:41:38 +0300
commitbe6c71451b99e0d139b05304137d2023eec2b8b8 (patch)
treec078efcf4195bc21e6f3d41f4f11f308cf05d3b6 /src/devices/cpu/drcbex64.cpp
parent8c8aca795ec3090271a0ac0d2a6197fb33a33303 (diff)
drcbex64: wrong register type (nw)
Diffstat (limited to 'src/devices/cpu/drcbex64.cpp')
-rw-r--r--src/devices/cpu/drcbex64.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/drcbex64.cpp b/src/devices/cpu/drcbex64.cpp
index 9fe3b984469..a8fea0ed27e 100644
--- a/src/devices/cpu/drcbex64.cpp
+++ b/src/devices/cpu/drcbex64.cpp
@@ -5954,7 +5954,7 @@ void drcbe_x64::op_fmov(x86code *&dst, const instruction &inst)
{
if (srcp.is_float_register())
{
- emit_movss_p32_r128(dst, dstp, srcp.ireg()); // movss dstp,srcp
+ emit_movss_p32_r128(dst, dstp, srcp.freg()); // movss dstp,srcp
}
else
{
@@ -5968,7 +5968,7 @@ void drcbe_x64::op_fmov(x86code *&dst, const instruction &inst)
{
if (srcp.is_float_register())
{
- emit_movsd_p64_r128(dst, dstp, srcp.ireg()); // movsd dstp,srcp
+ emit_movsd_p64_r128(dst, dstp, srcp.freg()); // movsd dstp,srcp
}
else
{