OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_X64 | 7 #if V8_TARGET_ARCH_X64 |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
(...skipping 2641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2652 void Assembler::cvtlsi2ss(XMMRegister dst, Register src) { | 2652 void Assembler::cvtlsi2ss(XMMRegister dst, Register src) { |
2653 EnsureSpace ensure_space(this); | 2653 EnsureSpace ensure_space(this); |
2654 emit(0xF3); | 2654 emit(0xF3); |
2655 emit_optional_rex_32(dst, src); | 2655 emit_optional_rex_32(dst, src); |
2656 emit(0x0F); | 2656 emit(0x0F); |
2657 emit(0x2A); | 2657 emit(0x2A); |
2658 emit_sse_operand(dst, src); | 2658 emit_sse_operand(dst, src); |
2659 } | 2659 } |
2660 | 2660 |
2661 | 2661 |
| 2662 void Assembler::cvtqsi2sd(XMMRegister dst, const Operand& src) { |
| 2663 EnsureSpace ensure_space(this); |
| 2664 emit(0xF2); |
| 2665 emit_rex_64(dst, src); |
| 2666 emit(0x0F); |
| 2667 emit(0x2A); |
| 2668 emit_sse_operand(dst, src); |
| 2669 } |
| 2670 |
| 2671 |
2662 void Assembler::cvtqsi2sd(XMMRegister dst, Register src) { | 2672 void Assembler::cvtqsi2sd(XMMRegister dst, Register src) { |
2663 EnsureSpace ensure_space(this); | 2673 EnsureSpace ensure_space(this); |
2664 emit(0xF2); | 2674 emit(0xF2); |
2665 emit_rex_64(dst, src); | 2675 emit_rex_64(dst, src); |
2666 emit(0x0F); | 2676 emit(0x0F); |
2667 emit(0x2A); | 2677 emit(0x2A); |
2668 emit_sse_operand(dst, src); | 2678 emit_sse_operand(dst, src); |
2669 } | 2679 } |
2670 | 2680 |
2671 | 2681 |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2995 | 3005 |
2996 | 3006 |
2997 bool RelocInfo::IsInConstantPool() { | 3007 bool RelocInfo::IsInConstantPool() { |
2998 return false; | 3008 return false; |
2999 } | 3009 } |
3000 | 3010 |
3001 | 3011 |
3002 } } // namespace v8::internal | 3012 } } // namespace v8::internal |
3003 | 3013 |
3004 #endif // V8_TARGET_ARCH_X64 | 3014 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |