qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [4715] Emit trampolines manually in prologue


From: malc
Subject: Re: [Qemu-devel] [4715] Emit trampolines manually in prologue
Date: Tue, 10 Jun 2008 03:50:43 +0400 (MSD)

On Mon, 9 Jun 2008, Fabrice Bellard wrote:

This code is too complicated. Please remove it and just call an helper
to do the division if you really need it. The division is a slow
operation so no optimization is needed at this point.

The only optimization that there was is a check to see whether dividend
fits to 32 bit and a branch to simple division, everything else was there
to actually call the helper and save callee clobbered registers (since
main TCG proper is oblivious of the call and can't do it for me).

Perhaps there's some other mechanism to easily call helpers from with
the TCG target?

Moreover, as I said previously there is no point in implementing divu[2]
as no QEMU target directly needs it.

Yes, it's gone now.

--
mailto:address@hidden




reply via email to

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