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

Side by Side Diff: src/compiler/typer.cc

Issue 1444583002: [turbofan] Added the optional Float64RoundUp operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed the implementation of VisitFloat32RoundUp on mips32 Created 5 years, 1 month 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/compiler/raw-machine-assembler.h ('k') | src/compiler/verifier.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/typer.h" 5 #include "src/compiler/typer.h"
6 6
7 #include "src/base/flags.h" 7 #include "src/base/flags.h"
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/compilation-dependencies.h" 9 #include "src/compilation-dependencies.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 2216 matching lines...) Expand 10 before | Expand all | Expand 10 after
2227 return Type::Boolean(); 2227 return Type::Boolean();
2228 } 2228 }
2229 2229
2230 2230
2231 Type* Typer::Visitor::TypeFloat64RoundDown(Node* node) { 2231 Type* Typer::Visitor::TypeFloat64RoundDown(Node* node) {
2232 // TODO(sigurds): We could have a tighter bound here. 2232 // TODO(sigurds): We could have a tighter bound here.
2233 return Type::Number(); 2233 return Type::Number();
2234 } 2234 }
2235 2235
2236 2236
2237 Type* Typer::Visitor::TypeFloat64RoundUp(Node* node) {
2238 // TODO(sigurds): We could have a tighter bound here.
2239 return Type::Number();
2240 }
2241
2242
2237 Type* Typer::Visitor::TypeFloat64RoundTruncate(Node* node) { 2243 Type* Typer::Visitor::TypeFloat64RoundTruncate(Node* node) {
2238 // TODO(sigurds): We could have a tighter bound here. 2244 // TODO(sigurds): We could have a tighter bound here.
2239 return Type::Number(); 2245 return Type::Number();
2240 } 2246 }
2241 2247
2242 2248
2243 Type* Typer::Visitor::TypeFloat64RoundTiesAway(Node* node) { 2249 Type* Typer::Visitor::TypeFloat64RoundTiesAway(Node* node) {
2244 // TODO(sigurds): We could have a tighter bound here. 2250 // TODO(sigurds): We could have a tighter bound here.
2245 return Type::Number(); 2251 return Type::Number();
2246 } 2252 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
2300 } 2306 }
2301 if (Type::IsInteger(*value)) { 2307 if (Type::IsInteger(*value)) {
2302 return Type::Range(value->Number(), value->Number(), zone()); 2308 return Type::Range(value->Number(), value->Number(), zone());
2303 } 2309 }
2304 return Type::Constant(value, zone()); 2310 return Type::Constant(value, zone());
2305 } 2311 }
2306 2312
2307 } // namespace compiler 2313 } // namespace compiler
2308 } // namespace internal 2314 } // namespace internal
2309 } // namespace v8 2315 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/raw-machine-assembler.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698