From: David Y. <dav...@in...> - 2011-03-04 09:38:16
|
186.crafty is working: * runs native * builds to cil (cil32) * runs in mono (it should run in .NET as well) * builds from cil to native (gcil) * runs in cil-to-native (gcil) Compiler changes (just 'svn update' and build both cli-be and cli-fe -remember to rebuild cli-be:libstd.so-) *New features in libstd: new headers: sys/times.h, pwd.h new functions: sysconf, times, getuid, getpwuid, fileno defined EINTR *New patchs: Patch: (back end) broken function-static variables in specialized functions Patch: (front end) broken ldarga Benchmark patch (apply the changes in the attached patch, it is git ready, but probably you must do it manually) When GCC4CLI is defined: *Function 'select' is not used *Simplified input methods in utility.c:Read() (it makes no difference for the actual benchmark behavior) *Headers signal.h, ioctl.h. and select.h are not used *Variable pawn_score is defined as extern (when GCC4CLI is defined) Reason: global variables in C (not extern, just global scope), are not properly translated into cil, causing multiple definitions of the same symbol at link time. We did already discuss it and there is no obvious solution. *Using always fgets instead of gets. gets is dangerous and not recommended, but in addition it seems broken in our implementation (pending to fix it) Benchmark compilation: cil32 - Required extra flags: -fno-tree-vectorize -DGCC4CLI [-DSPEC_CPU2000] |