[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-i386: Compute all flag data inside %cl !
From: |
malc |
Subject: |
Re: [Qemu-devel] [PATCH] target-i386: Compute all flag data inside %cl != 0 test. |
Date: |
Thu, 8 Sep 2011 18:12:29 +0400 (MSD) |
User-agent: |
Alpine 2.00 (LNX 1167 2008-08-23) |
On Thu, 8 Sep 2011, Richard Henderson wrote:
> The (x << (cl - 1)) quantity is only used if CL != 0. Move the
> computation of that quantity nearer its use.
>
> This avoids the creation of undefined TCG operations when the
> constant propagation optimization proves that CL == 0, and thus
> CL-1 is outside the range [0-wordsize).
>
> Signed-off-by: Richard Henderson <address@hidden>
Applied, thanks.
[..snip..]
--
mailto:address@hidden