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

[Xen-changelog] [xen-3.2-testing] x86_emulate: Fix backport of movnti emulation.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1227266900 0
# Node ID b9cf7df7284fae486a323e0cd85edc8e80a984b9
# Parent  9cf32a0f8233d5bf6c35f1cdd10758416cd40207
x86_emulate: Fix backport of movnti emulation.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-3.3-testing changeset:   18497:9ad637d845a5eb24a2eb868d8f26a9df54109a82
xen-3.3-testing date:        Fri Nov 21 11:25:43 2008 +0000
---
 xen/arch/x86/x86_emulate.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff -r 9cf32a0f8233 -r b9cf7df7284f xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c        Tue Nov 18 11:43:03 2008 +0000
+++ b/xen/arch/x86/x86_emulate.c        Fri Nov 21 11:28:20 2008 +0000
@@ -3132,6 +3132,12 @@ x86_emulate(
         case 8: *src.reg = dst.val; break;
         }
         goto add;
+
+    case 0xc3: /* movnti */
+        /* Ignore the non-temporal hint for now. */
+        generate_exception_if(dst.bytes <= 2, EXC_UD);
+        dst.val = src.val;
+        break;
     }
     goto writeback;
 
@@ -3340,12 +3346,6 @@ x86_emulate(
         src.val = x86_seg_gs;
         goto pop_seg;
 
-    case 0xc3: /* movnti */
-        /* Ignore the non-temporal hint for now. */
-        generate_exception_if(dst.bytes <= 2, EXC_UD);
-        dst.val = src.val;
-        break;
-
     case 0xc7: /* Grp9 (cmpxchg8b) */
 #if defined(__i386__)
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.