Upgrade V8 to version 4.9.385.28
https://chromium.googlesource.com/v8/v8/+/4.9.385.28
FPIIM-449
Change-Id: I4b2e74289d4bf3667f2f3dc8aa2e541f63e26eb4
diff --git a/src/x87/disasm-x87.cc b/src/x87/disasm-x87.cc
index 8c77d77..bf2200c 100644
--- a/src/x87/disasm-x87.cc
+++ b/src/x87/disasm-x87.cc
@@ -6,8 +6,6 @@
#include <stdarg.h>
#include <stdio.h>
-#include "src/v8.h"
-
#if V8_TARGET_ARCH_X87
#include "src/disasm.h"
@@ -726,6 +724,21 @@
case 0:
mnem = "fadd_d";
break;
+ case 1:
+ mnem = "fmul_d";
+ break;
+ case 4:
+ mnem = "fsub_d";
+ break;
+ case 5:
+ mnem = "fsubr_d";
+ break;
+ case 6:
+ mnem = "fdiv_d";
+ break;
+ case 7:
+ mnem = "fdivr_d";
+ break;
default:
UnimplementedInstruction();
}
@@ -893,6 +906,8 @@
// Returns NULL if the instruction is not handled here.
static const char* F0Mnem(byte f0byte) {
switch (f0byte) {
+ case 0x0B:
+ return "ud2";
case 0x18: return "prefetch";
case 0xA2: return "cpuid";
case 0xBE: return "movsx_b";
@@ -1057,7 +1072,7 @@
data[7] == 0) {
AppendToBuffer("nop"); // 8 byte nop.
data += 8;
- } else if (f0byte == 0xA2 || f0byte == 0x31) {
+ } else if (f0byte == 0x0B || f0byte == 0xA2 || f0byte == 0x31) {
AppendToBuffer("%s", f0mnem);
data += 2;
} else if (f0byte == 0x28) {
@@ -1267,11 +1282,7 @@
data++;
} else if (*data == 0x2A) {
// movntdqa
- data++;
- int mod, regop, rm;
- get_modrm(*data, &mod, ®op, &rm);
- AppendToBuffer("movntdqa %s,", NameOfXMMRegister(regop));
- data += PrintRightOperand(data);
+ UnimplementedInstruction();
} else {
UnimplementedInstruction();
}
@@ -1290,7 +1301,7 @@
} else if (*data == 0x16) {
data++;
int mod, regop, rm;
- get_modrm(*data, &mod, ®op, &rm);
+ get_modrm(*data, &mod, &rm, ®op);
int8_t imm8 = static_cast<int8_t>(data[1]);
AppendToBuffer("pextrd %s,%s,%d",
NameOfCPURegister(regop),
@@ -1453,9 +1464,8 @@
int mod, regop, rm;
get_modrm(*data, &mod, ®op, &rm);
if (mod == 3) {
- AppendToBuffer("movntdq ");
- data += PrintRightOperand(data);
- AppendToBuffer(",%s", NameOfXMMRegister(regop));
+ // movntdq
+ UnimplementedInstruction();
} else {
UnimplementedInstruction();
}