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/x64/assembler-x64.h" | 5 #include "src/x64/assembler-x64.h" |
6 | 6 |
7 #include <cstring> | 7 #include <cstring> |
8 | 8 |
9 #if V8_TARGET_ARCH_X64 | 9 #if V8_TARGET_ARCH_X64 |
10 | 10 |
(...skipping 3029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3040 EnsureSpace ensure_space(this); | 3040 EnsureSpace ensure_space(this); |
3041 emit(0xF2); | 3041 emit(0xF2); |
3042 emit_rex_64(dst, src); | 3042 emit_rex_64(dst, src); |
3043 emit(0x0F); | 3043 emit(0x0F); |
3044 emit(0x2C); | 3044 emit(0x2C); |
3045 emit_sse_operand(dst, src); | 3045 emit_sse_operand(dst, src); |
3046 } | 3046 } |
3047 | 3047 |
3048 | 3048 |
3049 void Assembler::cvtlsi2sd(XMMRegister dst, const Operand& src) { | 3049 void Assembler::cvtlsi2sd(XMMRegister dst, const Operand& src) { |
3050 DCHECK(!IsEnabled(AVX)); | |
3051 EnsureSpace ensure_space(this); | 3050 EnsureSpace ensure_space(this); |
3052 emit(0xF2); | 3051 emit(0xF2); |
3053 emit_optional_rex_32(dst, src); | 3052 emit_optional_rex_32(dst, src); |
3054 emit(0x0F); | 3053 emit(0x0F); |
3055 emit(0x2A); | 3054 emit(0x2A); |
3056 emit_sse_operand(dst, src); | 3055 emit_sse_operand(dst, src); |
3057 } | 3056 } |
3058 | 3057 |
3059 | 3058 |
3060 void Assembler::cvtlsi2sd(XMMRegister dst, Register src) { | 3059 void Assembler::cvtlsi2sd(XMMRegister dst, Register src) { |
3061 DCHECK(!IsEnabled(AVX)); | |
3062 EnsureSpace ensure_space(this); | 3060 EnsureSpace ensure_space(this); |
3063 emit(0xF2); | 3061 emit(0xF2); |
3064 emit_optional_rex_32(dst, src); | 3062 emit_optional_rex_32(dst, src); |
3065 emit(0x0F); | 3063 emit(0x0F); |
3066 emit(0x2A); | 3064 emit(0x2A); |
3067 emit_sse_operand(dst, src); | 3065 emit_sse_operand(dst, src); |
3068 } | 3066 } |
3069 | 3067 |
3070 | 3068 |
3071 void Assembler::cvtlsi2ss(XMMRegister dst, Register src) { | 3069 void Assembler::cvtlsi2ss(XMMRegister dst, Register src) { |
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3943 | 3941 |
3944 bool RelocInfo::IsInConstantPool() { | 3942 bool RelocInfo::IsInConstantPool() { |
3945 return false; | 3943 return false; |
3946 } | 3944 } |
3947 | 3945 |
3948 | 3946 |
3949 } // namespace internal | 3947 } // namespace internal |
3950 } // namespace v8 | 3948 } // namespace v8 |
3951 | 3949 |
3952 #endif // V8_TARGET_ARCH_X64 | 3950 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |