Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/x64/assembler-x64.cc

Issue 2652793004: [x64] Fix REX prefix in shufps (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | test/cctest/test-disasm-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-disasm-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698