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

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

Issue 1698483002: [arm][arm64] Improve CountTrailingZero implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 4 years, 10 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/wasm-compiler.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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 case IrOpcode::kWord32And: 834 case IrOpcode::kWord32And:
835 case IrOpcode::kWord32Or: 835 case IrOpcode::kWord32Or:
836 case IrOpcode::kWord32Xor: 836 case IrOpcode::kWord32Xor:
837 case IrOpcode::kWord32Shl: 837 case IrOpcode::kWord32Shl:
838 case IrOpcode::kWord32Shr: 838 case IrOpcode::kWord32Shr:
839 case IrOpcode::kWord32Sar: 839 case IrOpcode::kWord32Sar:
840 case IrOpcode::kWord32Ror: 840 case IrOpcode::kWord32Ror:
841 case IrOpcode::kWord32Equal: 841 case IrOpcode::kWord32Equal:
842 case IrOpcode::kWord32Clz: 842 case IrOpcode::kWord32Clz:
843 case IrOpcode::kWord32Ctz: 843 case IrOpcode::kWord32Ctz:
844 case IrOpcode::kWord32ReverseBits:
844 case IrOpcode::kWord32Popcnt: 845 case IrOpcode::kWord32Popcnt:
845 case IrOpcode::kWord64And: 846 case IrOpcode::kWord64And:
846 case IrOpcode::kWord64Or: 847 case IrOpcode::kWord64Or:
847 case IrOpcode::kWord64Xor: 848 case IrOpcode::kWord64Xor:
848 case IrOpcode::kWord64Shl: 849 case IrOpcode::kWord64Shl:
849 case IrOpcode::kWord64Shr: 850 case IrOpcode::kWord64Shr:
850 case IrOpcode::kWord64Sar: 851 case IrOpcode::kWord64Sar:
851 case IrOpcode::kWord64Ror: 852 case IrOpcode::kWord64Ror:
852 case IrOpcode::kWord64Clz: 853 case IrOpcode::kWord64Clz:
853 case IrOpcode::kWord64Popcnt: 854 case IrOpcode::kWord64Popcnt:
854 case IrOpcode::kWord64Ctz: 855 case IrOpcode::kWord64Ctz:
856 case IrOpcode::kWord64ReverseBits:
855 case IrOpcode::kWord64Equal: 857 case IrOpcode::kWord64Equal:
856 case IrOpcode::kInt32Add: 858 case IrOpcode::kInt32Add:
857 case IrOpcode::kInt32AddWithOverflow: 859 case IrOpcode::kInt32AddWithOverflow:
858 case IrOpcode::kInt32Sub: 860 case IrOpcode::kInt32Sub:
859 case IrOpcode::kInt32SubWithOverflow: 861 case IrOpcode::kInt32SubWithOverflow:
860 case IrOpcode::kInt32Mul: 862 case IrOpcode::kInt32Mul:
861 case IrOpcode::kInt32MulHigh: 863 case IrOpcode::kInt32MulHigh:
862 case IrOpcode::kInt32Div: 864 case IrOpcode::kInt32Div:
863 case IrOpcode::kInt32Mod: 865 case IrOpcode::kInt32Mod:
864 case IrOpcode::kInt32LessThan: 866 case IrOpcode::kInt32LessThan:
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 replacement->op()->EffectOutputCount() > 0); 1272 replacement->op()->EffectOutputCount() > 0);
1271 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1273 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1272 replacement->opcode() == IrOpcode::kFrameState); 1274 replacement->opcode() == IrOpcode::kFrameState);
1273 } 1275 }
1274 1276
1275 #endif // DEBUG 1277 #endif // DEBUG
1276 1278
1277 } // namespace compiler 1279 } // namespace compiler
1278 } // namespace internal 1280 } // namespace internal
1279 } // namespace v8 1281 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698