diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-01-24 20:55:18 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-01-24 20:55:18 -0800 |
commit | 4c5e570706c6e2a0fa2a6dbeef54553b8da07b6c (patch) | |
tree | add83cbc40d3189ca135590e623030582fc649ef /deps/v8/src/x64/disasm-x64.cc | |
parent | 07f3274ac425a55454b32caeb17f4b0d10683971 (diff) | |
download | node-new-4c5e570706c6e2a0fa2a6dbeef54553b8da07b6c.tar.gz |
Upgrade V8 to 3.0.10
Diffstat (limited to 'deps/v8/src/x64/disasm-x64.cc')
-rw-r--r-- | deps/v8/src/x64/disasm-x64.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/deps/v8/src/x64/disasm-x64.cc b/deps/v8/src/x64/disasm-x64.cc index 7502d6182c..8fdf20b7be 100644 --- a/deps/v8/src/x64/disasm-x64.cc +++ b/deps/v8/src/x64/disasm-x64.cc @@ -1113,9 +1113,11 @@ int DisassemblerX64::TwoByteOpcodeInstruction(byte* data) { } else if (opcode == 0x2C) { // CVTTSS2SI: // Convert with truncation scalar single-precision FP to dword integer. - // Assert that mod is not 3, so source is memory, not an XMM register. - ASSERT_NE(0xC0, *current & 0xC0); - current += PrintOperands("cvttss2si", REG_OPER_OP_ORDER, current); + int mod, regop, rm; + get_modrm(*current, &mod, ®op, &rm); + AppendToBuffer("cvttss2si%c %s,", + operand_size_code(), NameOfCPURegister(regop)); + current += PrintRightXMMOperand(current); } else if (opcode == 0x5A) { // CVTSS2SD: // Convert scalar single-precision FP to scalar double-precision FP. |