Skip to contentSkip to conversation

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

Qemu-devel Aurelien Jarno 1 participant 1 message Nov 11, 2008

lore
Share & tools
lore
#0 lore raw

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.

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

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

target-alpha/translate.c +1 -1
@@ -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 {