qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] typo in target-i386/ops_sse.h


From: Frank Mehnert
Subject: [Qemu-devel] typo in target-i386/ops_sse.h
Date: Thu, 27 Nov 2008 22:30:12 +0100
User-agent: KMail/1.9.9

Hi,

I believe there is a typo in target-i386/ops_sse.h in the macro
SSE_HELPER_F:

--- ops_sse.h   (revision 5805)
+++ ops_sse.h   (working copy)
@@ -1501,10 +1501,10 @@
     d->elem(1) = F(1);\
     d->elem(2) = F(2);\
     d->elem(3) = F(3);\
-    if (num > 3) {\
+    if (num > 4) {\
         d->elem(4) = F(4);\
         d->elem(5) = F(5);\
-        if (num > 5) {\
+        if (num > 6) {\
             d->elem(6) = F(6);\
             d->elem(7) = F(7);\
         }\

If num is 4, only the elements 0...3 should be set. Same for 5/6.

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert    Sun Microsystems    http://www.sun.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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