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
> On Jun 18, 2020, at 6:19 PM, Richard Henderson
> wrote:
>
> On 6/12/20 9:20 PM, Lijun Pan wrote:
>> POWER ISA 3.1 introduces following byte-reverse instructions:
>> brd: Byte-Reverse Doubleword X-form
>> brw: Byte-Reverse Word X-form
>> brh: Byte-Reverse Halfword X-form
>>
>> Signed-off-by
On 6/12/20 9:20 PM, Lijun Pan wrote:
> POWER ISA 3.1 introduces following byte-reverse instructions:
> brd: Byte-Reverse Doubleword X-form
> brw: Byte-Reverse Word X-form
> brh: Byte-Reverse Halfword X-form
>
> Signed-off-by: Lijun Pan
> ---
> target/ppc/translate.c | 62
POWER ISA 3.1 introduces following byte-reverse instructions:
brd: Byte-Reverse Doubleword X-form
brw: Byte-Reverse Word X-form
brh: Byte-Reverse Halfword X-form
Signed-off-by: Lijun Pan
---
target/ppc/translate.c | 62 ++
1 file changed, 62 insertions(+)