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

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

Issue 639283003: [turbofan] IA: TruncateFloat64ToFloat32 supports mem operand (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ia32 port 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/assembler-x64.h ('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 2743 matching lines...) Expand 10 before | Expand all | Expand 10 after
2754 void Assembler::cvtsd2ss(XMMRegister dst, XMMRegister src) { 2754 void Assembler::cvtsd2ss(XMMRegister dst, XMMRegister src) {
2755 EnsureSpace ensure_space(this); 2755 EnsureSpace ensure_space(this);
2756 emit(0xF2); 2756 emit(0xF2);
2757 emit_optional_rex_32(dst, src); 2757 emit_optional_rex_32(dst, src);
2758 emit(0x0F); 2758 emit(0x0F);
2759 emit(0x5A); 2759 emit(0x5A);
2760 emit_sse_operand(dst, src); 2760 emit_sse_operand(dst, src);
2761 } 2761 }
2762 2762
2763 2763
2764 void Assembler::cvtsd2ss(XMMRegister dst, const Operand& src) {
2765 EnsureSpace ensure_space(this);
2766 emit(0xF2);
2767 emit_optional_rex_32(dst, src);
2768 emit(0x0F);
2769 emit(0x5A);
2770 emit_sse_operand(dst, src);
2771 }
2772
2773
2764 void Assembler::cvtsd2si(Register dst, XMMRegister src) { 2774 void Assembler::cvtsd2si(Register dst, XMMRegister src) {
2765 EnsureSpace ensure_space(this); 2775 EnsureSpace ensure_space(this);
2766 emit(0xF2); 2776 emit(0xF2);
2767 emit_optional_rex_32(dst, src); 2777 emit_optional_rex_32(dst, src);
2768 emit(0x0F); 2778 emit(0x0F);
2769 emit(0x2D); 2779 emit(0x2D);
2770 emit_sse_operand(dst, src); 2780 emit_sse_operand(dst, src);
2771 } 2781 }
2772 2782
2773 2783
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
3063 3073
3064 3074
3065 bool RelocInfo::IsInConstantPool() { 3075 bool RelocInfo::IsInConstantPool() {
3066 return false; 3076 return false;
3067 } 3077 }
3068 3078
3069 3079
3070 } } // namespace v8::internal 3080 } } // namespace v8::internal
3071 3081
3072 #endif // V8_TARGET_ARCH_X64 3082 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.h ('k') | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698