diff options
author | Richard Henderson <rth@twiddle.net> | 2011-09-08 09:23:11 +0100 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2011-09-08 18:10:16 +0400 |
commit | 8278604134e36f7f96612c2fda3b615787e5b692 (patch) | |
tree | 14a8607111a4526f5f71bdf6eb2f6906614e3b78 /monitor.c | |
parent | c82dc29a9112f34e0a51cad9a412cf6d9d05dfb2 (diff) |
target-i386: Compute all flag data inside %cl != 0 test.
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 <rth@twiddle.net>
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions