qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 08/22] target/i386: avoid trunc and ext for MULX and RORX


From: Richard Henderson
Subject: Re: [PATCH 08/22] target/i386: avoid trunc and ext for MULX and RORX
Date: Fri, 29 Dec 2023 08:50:04 +1100
User-agent: Mozilla Thunderbird

On 12/23/23 05:15, Paolo Bonzini wrote:
Use _tl operations for 32-bit operands on 32-bit targets, and only go
through trunc and extu ops for 64-bit targets.  While the trunc/ext
ops should be pretty much free after optimization, the optimizer also
does not like having the same temporary used in multiple EBBs.
Therefore it is nicer to not use tmpN* unless necessary.

Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
---
  target/i386/tcg/emit.c.inc | 37 +++++++++++++++++++++++++------------
  1 file changed, 25 insertions(+), 12 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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