Revision: 5140
Author: [email protected]
Date: Tue Jul 27 23:55:53 2010
Log: Backport http://code.google.com/p/v8/source/detail?r=5138 to 2.2.

Review URL: http://codereview.chromium.org/3069004
http://code.google.com/p/v8/source/detail?r=5140

Modified:
 /branches/2.2/src/version.cc
 /branches/2.2/src/x64/assembler-x64.cc
 /branches/2.2/src/x64/disasm-x64.cc

=======================================
--- /branches/2.2/src/version.cc        Tue Jul 27 07:23:04 2010
+++ /branches/2.2/src/version.cc        Tue Jul 27 23:55:53 2010
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     2
 #define MINOR_VERSION     2
 #define BUILD_NUMBER      24
-#define PATCH_LEVEL       5
+#define PATCH_LEVEL       6
 #define CANDIDATE_VERSION false

 // Define SONAME to have the SCons build the put a specific SONAME into the
=======================================
--- /branches/2.2/src/x64/assembler-x64.cc      Tue Jul 13 13:58:03 2010
+++ /branches/2.2/src/x64/assembler-x64.cc      Tue Jul 27 23:55:53 2010
@@ -2529,10 +2529,10 @@
   EnsureSpace ensure_space(this);
   last_pc_ = pc_;
   emit(0x66);
-  emit_optional_rex_32(dst, src);
+  emit_optional_rex_32(src, dst);
   emit(0x0F);
   emit(0x7E);
-  emit_sse_operand(dst, src);
+  emit_sse_operand(src, dst);
 }


@@ -2551,10 +2551,10 @@
   EnsureSpace ensure_space(this);
   last_pc_ = pc_;
   emit(0x66);
-  emit_rex_64(dst, src);
+  emit_rex_64(src, dst);
   emit(0x0F);
   emit(0x7E);
-  emit_sse_operand(dst, src);
+  emit_sse_operand(src, dst);
 }


=======================================
--- /branches/2.2/src/x64/disasm-x64.cc Wed Jun 30 02:09:34 2010
+++ /branches/2.2/src/x64/disasm-x64.cc Tue Jul 27 23:55:53 2010
@@ -1019,10 +1019,10 @@
                        NameOfXMMRegister(regop));
         current += PrintRightOperand(current);
       } else if (opcode == 0x7E) {
-        AppendToBuffer("mov%c %s,",
-                       rex_w() ? 'q' : 'd',
-                       NameOfCPURegister(regop));
-        current += PrintRightXMMOperand(current);
+        AppendToBuffer("mov%c ",
+                       rex_w() ? 'q' : 'd');
+        current += PrintRightOperand(current);
+        AppendToBuffer(", %s", NameOfXMMRegister(regop));
       } else {
         const char* mnemonic = "?";
         if (opcode == 0x57) {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to