qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5841] Fix pmovsx* / pmovzx* SSE instructions ( original fix by Frank Mehnert).
@ 2008-12-01  1:52 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-12-01  1:52 UTC (permalink / raw)
  To: qemu-devel

Revision: 5841
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5841
Author:   balrog
Date:     2008-12-01 01:52:37 +0000 (Mon, 01 Dec 2008)

Log Message:
-----------
Fix pmovsx* / pmovzx* SSE instructions (original fix by Frank Mehnert).

Modified Paths:
--------------
    trunk/target-i386/ops_sse.h

Modified: trunk/target-i386/ops_sse.h
===================================================================
--- trunk/target-i386/ops_sse.h	2008-12-01 01:48:36 UTC (rev 5840)
+++ trunk/target-i386/ops_sse.h	2008-12-01 01:52:37 UTC (rev 5841)
@@ -1499,12 +1499,12 @@
 {\
     d->elem(0) = F(0);\
     d->elem(1) = F(1);\
-    d->elem(2) = F(2);\
-    d->elem(3) = F(3);\
-    if (num > 3) {\
-        d->elem(4) = F(4);\
-        d->elem(5) = F(5);\
-        if (num > 5) {\
+    if (num > 2) {\
+        d->elem(2) = F(2);\
+        d->elem(3) = F(3);\
+        if (num > 4) {\
+            d->elem(4) = F(4);\
+            d->elem(5) = F(5);\
             d->elem(6) = F(6);\
             d->elem(7) = F(7);\
         }\

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

only message in thread, other threads:[~2008-12-01  1:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01  1:52 [Qemu-devel] [5841] Fix pmovsx* / pmovzx* SSE instructions ( original fix by Frank Mehnert) Andrzej Zaborowski

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).