small optimization

This commit is contained in:
Stanislav Shwartsman 2009-11-06 18:19:01 +00:00
parent 438dd080ce
commit fbd9f291f7
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: fetchdecode.cc,v 1.232 2009-11-05 21:07:18 sshwarts Exp $
// $Id: fetchdecode.cc,v 1.233 2009-11-06 18:19:01 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -2528,7 +2528,7 @@ fetch_b1:
return(0);
case 0xf2: // REPNE/REPNZ
case 0xf3: // REP/REPE/REPZ
sse_prefix = b1 & 0xf;
sse_prefix = b1 & 3;
i->setRepUsed(b1 & 3);
if (ilen < remain) {
goto fetch_b1;

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: fetchdecode64.cc,v 1.234 2009-11-05 21:07:18 sshwarts Exp $
// $Id: fetchdecode64.cc,v 1.235 2009-11-06 18:19:01 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -3417,7 +3417,7 @@ fetch_b1:
case 0xf2: // REPNE/REPNZ
case 0xf3: // REP/REPE/REPZ
rex_prefix = 0;
sse_prefix = b1 & 0xf;
sse_prefix = b1 & 3;
i->setRepUsed(b1 & 3);
if (ilen < remain) {
goto fetch_b1;