]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Mask shift quantities while folding
authorRichard Henderson <rth@twiddle.net>
Tue, 18 Mar 2014 14:45:39 +0000 (07:45 -0700)
committerRichard Henderson <rth@twiddle.net>
Fri, 18 Apr 2014 23:57:36 +0000 (16:57 -0700)
commit50c5c4d12557ede48c573e5138542061acd83500
tree62522d36a81c14cc46b1db93766fc4f118d1dc95
parent20022fa15f6a8ddc24a8f9d7d177312fecc7fb3a
tcg: Mask shift quantities while folding

The TCG result would be undefined, but we can at least produce one
plausible result and avoid triggering the wrath of analysis tools.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/optimize.c