diff options
author | Richard Henderson | 2011-09-08 10:23:11 +0200 |
---|---|---|
committer | malc | 2011-09-08 16:10:16 +0200 |
commit | 8278604134e36f7f96612c2fda3b615787e5b692 (patch) | |
tree | 14a8607111a4526f5f71bdf6eb2f6906614e3b78 /hw/xen_nic.c | |
parent | iohandlers: fix issue with qemu_set_fd_handler() (diff) | |
download | qemu-8278604134e36f7f96612c2fda3b615787e5b692.tar.gz qemu-8278604134e36f7f96612c2fda3b615787e5b692.tar.xz qemu-8278604134e36f7f96612c2fda3b615787e5b692.zip |
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 'hw/xen_nic.c')
0 files changed, 0 insertions, 0 deletions