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 3161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3172 DCHECK(!IsEnabled(AVX)); | 3172 DCHECK(!IsEnabled(AVX)); |
3173 EnsureSpace ensure_space(this); | 3173 EnsureSpace ensure_space(this); |
3174 emit(0xF2); | 3174 emit(0xF2); |
3175 emit_optional_rex_32(dst, src); | 3175 emit_optional_rex_32(dst, src); |
3176 emit(0x0F); | 3176 emit(0x0F); |
3177 emit(0x2A); | 3177 emit(0x2A); |
3178 emit_sse_operand(dst, src); | 3178 emit_sse_operand(dst, src); |
3179 } | 3179 } |
3180 | 3180 |
3181 | 3181 |
| 3182 void Assembler::cvtlsi2ss(XMMRegister dst, const Operand& src) { |
| 3183 DCHECK(!IsEnabled(AVX)); |
| 3184 EnsureSpace ensure_space(this); |
| 3185 emit(0xF3); |
| 3186 emit_optional_rex_32(dst, src); |
| 3187 emit(0x0F); |
| 3188 emit(0x2A); |
| 3189 emit_sse_operand(dst, src); |
| 3190 } |
| 3191 |
| 3192 |
3182 void Assembler::cvtlsi2ss(XMMRegister dst, Register src) { | 3193 void Assembler::cvtlsi2ss(XMMRegister dst, Register src) { |
3183 EnsureSpace ensure_space(this); | 3194 EnsureSpace ensure_space(this); |
3184 emit(0xF3); | 3195 emit(0xF3); |
3185 emit_optional_rex_32(dst, src); | 3196 emit_optional_rex_32(dst, src); |
3186 emit(0x0F); | 3197 emit(0x0F); |
3187 emit(0x2A); | 3198 emit(0x2A); |
3188 emit_sse_operand(dst, src); | 3199 emit_sse_operand(dst, src); |
3189 } | 3200 } |
3190 | 3201 |
3191 | 3202 |
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4138 | 4149 |
4139 bool RelocInfo::IsInConstantPool() { | 4150 bool RelocInfo::IsInConstantPool() { |
4140 return false; | 4151 return false; |
4141 } | 4152 } |
4142 | 4153 |
4143 | 4154 |
4144 } // namespace internal | 4155 } // namespace internal |
4145 } // namespace v8 | 4156 } // namespace v8 |
4146 | 4157 |
4147 #endif // V8_TARGET_ARCH_X64 | 4158 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |