qemu-ppc
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 0/3] target/ppc: Change CR registers from i32 to tl


From: Richard Henderson
Subject: Re: [RFC PATCH 0/3] target/ppc: Change CR registers from i32 to tl
Date: Wed, 13 Sep 2023 15:29:51 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

On 9/12/23 17:58, Nicholas Piggin wrote:
This is a bit of churn so I might leave it for later in the cycle (or
defer if we get a lot of other changes) since it's a relatively
mechanical change. So don't spend time reviewing details, I'm just
wondering about concept and general approach.

I'm not sure the history of why these are 32-bit, maybe better code gen
on 32-bit host emulating 64-bit? If so, that shouldn't be so important
now that most people use 64-bit systems to develop and test with.

It was probably in order to save space, but I have no specific knowledge.

What does this do to the generated code? I suspect, without looking, that it doesn't change things much at all on e.g. a ppc64 host, and for an x86_64 host merely changes the types of some instructions (which, considering the rex64 encoding, might consume a few more bytes).


r~



reply via email to

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