Chromium Code Reviews| Index: src/x64/assembler-x64.cc |
| =================================================================== |
| --- src/x64/assembler-x64.cc (revision 6302) |
| +++ src/x64/assembler-x64.cc (working copy) |
| @@ -2721,6 +2721,17 @@ |
| } |
|
William Hesse
2011/01/14 14:58:17
disasm-x64.cc has an assert on line 1117 that will
Ken Russell (switch to Gerrit)
2011/01/14 22:37:27
Done. Tested in 64-bit Chromium with --js-flags="-
|
| +void Assembler::cvttss2si(Register dst, XMMRegister src) { |
| + EnsureSpace ensure_space(this); |
| + last_pc_ = pc_; |
| + emit(0xF3); |
| + emit_optional_rex_32(dst, src); |
| + emit(0x0F); |
| + emit(0x2C); |
| + emit_sse_operand(dst, src); |
| +} |
| + |
| + |
| void Assembler::cvttsd2si(Register dst, const Operand& src) { |
| EnsureSpace ensure_space(this); |
| last_pc_ = pc_; |
| @@ -2732,6 +2743,17 @@ |
| } |
| +void Assembler::cvttsd2si(Register dst, XMMRegister src) { |
| + EnsureSpace ensure_space(this); |
| + last_pc_ = pc_; |
| + emit(0xF2); |
| + emit_optional_rex_32(dst, src); |
| + emit(0x0F); |
| + emit(0x2C); |
| + emit_sse_operand(dst, src); |
| +} |
| + |
| + |
| void Assembler::cvttsd2siq(Register dst, XMMRegister src) { |
| EnsureSpace ensure_space(this); |
| last_pc_ = pc_; |