qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5693] target-alpha: fix decoding of CVTST /S
@ 2008-11-11 13:54 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-11-11 13:54 UTC (permalink / raw)
  To: qemu-devel

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 <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

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 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-11 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 13:54 [Qemu-devel] [5693] target-alpha: fix decoding of CVTST /S Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).