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

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

Issue 1440293002: [turbofan] Added the optional Float64RoundTiesEven operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f64roundup
Patch Set: Disabled F64RoundTiesEven 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 2234 matching lines...) Expand 10 before | Expand all | Expand 10 after
2245 return Type::Number(); 2245 return Type::Number();
2246 } 2246 }
2247 2247
2248 2248
2249 Type* Typer::Visitor::TypeFloat64RoundTiesAway(Node* node) { 2249 Type* Typer::Visitor::TypeFloat64RoundTiesAway(Node* node) {
2250 // TODO(sigurds): We could have a tighter bound here. 2250 // TODO(sigurds): We could have a tighter bound here.
2251 return Type::Number(); 2251 return Type::Number();
2252 } 2252 }
2253 2253
2254 2254
2255 Type* Typer::Visitor::TypeFloat64RoundTiesEven(Node* node) {
2256 // TODO(sigurds): We could have a tighter bound here.
2257 return Type::Number();
2258 }
2259
2260
2255 Type* Typer::Visitor::TypeFloat64ExtractLowWord32(Node* node) { 2261 Type* Typer::Visitor::TypeFloat64ExtractLowWord32(Node* node) {
2256 return Type::Signed32(); 2262 return Type::Signed32();
2257 } 2263 }
2258 2264
2259 2265
2260 Type* Typer::Visitor::TypeFloat64ExtractHighWord32(Node* node) { 2266 Type* Typer::Visitor::TypeFloat64ExtractHighWord32(Node* node) {
2261 return Type::Signed32(); 2267 return Type::Signed32();
2262 } 2268 }
2263 2269
2264 2270
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2306 } 2312 }
2307 if (Type::IsInteger(*value)) { 2313 if (Type::IsInteger(*value)) {
2308 return Type::Range(value->Number(), value->Number(), zone()); 2314 return Type::Range(value->Number(), value->Number(), zone());
2309 } 2315 }
2310 return Type::Constant(value, zone()); 2316 return Type::Constant(value, zone());
2311 } 2317 }
2312 2318
2313 } // namespace compiler 2319 } // namespace compiler
2314 } // namespace internal 2320 } // namespace internal
2315 } // namespace v8 2321 } // 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