diff --git a/bochs/cpu/sse_string.cc b/bochs/cpu/sse_string.cc index f88d2ff6a..c9f9afcc4 100755 --- a/bochs/cpu/sse_string.cc +++ b/bochs/cpu/sse_string.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: sse_string.cc,v 1.6 2008-03-22 21:29:41 sshwarts Exp $ +// $Id: sse_string.cc,v 1.7 2008-04-18 14:15:58 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007 Stanislav Shwartsman @@ -354,8 +354,7 @@ void BX_CPP_AttrRegparmN(1) BX_CPU_C::PCMPESTRM_VdqWdqIb(bxInstruction_c *i) flags |= EFlagsOFMask; setEFlagsOSZAPC(flags); - /* now write result back to destination */ - BX_WRITE_XMM_REG(i->nnn(), result); + BX_WRITE_XMM_REG(0, result); /* store result XMM0 */ #else BX_INFO(("PCMPESTRM_VdqWdqIb: required SSE4.2, use --enable-sse and --enable-sse-extension options")); UndefinedOpcode(i); @@ -483,8 +482,7 @@ void BX_CPP_AttrRegparmN(1) BX_CPU_C::PCMPISTRM_VdqWdqIb(bxInstruction_c *i) flags |= EFlagsOFMask; setEFlagsOSZAPC(flags); - /* now write result back to destination */ - BX_WRITE_XMM_REG(i->nnn(), result); + BX_WRITE_XMM_REG(0, result); /* store result XMM0 */ #else BX_INFO(("PCMPISTRM_VdqWdqIb: required SSE4.2, use --enable-sse and --enable-sse-extension options")); UndefinedOpcode(i);