Addendum: RE: [Win32] VM update (3.2 release candidate)

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Tue May 7 20:04:32 UTC 2002


On Tue, 7 May 2002, Ian Piumarta wrote:

> > #if defined(__i386__)
> > # define IP_REG asm("%esi")
> > # define SP_REG asm("%edi")
> > # define CB_REG	/* asm("%ebx") ; avoid undue register pressure */
> > #endif
> 
> Maybe anyone who has an Intel box and the VM sources would be kind
> enough to comment this out, delete gnu-interp.o and recompile.  Failure
> reports (including the output of `gcc -v' please) would be most welcome
> (in the total absence of which I will turn it on again and put a warning
> in some suitable README).

works here for gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)

I see the same improvement John reported (this is a 500 MHz Athlon):

Using CB_REG asm("%ebx")
 '40583386 bytecodes/sec; 1331263 sends/sec'
 '41290322 bytecodes/sec; 1292990 sends/sec'
 '42188529 bytecodes/sec; 1282033 sends/sec'
 '42440318 bytecodes/sec; 1220894 sends/sec'
 '41131105 bytecodes/sec; 1233564 sends/sec'

Before:
 '33023735 bytecodes/sec; 1071525 sends/sec'
 '33472803 bytecodes/sec; 1094788 sends/sec'
 '34650785 bytecodes/sec; 1120591 sends/sec'
 '34801522 bytecodes/sec; 1107908 sends/sec'
 '33402922 bytecodes/sec; 1155610 sends/sec'
 '33420365 bytecodes/sec; 1094788 sends/sec'

-- Bert




More information about the Squeak-dev mailing list