qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 03/42] target-ppc: add gen_avr_ptr function.


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH 03/42] target-ppc: add gen_avr_ptr function.
Date: Mon, 15 Dec 2008 23:13:55 +0000
User-agent: KMail/1.9.9

> I am still pondering what is the better solution between passing a
> pointer to an avr register or the avr register number.
>
> Does someone has an opinion about that?

FWIW it was probably me recommended passing things by value.
It feels cleaner because with pointers it's pretty much impossible to TCG to 
tell what's going on.

I was also hoping that it would mean many of the helpers could be shared 
between AltiVec and SPE. On closer inspection it looks like there aren't 
really that many interesting opportunities for this.

On ARM NEON there are two different vector lengths, and registers overlap in 
interesting ways, so we need most of the splitting and iteration stuff 
anyway. AltiVec and SSE are more restricted instruction sets, so I guess 
there's probably less benefit.

Paul




reply via email to

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