qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5693] target-alpha: fix decoding of CVTST /S


From: Aurelien Jarno
Subject: [Qemu-devel] [5693] target-alpha: fix decoding of CVTST /S
Date: Tue, 11 Nov 2008 13:54:54 +0000

Revision: 5693
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5693
Author:   aurel32
Date:     2008-11-11 13:54:54 +0000 (Tue, 11 Nov 2008)

Log Message:
-----------
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 <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

Modified Paths:
--------------
    trunk/target-alpha/translate.c

Modified: trunk/target-alpha/translate.c
===================================================================
--- trunk/target-alpha/translate.c      2008-11-11 13:42:22 UTC (rev 5692)
+++ trunk/target-alpha/translate.c      2008-11-11 13:54:54 UTC (rev 5693)
@@ -1464,7 +1464,7 @@
             break;
         case 0x2C:
             /* XXX: incorrect */
-            if (fn11 == 0x2AC) {
+            if (fn11 == 0x2AC || fn11 == 0x6AC) {
                 /* CVTST */
                 gen_farith2(&helper_cvtst, rb, rc);
             } else {






reply via email to

[Prev in Thread] Current Thread [Next in Thread]