qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/6] target/ppc: add byte-reverse br[dwh] instructions


From: Richard Henderson
Subject: Re: [PATCH 1/6] target/ppc: add byte-reverse br[dwh] instructions
Date: Fri, 19 Jun 2020 14:08:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 6/18/20 10:24 PM, Lijun Pan wrote:
> Why can’t I retrieve the offset via 
> “offsetof(CPUPPCState,gpr[rA(ctx->opcode)])”?
> I would like to learn more.

The TCG compiler makes some simplifying assumptions in order to make it faster.
 One of them is that global temporaries cannot be modified via direct loads and
stores, so we do not have to check for that overlap during compilation.

I thought that was documented in tcg/README, but I can't find it.


r~



reply via email to

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