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

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

Issue 299423005: Relax register constraints for LMathSqrt. (Closed) Base URL: git@github.com:v8/v8.git@master
Patch Set: x64 fix Created 6 years, 6 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 | « src/x64/assembler-x64.h ('k') | src/x64/lithium-codegen-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 "v8.h" 5 #include "v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "macro-assembler.h" 9 #include "macro-assembler.h"
10 #include "serialize.h" 10 #include "serialize.h"
(...skipping 2776 matching lines...) Expand 10 before | Expand all | Expand 10 after
2787 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) { 2787 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) {
2788 EnsureSpace ensure_space(this); 2788 EnsureSpace ensure_space(this);
2789 emit(0xF2); 2789 emit(0xF2);
2790 emit_optional_rex_32(dst, src); 2790 emit_optional_rex_32(dst, src);
2791 emit(0x0F); 2791 emit(0x0F);
2792 emit(0x51); 2792 emit(0x51);
2793 emit_sse_operand(dst, src); 2793 emit_sse_operand(dst, src);
2794 } 2794 }
2795 2795
2796 2796
2797 void Assembler::sqrtsd(XMMRegister dst, const Operand& src) {
2798 EnsureSpace ensure_space(this);
2799 emit(0xF2);
2800 emit_optional_rex_32(dst, src);
2801 emit(0x0F);
2802 emit(0x51);
2803 emit_sse_operand(dst, src);
2804 }
2805
2806
2797 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { 2807 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) {
2798 EnsureSpace ensure_space(this); 2808 EnsureSpace ensure_space(this);
2799 emit(0x66); 2809 emit(0x66);
2800 emit_optional_rex_32(dst, src); 2810 emit_optional_rex_32(dst, src);
2801 emit(0x0f); 2811 emit(0x0f);
2802 emit(0x2e); 2812 emit(0x2e);
2803 emit_sse_operand(dst, src); 2813 emit_sse_operand(dst, src);
2804 } 2814 }
2805 2815
2806 2816
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
2960 2970
2961 2971
2962 bool RelocInfo::IsInConstantPool() { 2972 bool RelocInfo::IsInConstantPool() {
2963 return false; 2973 return false;
2964 } 2974 }
2965 2975
2966 2976
2967 } } // namespace v8::internal 2977 } } // namespace v8::internal
2968 2978
2969 #endif // V8_TARGET_ARCH_X64 2979 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698