[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host
From: |
Juergen Lock |
Subject: |
Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host |
Date: |
Fri, 17 Dec 2004 19:56:27 +0100 |
On Thu, Dec 16, 2004 at 01:37:53AM +0000, Johannes Schindelin wrote:
> Hi,
>
> On Wed, 15 Dec 2004, Jim C. Brown wrote:
>
> > This is due to a change in the way gcc compiles code ... 3.4.0 may work,
> > but later versions will cause functions to return prematurely (due to the
> > way
> > qemu handles translated blocks). I suggested that a fix for this would be to
> > use function pointer calls instead of directly chaining machine code, but
> > apparently this is too slow to make qemu usable.
>
> The Forth way ;-)
>...
How about instead post-processing the .s, replacing the rets with jumps
to the end of the function? Of course this part would be architecture
dependant (different assembler syntax), but other parts of qemu
are that as well, right?
Just a thought...
Juergen
- [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, tomba, 2004/12/15
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Johannes Schindelin, 2004/12/15
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, tomba, 2004/12/15
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Jim C. Brown, 2004/12/15
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Johannes Schindelin, 2004/12/15
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host,
Juergen Lock <=
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Johannes Schindelin, 2004/12/17
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Jim C. Brown, 2004/12/18
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Johannes Schindelin, 2004/12/18
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Jim C. Brown, 2004/12/18
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Johannes Schindelin, 2004/12/19
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Jim C. Brown, 2004/12/19
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, John R. Hogerhuis, 2004/12/18
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Jim C. Brown, 2004/12/18
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, Johannes Schindelin, 2004/12/19
- Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host, John R. Hogerhuis, 2004/12/20