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

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

Issue 1066393002: [turbofan] Add new Float32Abs and Float64Abs operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 5 years, 8 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/typer.cc ('k') | src/compiler/x64/code-generator-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 <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 case IrOpcode::kInt64LessThanOrEqual: 786 case IrOpcode::kInt64LessThanOrEqual:
787 case IrOpcode::kUint64Div: 787 case IrOpcode::kUint64Div:
788 case IrOpcode::kUint64Mod: 788 case IrOpcode::kUint64Mod:
789 case IrOpcode::kUint64LessThan: 789 case IrOpcode::kUint64LessThan:
790 case IrOpcode::kFloat32Add: 790 case IrOpcode::kFloat32Add:
791 case IrOpcode::kFloat32Sub: 791 case IrOpcode::kFloat32Sub:
792 case IrOpcode::kFloat32Mul: 792 case IrOpcode::kFloat32Mul:
793 case IrOpcode::kFloat32Div: 793 case IrOpcode::kFloat32Div:
794 case IrOpcode::kFloat32Max: 794 case IrOpcode::kFloat32Max:
795 case IrOpcode::kFloat32Min: 795 case IrOpcode::kFloat32Min:
796 case IrOpcode::kFloat32Abs:
796 case IrOpcode::kFloat32Sqrt: 797 case IrOpcode::kFloat32Sqrt:
797 case IrOpcode::kFloat32Equal: 798 case IrOpcode::kFloat32Equal:
798 case IrOpcode::kFloat32LessThan: 799 case IrOpcode::kFloat32LessThan:
799 case IrOpcode::kFloat32LessThanOrEqual: 800 case IrOpcode::kFloat32LessThanOrEqual:
800 case IrOpcode::kFloat64Add: 801 case IrOpcode::kFloat64Add:
801 case IrOpcode::kFloat64Sub: 802 case IrOpcode::kFloat64Sub:
802 case IrOpcode::kFloat64Mul: 803 case IrOpcode::kFloat64Mul:
803 case IrOpcode::kFloat64Div: 804 case IrOpcode::kFloat64Div:
804 case IrOpcode::kFloat64Mod: 805 case IrOpcode::kFloat64Mod:
805 case IrOpcode::kFloat64Max: 806 case IrOpcode::kFloat64Max:
806 case IrOpcode::kFloat64Min: 807 case IrOpcode::kFloat64Min:
808 case IrOpcode::kFloat64Abs:
807 case IrOpcode::kFloat64Sqrt: 809 case IrOpcode::kFloat64Sqrt:
808 case IrOpcode::kFloat64RoundDown: 810 case IrOpcode::kFloat64RoundDown:
809 case IrOpcode::kFloat64RoundTruncate: 811 case IrOpcode::kFloat64RoundTruncate:
810 case IrOpcode::kFloat64RoundTiesAway: 812 case IrOpcode::kFloat64RoundTiesAway:
811 case IrOpcode::kFloat64Equal: 813 case IrOpcode::kFloat64Equal:
812 case IrOpcode::kFloat64LessThan: 814 case IrOpcode::kFloat64LessThan:
813 case IrOpcode::kFloat64LessThanOrEqual: 815 case IrOpcode::kFloat64LessThanOrEqual:
814 case IrOpcode::kTruncateInt64ToInt32: 816 case IrOpcode::kTruncateInt64ToInt32:
815 case IrOpcode::kTruncateFloat64ToFloat32: 817 case IrOpcode::kTruncateFloat64ToFloat32:
816 case IrOpcode::kTruncateFloat64ToInt32: 818 case IrOpcode::kTruncateFloat64ToInt32:
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 // Check inputs for all nodes in the block. 1091 // Check inputs for all nodes in the block.
1090 for (size_t i = 0; i < block->NodeCount(); i++) { 1092 for (size_t i = 0; i < block->NodeCount(); i++) {
1091 Node* node = block->NodeAt(i); 1093 Node* node = block->NodeAt(i);
1092 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); 1094 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1);
1093 } 1095 }
1094 } 1096 }
1095 } 1097 }
1096 } 1098 }
1097 } 1099 }
1098 } // namespace v8::internal::compiler 1100 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698