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 583963002: [turbofan] IA: Uint32ToFloat64 supports mem operand. (Closed) Base URL: https://github.com/v8/v8.git@bleeding_edge
Patch Set: Add tests Created 6 years, 2 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/ia32/macro-assembler-ia32.cc ('k') | test/cctest/compiler/test-run-machops.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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/macro-assembler.h" 10 #include "src/macro-assembler.h"
(...skipping 2641 matching lines...) Expand 10 before | Expand all | Expand 10 after
2652 void Assembler::cvtlsi2ss(XMMRegister dst, Register src) { 2652 void Assembler::cvtlsi2ss(XMMRegister dst, Register src) {
2653 EnsureSpace ensure_space(this); 2653 EnsureSpace ensure_space(this);
2654 emit(0xF3); 2654 emit(0xF3);
2655 emit_optional_rex_32(dst, src); 2655 emit_optional_rex_32(dst, src);
2656 emit(0x0F); 2656 emit(0x0F);
2657 emit(0x2A); 2657 emit(0x2A);
2658 emit_sse_operand(dst, src); 2658 emit_sse_operand(dst, src);
2659 } 2659 }
2660 2660
2661 2661
2662 void Assembler::cvtqsi2sd(XMMRegister dst, const Operand& src) {
2663 EnsureSpace ensure_space(this);
2664 emit(0xF2);
2665 emit_rex_64(dst, src);
2666 emit(0x0F);
2667 emit(0x2A);
2668 emit_sse_operand(dst, src);
2669 }
2670
2671
2662 void Assembler::cvtqsi2sd(XMMRegister dst, Register src) { 2672 void Assembler::cvtqsi2sd(XMMRegister dst, Register src) {
2663 EnsureSpace ensure_space(this); 2673 EnsureSpace ensure_space(this);
2664 emit(0xF2); 2674 emit(0xF2);
2665 emit_rex_64(dst, src); 2675 emit_rex_64(dst, src);
2666 emit(0x0F); 2676 emit(0x0F);
2667 emit(0x2A); 2677 emit(0x2A);
2668 emit_sse_operand(dst, src); 2678 emit_sse_operand(dst, src);
2669 } 2679 }
2670 2680
2671 2681
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
2995 3005
2996 3006
2997 bool RelocInfo::IsInConstantPool() { 3007 bool RelocInfo::IsInConstantPool() {
2998 return false; 3008 return false;
2999 } 3009 }
3000 3010
3001 3011
3002 } } // namespace v8::internal 3012 } } // namespace v8::internal
3003 3013
3004 #endif // V8_TARGET_ARCH_X64 3014 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698