Juergen's fix so that ifetch performance works with PER and Gabor Hoffer's

performance updates


git-svn-id: file:///home/jj/hercules.svn/trunk@577 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
Paul Leisy
2002-01-11 22:06:24 +00:00
parent f0494ce867
commit 26b7245ffd
+8 -1
View File
@@ -664,6 +664,7 @@ int i; /* Loop counter */
BYTE obyte; /* Operand byte */
#ifdef OPTION_FAST_MOVECHAR
BYTE slow = 0;
BYTE *a1, *a2;
#endif
/* Translate addresses of leftmost operand bytes */
@@ -717,8 +718,14 @@ BYTE slow = 0;
#ifdef OPTION_FAST_MOVECHAR
if (!slow)
{
for (i = 0; i < len + 1; i++)
/* Gabor Hoffer (performance option) */
a1 = sysblk.mainstor+abs1;
a2 = sysblk.mainstor+abs2;
for (i = 0; i < len + 1; i++) a1 [i] = a2 [i];
/*
for (i = 0; i < len + 1; i++)
sysblk.mainstor[abs1++] = sysblk.mainstor[abs2++];
*/
return;
}
#endif