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

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: Add unittest. Created 6 years, 2 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/typer.cc ('k') | src/compiler/x64/instruction-selector-x64.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/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <deque> 7 #include <deque>
8 #include <queue> 8 #include <queue>
9 #include <sstream> 9 #include <sstream>
10 #include <string> 10 #include <string>
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 case IrOpcode::kInt64LessThanOrEqual: 695 case IrOpcode::kInt64LessThanOrEqual:
696 case IrOpcode::kUint64Div: 696 case IrOpcode::kUint64Div:
697 case IrOpcode::kUint64Mod: 697 case IrOpcode::kUint64Mod:
698 case IrOpcode::kUint64LessThan: 698 case IrOpcode::kUint64LessThan:
699 case IrOpcode::kFloat64Add: 699 case IrOpcode::kFloat64Add:
700 case IrOpcode::kFloat64Sub: 700 case IrOpcode::kFloat64Sub:
701 case IrOpcode::kFloat64Mul: 701 case IrOpcode::kFloat64Mul:
702 case IrOpcode::kFloat64Div: 702 case IrOpcode::kFloat64Div:
703 case IrOpcode::kFloat64Mod: 703 case IrOpcode::kFloat64Mod:
704 case IrOpcode::kFloat64Sqrt: 704 case IrOpcode::kFloat64Sqrt:
705 case IrOpcode::kFloat64Floor:
706 case IrOpcode::kFloat64Ceil:
707 case IrOpcode::kFloat64RoundTruncate:
708 case IrOpcode::kFloat64RoundTiesAway:
705 case IrOpcode::kFloat64Equal: 709 case IrOpcode::kFloat64Equal:
706 case IrOpcode::kFloat64LessThan: 710 case IrOpcode::kFloat64LessThan:
707 case IrOpcode::kFloat64LessThanOrEqual: 711 case IrOpcode::kFloat64LessThanOrEqual:
708 case IrOpcode::kTruncateInt64ToInt32: 712 case IrOpcode::kTruncateInt64ToInt32:
709 case IrOpcode::kTruncateFloat64ToFloat32: 713 case IrOpcode::kTruncateFloat64ToFloat32:
710 case IrOpcode::kTruncateFloat64ToInt32: 714 case IrOpcode::kTruncateFloat64ToInt32:
711 case IrOpcode::kChangeInt32ToInt64: 715 case IrOpcode::kChangeInt32ToInt64:
712 case IrOpcode::kChangeUint32ToUint64: 716 case IrOpcode::kChangeUint32ToUint64:
713 case IrOpcode::kChangeInt32ToFloat64: 717 case IrOpcode::kChangeInt32ToFloat64:
714 case IrOpcode::kChangeUint32ToFloat64: 718 case IrOpcode::kChangeUint32ToFloat64:
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 // Check inputs for all nodes in the block. 970 // Check inputs for all nodes in the block.
967 for (size_t i = 0; i < block->NodeCount(); i++) { 971 for (size_t i = 0; i < block->NodeCount(); i++) {
968 Node* node = block->NodeAt(i); 972 Node* node = block->NodeAt(i);
969 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); 973 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1);
970 } 974 }
971 } 975 }
972 } 976 }
973 } 977 }
974 } 978 }
975 } // namespace v8::internal::compiler 979 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698