VMMaker special change sets?

Andreas Raab Andreas.Raab at gmx.de
Mon Jun 24 20:59:49 UTC 2002


John,

I ran a quick check on the changes and the results were roughly what I
expected:
	CCodeGenEnh:  +10% bps,  +5% sps
	GlobalStruct:  -4% bps, -12% sps
[bps - byte codes per second, sps - sends per second]

BTW, several years ago I had a similar CS to that of Anthony. It was
rejected back then because CW9 (or what was used then) generated
slightly slower code although the life-time analysis of the compiler
should improve performance. Glad to see that MacOS finally caught on ;-)

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org 
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On 
> Behalf Of John M McIntosh
> Sent: Monday, June 24, 2002 10:25 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: RE: VMMaker special change sets?
> 
> 
> >John,
> >
> >>  These are special for the mac VM because of how global variable
> >>  accessor code is generated in gcc for powerpc
> >>  (Globalstructure-JMM.1.cs + MoreInterpAccessors-JMM.2.cs).
> >>  CGeneratorEnhancements-ajh.cs originally part of the BC 
> vm provides
> >>  better optimization for ppc and 68k machines. It's undetermined on
> >>  intel machines.
> >
> >I never got a working VM out of the CG enhancements. It 
> generates code
> >and it compiles but it doesn't run. So I'm not too eager to see it in
> >the update stream. For the other two its pretty clear that 
> they'll slow
> >down things.
> >
> >Cheers,
> >   - Andreas
> 
> As Anthony pointed out you need a change to make this work. That 
> change is rolled into Globalstructure-JMM. This change along with 
> MoreInterpAccessors-JMM.2.cs enable one to extrude a VM that has a 
> global structure (mostly). But to do that you need to flip a flag at 
> slang build time, which of course is only done by the Macintosh 
> VMMaker code.
> 
> 
> This does make the 68K and ppc versions faster because of how gcc 
> does code generation for them. Can't speak for wintel... But I'm not 
> sure if anyone has done any tests there?
> -- 
> --
> ==============================================================
> =============
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.  
> http://www.smalltalkconsulting.com
> 
> ==============================================================
> =============
> 




More information about the Squeak-dev mailing list