qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] tcg_target_prologue()


From: Fabrice Bellard
Subject: Re: [Qemu-devel] tcg_target_prologue()
Date: Fri, 11 Apr 2008 11:32:10 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070727)

Stuart Brady wrote:
Hi,

I recently tried using the C version of the TB call in cpu-exec.c,
"T0 = gen_func();", with HPPA host support.  However, I must then save
the link register, or else it would be overwritten... but if I use
tcg_target_prologue(), I find that goto_tb sometimes jumps to the
prologue, but it sometimes jumps past the prologue, instead!

I've fixed the bug[1] that caused me to investigate this, so for the
time being, I'll continue calling TBs from inline assembly code, but it
might be nice to spare others the pain of trying tcg_target_prologue()
and failing.  Any thoughts?

The real fix is in the TCG TODO list (global prologue and epilogue). I will try to implement it ASAP.

Regards,

Fabrice.





reply via email to

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