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

Side by Side Diff: src/compiler/arm/instruction-selector-arm.cc

Issue 484103002: [turbofan] Add TruncateFloat64ToInt32 machine operator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Disable test-run-machops/RunTruncateFloat64ToInt32P on arm64. Created 6 years, 4 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/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm64/code-generator-arm64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler-intrinsics.h" 7 #include "src/compiler-intrinsics.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 return value >= -4095 && value <= 4095; 67 return value >= -4095 && value <= 4095;
68 68
69 case kArmLoadWord16: 69 case kArmLoadWord16:
70 case kArmStoreWord16: 70 case kArmStoreWord16:
71 return value >= -255 && value <= 255; 71 return value >= -255 && value <= 255;
72 72
73 case kArchJmp: 73 case kArchJmp:
74 case kArchNop: 74 case kArchNop:
75 case kArchRet: 75 case kArchRet:
76 case kArchDeoptimize: 76 case kArchDeoptimize:
77 case kArchTruncateDoubleToI:
77 case kArmMul: 78 case kArmMul:
78 case kArmMla: 79 case kArmMla:
79 case kArmMls: 80 case kArmMls:
80 case kArmSdiv: 81 case kArmSdiv:
81 case kArmUdiv: 82 case kArmUdiv:
82 case kArmBfc: 83 case kArmBfc:
83 case kArmUbfx: 84 case kArmUbfx:
84 case kArmCallCodeObject: 85 case kArmCallCodeObject:
85 case kArmCallJSFunction: 86 case kArmCallJSFunction:
86 case kArmCallAddress: 87 case kArmCallAddress:
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 DCHECK(cont->IsSet()); 952 DCHECK(cont->IsSet());
952 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()), 953 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()),
953 g.UseDoubleRegister(m.left().node()), 954 g.UseDoubleRegister(m.left().node()),
954 g.UseDoubleRegister(m.right().node())); 955 g.UseDoubleRegister(m.right().node()));
955 } 956 }
956 } 957 }
957 958
958 } // namespace compiler 959 } // namespace compiler
959 } // namespace internal 960 } // namespace internal
960 } // namespace v8 961 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698