| 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 3347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3358 EnsureSpace ensure_space(this); | 3358 EnsureSpace ensure_space(this); |
| 3359 emit(0x66); | 3359 emit(0x66); |
| 3360 emit_optional_rex_32(dst, src); | 3360 emit_optional_rex_32(dst, src); |
| 3361 emit(0x0F); | 3361 emit(0x0F); |
| 3362 emit(0x57); | 3362 emit(0x57); |
| 3363 emit_sse_operand(dst, src); | 3363 emit_sse_operand(dst, src); |
| 3364 } | 3364 } |
| 3365 | 3365 |
| 3366 | 3366 |
| 3367 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) { | 3367 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) { |
| 3368 DCHECK(!IsEnabled(AVX)); |
| 3368 EnsureSpace ensure_space(this); | 3369 EnsureSpace ensure_space(this); |
| 3369 emit(0xF2); | 3370 emit(0xF2); |
| 3370 emit_optional_rex_32(dst, src); | 3371 emit_optional_rex_32(dst, src); |
| 3371 emit(0x0F); | 3372 emit(0x0F); |
| 3372 emit(0x51); | 3373 emit(0x51); |
| 3373 emit_sse_operand(dst, src); | 3374 emit_sse_operand(dst, src); |
| 3374 } | 3375 } |
| 3375 | 3376 |
| 3376 | 3377 |
| 3377 void Assembler::sqrtsd(XMMRegister dst, const Operand& src) { | 3378 void Assembler::sqrtsd(XMMRegister dst, const Operand& src) { |
| 3379 DCHECK(!IsEnabled(AVX)); |
| 3378 EnsureSpace ensure_space(this); | 3380 EnsureSpace ensure_space(this); |
| 3379 emit(0xF2); | 3381 emit(0xF2); |
| 3380 emit_optional_rex_32(dst, src); | 3382 emit_optional_rex_32(dst, src); |
| 3381 emit(0x0F); | 3383 emit(0x0F); |
| 3382 emit(0x51); | 3384 emit(0x51); |
| 3383 emit_sse_operand(dst, src); | 3385 emit_sse_operand(dst, src); |
| 3384 } | 3386 } |
| 3385 | 3387 |
| 3386 | 3388 |
| 3387 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { | 3389 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { |
| (...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4034 | 4036 |
| 4035 bool RelocInfo::IsInConstantPool() { | 4037 bool RelocInfo::IsInConstantPool() { |
| 4036 return false; | 4038 return false; |
| 4037 } | 4039 } |
| 4038 | 4040 |
| 4039 | 4041 |
| 4040 } // namespace internal | 4042 } // namespace internal |
| 4041 } // namespace v8 | 4043 } // namespace v8 |
| 4042 | 4044 |
| 4043 #endif // V8_TARGET_ARCH_X64 | 4045 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |