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

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

Issue 2011303002: [arm] [arm64] Add optional operators Float32Neg and Float64Neg. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/compiler/s390/instruction-selector-s390.cc ('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 2345 matching lines...) Expand 10 before | Expand all | Expand 10 after
2356 2356
2357 Type* Typer::Visitor::TypeFloat32Add(Node* node) { return Type::Number(); } 2357 Type* Typer::Visitor::TypeFloat32Add(Node* node) { return Type::Number(); }
2358 2358
2359 2359
2360 Type* Typer::Visitor::TypeFloat32Sub(Node* node) { return Type::Number(); } 2360 Type* Typer::Visitor::TypeFloat32Sub(Node* node) { return Type::Number(); }
2361 2361
2362 Type* Typer::Visitor::TypeFloat32SubPreserveNan(Node* node) { 2362 Type* Typer::Visitor::TypeFloat32SubPreserveNan(Node* node) {
2363 return Type::Number(); 2363 return Type::Number();
2364 } 2364 }
2365 2365
2366 Type* Typer::Visitor::TypeFloat32Neg(Node* node) { return Type::Number(); }
2367
2366 Type* Typer::Visitor::TypeFloat32Mul(Node* node) { return Type::Number(); } 2368 Type* Typer::Visitor::TypeFloat32Mul(Node* node) { return Type::Number(); }
2367 2369
2368 2370
2369 Type* Typer::Visitor::TypeFloat32Div(Node* node) { return Type::Number(); } 2371 Type* Typer::Visitor::TypeFloat32Div(Node* node) { return Type::Number(); }
2370 2372
2371 2373
2372 Type* Typer::Visitor::TypeFloat32Max(Node* node) { return Type::Number(); } 2374 Type* Typer::Visitor::TypeFloat32Max(Node* node) { return Type::Number(); }
2373 2375
2374 2376
2375 Type* Typer::Visitor::TypeFloat32Min(Node* node) { return Type::Number(); } 2377 Type* Typer::Visitor::TypeFloat32Min(Node* node) { return Type::Number(); }
(...skipping 23 matching lines...) Expand all
2399 2401
2400 Type* Typer::Visitor::TypeFloat64Add(Node* node) { return Type::Number(); } 2402 Type* Typer::Visitor::TypeFloat64Add(Node* node) { return Type::Number(); }
2401 2403
2402 2404
2403 Type* Typer::Visitor::TypeFloat64Sub(Node* node) { return Type::Number(); } 2405 Type* Typer::Visitor::TypeFloat64Sub(Node* node) { return Type::Number(); }
2404 2406
2405 Type* Typer::Visitor::TypeFloat64SubPreserveNan(Node* node) { 2407 Type* Typer::Visitor::TypeFloat64SubPreserveNan(Node* node) {
2406 return Type::Number(); 2408 return Type::Number();
2407 } 2409 }
2408 2410
2411 Type* Typer::Visitor::TypeFloat64Neg(Node* node) { return Type::Number(); }
2412
2409 Type* Typer::Visitor::TypeFloat64Mul(Node* node) { return Type::Number(); } 2413 Type* Typer::Visitor::TypeFloat64Mul(Node* node) { return Type::Number(); }
2410 2414
2411 2415
2412 Type* Typer::Visitor::TypeFloat64Div(Node* node) { return Type::Number(); } 2416 Type* Typer::Visitor::TypeFloat64Div(Node* node) { return Type::Number(); }
2413 2417
2414 2418
2415 Type* Typer::Visitor::TypeFloat64Mod(Node* node) { return Type::Number(); } 2419 Type* Typer::Visitor::TypeFloat64Mod(Node* node) { return Type::Number(); }
2416 2420
2417 2421
2418 Type* Typer::Visitor::TypeFloat64Max(Node* node) { return Type::Number(); } 2422 Type* Typer::Visitor::TypeFloat64Max(Node* node) { return Type::Number(); }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
2588 } 2592 }
2589 if (Type::IsInteger(*value)) { 2593 if (Type::IsInteger(*value)) {
2590 return Type::Range(value->Number(), value->Number(), zone()); 2594 return Type::Range(value->Number(), value->Number(), zone());
2591 } 2595 }
2592 return Type::Constant(value, zone()); 2596 return Type::Constant(value, zone());
2593 } 2597 }
2594 2598
2595 } // namespace compiler 2599 } // namespace compiler
2596 } // namespace internal 2600 } // namespace internal
2597 } // namespace v8 2601 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/s390/instruction-selector-s390.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698