qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] tcg problem running SPARC program on x86


From: Vince Weaver
Subject: [Qemu-devel] tcg problem running SPARC program on x86
Date: Mon, 18 Aug 2008 15:46:55 -0400 (EDT)

Hello

I'm continuing on my quest to get the SPEC2000 benchmarks running under sparc32-linux-user (so far 8 out of 48 work).

Many of the benchmarks die early on with the following error:

    /fusion/research4/vince/qemu/svn/tcg/tcg.c:1455: tcg fatal error

This error is caused when tcg_reg_alloc_mov() is called but ts->val_type
is equal to 0 (which is TEMP_VAL_DEAD). So maybe the optimizer is optimizing away something that it shouldn't?

This happens in a block with multiple calls to the SPARC "mulscc"
instruction which is a complicated instruction, so maybe this is finding an obscure corner case.

I've attached a very small sample program that exhibits the bug when run with ./sparc32-linux-user/qemu-sparc32plus

Thanks for any help

Vince

Attachment: mulscc.s
Description: Text document

Attachment: mulscc
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]