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

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

Issue 668173002: Add Float64Round operator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Introduce several machine ops instead of round + mode param. Created 6 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 | Annotate | Revision Log
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/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <deque> 7 #include <deque>
8 #include <queue> 8 #include <queue>
9 9
10 #include "src/compiler/generic-algorithm.h" 10 #include "src/compiler/generic-algorithm.h"
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 case IrOpcode::kUint64LessThan: 641 case IrOpcode::kUint64LessThan:
642 case IrOpcode::kFloat64Add: 642 case IrOpcode::kFloat64Add:
643 case IrOpcode::kFloat64Sub: 643 case IrOpcode::kFloat64Sub:
644 case IrOpcode::kFloat64Mul: 644 case IrOpcode::kFloat64Mul:
645 case IrOpcode::kFloat64Div: 645 case IrOpcode::kFloat64Div:
646 case IrOpcode::kFloat64Mod: 646 case IrOpcode::kFloat64Mod:
647 case IrOpcode::kFloat64Sqrt: 647 case IrOpcode::kFloat64Sqrt:
648 case IrOpcode::kFloat64Equal: 648 case IrOpcode::kFloat64Equal:
649 case IrOpcode::kFloat64LessThan: 649 case IrOpcode::kFloat64LessThan:
650 case IrOpcode::kFloat64LessThanOrEqual: 650 case IrOpcode::kFloat64LessThanOrEqual:
651 case IrOpcode::kFloat64Floor:
652 case IrOpcode::kFloat64Ceil:
653 case IrOpcode::kFloat64RoundAwayFromZero:
654 case IrOpcode::kFloat64RoundToZero:
651 case IrOpcode::kTruncateInt64ToInt32: 655 case IrOpcode::kTruncateInt64ToInt32:
652 case IrOpcode::kTruncateFloat64ToFloat32: 656 case IrOpcode::kTruncateFloat64ToFloat32:
653 case IrOpcode::kTruncateFloat64ToInt32: 657 case IrOpcode::kTruncateFloat64ToInt32:
654 case IrOpcode::kChangeInt32ToInt64: 658 case IrOpcode::kChangeInt32ToInt64:
655 case IrOpcode::kChangeUint32ToUint64: 659 case IrOpcode::kChangeUint32ToUint64:
656 case IrOpcode::kChangeInt32ToFloat64: 660 case IrOpcode::kChangeInt32ToFloat64:
657 case IrOpcode::kChangeUint32ToFloat64: 661 case IrOpcode::kChangeUint32ToFloat64:
658 case IrOpcode::kChangeFloat32ToFloat64: 662 case IrOpcode::kChangeFloat32ToFloat64:
659 case IrOpcode::kChangeFloat64ToInt32: 663 case IrOpcode::kChangeFloat64ToInt32:
660 case IrOpcode::kChangeFloat64ToUint32: 664 case IrOpcode::kChangeFloat64ToUint32:
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 // Check inputs for all nodes in the block. 914 // Check inputs for all nodes in the block.
911 for (size_t i = 0; i < block->NodeCount(); i++) { 915 for (size_t i = 0; i < block->NodeCount(); i++) {
912 Node* node = block->NodeAt(i); 916 Node* node = block->NodeAt(i);
913 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); 917 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1);
914 } 918 }
915 } 919 }
916 } 920 }
917 } 921 }
918 } 922 }
919 } // namespace v8::internal::compiler 923 } // namespace v8::internal::compiler
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698