|
From: | Richard Henderson |
Subject: | Re: [RFC PATCH 9/9] target/ppc: Use tcg_gen_sextract_tl |
Date: | Wed, 25 Oct 2023 00:38:27 -0700 |
User-agent: | Mozilla Thunderbird |
On 10/25/23 00:09, Nicholas Piggin wrote:
I'd be tempted to use and+movcond instead of sext+andc.That would be simpler / more mechnical following of specification in the ISA. Might be better to save that for a later patch though. Any downsides for backend generation? On host without cmov?
Probably not enough to worry about.Virtually all extant hosts do have cmov. Those that don't have it as part of the ISA *do* have it in the TCG backend, implemented as branch over next, for minimal code size.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |