diff options
author | Nathan Froyd | 2010-10-29 16:48:46 +0200 |
---|---|---|
committer | Aurelien Jarno | 2010-12-22 11:14:10 +0100 |
commit | 9ed5726c043958359b0f1fa44ab3e4f25f9d9a47 (patch) | |
tree | 929a689c59a4d6ef902924b77181f2165caf09c0 /target-s390x/translate.c | |
parent | Use mmap() within code_gen_alloc() for OpenBSD. (diff) | |
download | qemu-9ed5726c043958359b0f1fa44ab3e4f25f9d9a47.tar.gz qemu-9ed5726c043958359b0f1fa44ab3e4f25f9d9a47.tar.xz qemu-9ed5726c043958359b0f1fa44ab3e4f25f9d9a47.zip |
target-mips: fix translation of MT instructions
The translation of dmt/emt/dvpe/evpe was doing the moral equivalent of:
int x;
... /* no initialization of x */
x = f (x);
which confused later bits of TCG rather badly, leading to crashes.
Fix the helpers to only return results (those instructions have no
inputs), and fix the translation code accordingly.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-s390x/translate.c')
0 files changed, 0 insertions, 0 deletions