| 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 3016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3027 emit(0x0F); | 3027 emit(0x0F); |
| 3028 emit(0x28); | 3028 emit(0x28); |
| 3029 emit_sse_operand(dst, src); | 3029 emit_sse_operand(dst, src); |
| 3030 } | 3030 } |
| 3031 } | 3031 } |
| 3032 | 3032 |
| 3033 | 3033 |
| 3034 void Assembler::shufps(XMMRegister dst, XMMRegister src, byte imm8) { | 3034 void Assembler::shufps(XMMRegister dst, XMMRegister src, byte imm8) { |
| 3035 DCHECK(is_uint8(imm8)); | 3035 DCHECK(is_uint8(imm8)); |
| 3036 EnsureSpace ensure_space(this); | 3036 EnsureSpace ensure_space(this); |
| 3037 emit_optional_rex_32(src, dst); | 3037 emit_optional_rex_32(dst, src); |
| 3038 emit(0x0F); | 3038 emit(0x0F); |
| 3039 emit(0xC6); | 3039 emit(0xC6); |
| 3040 emit_sse_operand(dst, src); | 3040 emit_sse_operand(dst, src); |
| 3041 emit(imm8); | 3041 emit(imm8); |
| 3042 } | 3042 } |
| 3043 | 3043 |
| 3044 | 3044 |
| 3045 void Assembler::movapd(XMMRegister dst, XMMRegister src) { | 3045 void Assembler::movapd(XMMRegister dst, XMMRegister src) { |
| 3046 DCHECK(!IsEnabled(AVX)); | 3046 DCHECK(!IsEnabled(AVX)); |
| 3047 EnsureSpace ensure_space(this); | 3047 EnsureSpace ensure_space(this); |
| (...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4740 | 4740 |
| 4741 bool RelocInfo::IsInConstantPool() { | 4741 bool RelocInfo::IsInConstantPool() { |
| 4742 return false; | 4742 return false; |
| 4743 } | 4743 } |
| 4744 | 4744 |
| 4745 | 4745 |
| 4746 } // namespace internal | 4746 } // namespace internal |
| 4747 } // namespace v8 | 4747 } // namespace v8 |
| 4748 | 4748 |
| 4749 #endif // V8_TARGET_ARCH_X64 | 4749 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |