Revision: 19022
Author:   [email protected]
Date:     Mon Feb  3 08:13:12 2014 UTC
Log:      [x64] add disasm for two fp instructions

BUG=
[email protected]

Review URL: https://codereview.chromium.org/146583002

Patch from Weiliang Lin <[email protected]>.
http://code.google.com/p/v8/source/detail?r=19022

Modified:
 /branches/bleeding_edge/src/x64/disasm-x64.cc
 /branches/bleeding_edge/test/cctest/test-disasm-ia32.cc
 /branches/bleeding_edge/test/cctest/test-disasm-x64.cc

=======================================
--- /branches/bleeding_edge/src/x64/disasm-x64.cc Mon Nov 18 15:24:41 2013 UTC +++ /branches/bleeding_edge/src/x64/disasm-x64.cc Mon Feb 3 08:13:12 2014 UTC
@@ -934,6 +934,7 @@
             case 0xF5: mnem = "fprem1"; break;
             case 0xF7: mnem = "fincstp"; break;
             case 0xF8: mnem = "fprem"; break;
+            case 0xFC: mnem = "frndint"; break;
             case 0xFD: mnem = "fscale"; break;
             case 0xFE: mnem = "fsin"; break;
             case 0xFF: mnem = "fcos"; break;
@@ -956,6 +957,8 @@
         has_register = true;
       } else if (modrm_byte  == 0xE2) {
         mnem = "fclex";
+      } else if (modrm_byte == 0xE3) {
+        mnem = "fninit";
       } else {
         UnimplementedInstruction();
       }
=======================================
--- /branches/bleeding_edge/test/cctest/test-disasm-ia32.cc Tue Jan 7 14:14:34 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-disasm-ia32.cc Mon Feb 3 08:13:12 2014 UTC
@@ -349,6 +349,8 @@
   __ fdivp(3);
   __ fcompp();
   __ fwait();
+  __ frndint();
+  __ fninit();
   __ nop();

   // SSE instruction
=======================================
--- /branches/bleeding_edge/test/cctest/test-disasm-x64.cc Mon Nov 18 15:24:41 2013 UTC +++ /branches/bleeding_edge/test/cctest/test-disasm-x64.cc Mon Feb 3 08:13:12 2014 UTC
@@ -330,6 +330,8 @@
   __ fdivp(3);
   __ fcompp();
   __ fwait();
+  __ frndint();
+  __ fninit();
   __ nop();

   // SSE instruction

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to