VC++ generated image seems stable and fast

Paul Dufresne dufrp at hotmail.com
Sun Aug 8 15:18:48 PDT 2004


I have been able with the:
===
#pragma optimize("g", off)

static INLINE signed long int ObjectPointer_asSmallInt(ObjectPointer oop)
{
  return ((signed long int) oop) >> 1;
}
#pragma optimize("g", on)
===
'patch' to compile a new VM with:
vcvars32.bat (VC++ Toolkit 2003 directory)
and:
cl -Ox -DNDEBUG=1 vm.c file.c boot.c
in a directory with all files from platform directory + vm.c and vm.h from 
alpha directory,
to build a working VC generated VM.

I have generated a new VM from this VM, and generated new Bootstrap image 
from it too.

If VC unoptimized VM was VERY VERY MUCH slower than optimized GCC (from 
MINGW),
optimized VC VM seems faster than MINGW optimized one.

--Paul

_________________________________________________________________
Gardez le contrôle grâce à la protection contre les fenêtres pop-up 
articulée sur la technologie brevetée Microsoft SmartScreen 
http://join.msn.com/?pgmarket=fr-ca&page=features/popup Commencez dès 
maintenant à profiter de tous les avantages de MSN Premium et obtenez les 
deux premiers mois GRATUITS*.




More information about the Slate mailing list