mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-07-26 10:38:47 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user