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

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

Issue 1475343002: Revert of [turbofan] Implemented the TruncateFloat32ToInt64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/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 3094 matching lines...) Expand 10 before | Expand all | Expand 10 after
3105 DCHECK(!IsEnabled(AVX)); 3105 DCHECK(!IsEnabled(AVX));
3106 EnsureSpace ensure_space(this); 3106 EnsureSpace ensure_space(this);
3107 emit(0xF2); 3107 emit(0xF2);
3108 emit_optional_rex_32(dst, src); 3108 emit_optional_rex_32(dst, src);
3109 emit(0x0F); 3109 emit(0x0F);
3110 emit(0x2C); 3110 emit(0x2C);
3111 emit_sse_operand(dst, src); 3111 emit_sse_operand(dst, src);
3112 } 3112 }
3113 3113
3114 3114
3115 void Assembler::cvttss2siq(Register dst, XMMRegister src) {
3116 DCHECK(!IsEnabled(AVX));
3117 EnsureSpace ensure_space(this);
3118 emit(0xF3);
3119 emit_rex_64(dst, src);
3120 emit(0x0F);
3121 emit(0x2C);
3122 emit_sse_operand(dst, src);
3123 }
3124
3125
3126 void Assembler::cvttss2siq(Register dst, const Operand& src) {
3127 DCHECK(!IsEnabled(AVX));
3128 EnsureSpace ensure_space(this);
3129 emit(0xF3);
3130 emit_rex_64(dst, src);
3131 emit(0x0F);
3132 emit(0x2C);
3133 emit_sse_operand(dst, src);
3134 }
3135
3136
3137 void Assembler::cvttsd2siq(Register dst, XMMRegister src) { 3115 void Assembler::cvttsd2siq(Register dst, XMMRegister src) {
3138 DCHECK(!IsEnabled(AVX)); 3116 DCHECK(!IsEnabled(AVX));
3139 EnsureSpace ensure_space(this); 3117 EnsureSpace ensure_space(this);
3140 emit(0xF2); 3118 emit(0xF2);
3141 emit_rex_64(dst, src); 3119 emit_rex_64(dst, src);
3142 emit(0x0F); 3120 emit(0x0F);
3143 emit(0x2C); 3121 emit(0x2C);
3144 emit_sse_operand(dst, src); 3122 emit_sse_operand(dst, src);
3145 } 3123 }
3146 3124
(...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
4137 4115
4138 bool RelocInfo::IsInConstantPool() { 4116 bool RelocInfo::IsInConstantPool() {
4139 return false; 4117 return false;
4140 } 4118 }
4141 4119
4142 4120
4143 } // namespace internal 4121 } // namespace internal
4144 } // namespace v8 4122 } // namespace v8
4145 4123
4146 #endif // V8_TARGET_ARCH_X64 4124 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.h ('k') | src/x64/disasm-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698