qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 04/22] target/i386: remove unnecessary truncations


From: Richard Henderson
Subject: Re: [PATCH 04/22] target/i386: remove unnecessary truncations
Date: Fri, 29 Dec 2023 08:13:28 +1100
User-agent: Mozilla Thunderbird

On 12/23/23 05:15, Paolo Bonzini wrote:
gen_lea_v_seg (called by gen_add_A0_ds_seg) already zeroes any
bits of s->A0 beyond s->aflag.  It does so before summing the
segment base and, if not in 64-bit mode, also after summing it.

Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
---
  target/i386/tcg/emit.c.inc  | 4 +---
  target/i386/tcg/translate.c | 2 --
  2 files changed, 1 insertion(+), 5 deletions(-)

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

r~



reply via email to

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