]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg-sparc: Mask shift immediates to avoid illegal insns.
authorRichard Henderson <rth@twiddle.net>
Sun, 25 Mar 2012 19:36:28 +0000 (21:36 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 06:42:10 +0000 (01:42 -0500)
commitdb0cfd14ba6da14dba0913cdb6e6933d34283cd8
treeac5326c4b80d279970012239c57a08c85c773782
parent5c7199f164a26142290b548ede30ebc9538b4573
tcg-sparc: Mask shift immediates to avoid illegal insns.

The xtensa-test image generates a sra_i32 with count 0x40.
Whether this is accident of tcg constant propagation or
originating directly from the instruction stream is immaterial.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tcg/sparc/tcg-target.c