From: aurel32 Date: Tue, 11 Nov 2008 13:54:54 +0000 (+0000) Subject: target-alpha: fix decoding of CVTST /S X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a74b4d2c23a5da45a5ef9eec18ce00923b6bab15;p=qmiga%2Fqemu.git 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 Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5693 c046a42c-6fe2-441c-8c8c-71466251a162 --- 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 {