Some benchmark comparison of gcc4.5 and dragonegg (was dragonegg in FSF gcc?)
Vladimir Makarov
vmakarov@redhat.com
Wed Apr 21 18:19:00 GMT 2010
Duncan Sands wrote:
> Hi Vladimir, thank you for doing this benchmarking.
>
>> Only SPECIn2000 for x86_64 has been compiled fully successfully by
>> dragonegg. There were a few compiler crashes including some in LLVM
>> itself for SPECFP2000 and for SPECINT2000 for x86.
>
> Sorry about that. Can you please send me preprocessed code for the
> spec tests that crashed the plugin (unless you are not allowed to).
> By the way, if you target something (eg: i386) that doesn't have SSE
> support then I've noticed that the plugin tends to crash on code that
> does vector operations. If you have assertions turned on in LLVM then
> you get something like:
>
> Assertion `TLI.isTypeLegal(Op.getValueType()) && "Intrinsic uses a
> non-legal type?"' failed.
> Stack dump:
> 0. Running pass 'X86 DAG->DAG Instruction Selection' on function
> '@_ada_sse_nolib'
>
> So if the compile failures are of that kind, no need to send testcases, I
> already have several.
>
I have one different crash on galgel:
/home/vmakarov/build/dragonegg/64/bin/gfortran -c -o bifg21.o -ffixed-form -mpc64 -O3 -m32 -mpc64 -fplugin=/home/cygnus/vmakarov/build/dragonegg/dragonegg/dragonegg.so bifg21.f90
specmake: *** Warning: File `Makefile.spec' has modification time in the future (1271359622 > 1271358843)
f951: /to/scratch/vmakarov/build/dragonegg/llvm/lib/VMCore/Instructions.cpp:320: void llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned int): Assertion `(NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"' failed.
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event | Plugins
PLUGIN_FINISH_UNIT | dragonegg
PLUGIN_FINISH | dragonegg
PLUGIN_START_UNIT | dragonegg
bifg21.f90: In function ‘bifg21_’:
bifg21.f90:21:0: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
specmake: *** [bifg21.o] Error 1
It is impossible (as I know) to send a preprocessed file for fortran90. It needs other program files to compile too. But may be this diagnostic is still useful for you.
More information about the Gcc
mailing list