diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-11 13:54:54 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-11 13:54:54 +0000 |
commit | f623ce16a948673c4a63f6cd17f6a2194bc6d9e8 (patch) | |
tree | 4e05d1d1fec20db5346d509d60d85f20c1107b32 /target-alpha | |
parent | a53d50fd5517fc1d8eb12b3732b1f67bd6c11fa1 (diff) | |
download | qemu-f623ce16a948673c4a63f6cd17f6a2194bc6d9e8.tar.gz qemu-f623ce16a948673c4a63f6cd17f6a2194bc6d9e8.tar.bz2 qemu-f623ce16a948673c4a63f6cd17f6a2194bc6d9e8.zip |
target-alpha: fix decoding of CVTST /S
This patch fixes the decoding of CVTST /S which was
incorrectly being decoded as CVTTS.
This fixes SPEC2000 gcc with 200.i input.
Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5693 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-alpha')
-rw-r--r-- | target-alpha/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 75bc46885c..23e1c6a9cf 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -1464,7 +1464,7 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn) break; case 0x2C: /* XXX: incorrect */ - if (fn11 == 0x2AC) { + if (fn11 == 0x2AC || fn11 == 0x6AC) { /* CVTST */ gen_farith2(&helper_cvtst, rb, rc); } else { |