From: Stanislav S. <ssh...@us...> - 2009-11-06 18:19:14
|
Update of /cvsroot/bochs/bochs/cpu In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23496 Modified Files: fetchdecode.cc fetchdecode64.cc Log Message: small optimization Index: fetchdecode.cc =================================================================== RCS file: /cvsroot/bochs/bochs/cpu/fetchdecode.cc,v retrieving revision 1.232 retrieving revision 1.233 diff -u -d -r1.232 -r1.233 --- fetchdecode.cc 5 Nov 2009 21:07:18 -0000 1.232 +++ fetchdecode.cc 6 Nov 2009 18:19:01 -0000 1.233 @@ -2528,7 +2528,7 @@ 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; Index: fetchdecode64.cc =================================================================== RCS file: /cvsroot/bochs/bochs/cpu/fetchdecode64.cc,v retrieving revision 1.234 retrieving revision 1.235 diff -u -d -r1.234 -r1.235 --- fetchdecode64.cc 5 Nov 2009 21:07:18 -0000 1.234 +++ fetchdecode64.cc 6 Nov 2009 18:19:01 -0000 1.235 @@ -3417,7 +3417,7 @@ 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; |