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

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

Issue 2045943002: [compiler] [wasm] Introduce Word32/64ReverseBytes as TF Optional Opcode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: update on store and some optimization on load 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
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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 case IrOpcode::kWord32Or: 951 case IrOpcode::kWord32Or:
952 case IrOpcode::kWord32Xor: 952 case IrOpcode::kWord32Xor:
953 case IrOpcode::kWord32Shl: 953 case IrOpcode::kWord32Shl:
954 case IrOpcode::kWord32Shr: 954 case IrOpcode::kWord32Shr:
955 case IrOpcode::kWord32Sar: 955 case IrOpcode::kWord32Sar:
956 case IrOpcode::kWord32Ror: 956 case IrOpcode::kWord32Ror:
957 case IrOpcode::kWord32Equal: 957 case IrOpcode::kWord32Equal:
958 case IrOpcode::kWord32Clz: 958 case IrOpcode::kWord32Clz:
959 case IrOpcode::kWord32Ctz: 959 case IrOpcode::kWord32Ctz:
960 case IrOpcode::kWord32ReverseBits: 960 case IrOpcode::kWord32ReverseBits:
961 case IrOpcode::kWord16ReverseBytes:
962 case IrOpcode::kWord32ReverseBytes:
961 case IrOpcode::kWord32Popcnt: 963 case IrOpcode::kWord32Popcnt:
962 case IrOpcode::kWord64And: 964 case IrOpcode::kWord64And:
963 case IrOpcode::kWord64Or: 965 case IrOpcode::kWord64Or:
964 case IrOpcode::kWord64Xor: 966 case IrOpcode::kWord64Xor:
965 case IrOpcode::kWord64Shl: 967 case IrOpcode::kWord64Shl:
966 case IrOpcode::kWord64Shr: 968 case IrOpcode::kWord64Shr:
967 case IrOpcode::kWord64Sar: 969 case IrOpcode::kWord64Sar:
968 case IrOpcode::kWord64Ror: 970 case IrOpcode::kWord64Ror:
969 case IrOpcode::kWord64Clz: 971 case IrOpcode::kWord64Clz:
970 case IrOpcode::kWord64Popcnt: 972 case IrOpcode::kWord64Popcnt:
971 case IrOpcode::kWord64Ctz: 973 case IrOpcode::kWord64Ctz:
972 case IrOpcode::kWord64ReverseBits: 974 case IrOpcode::kWord64ReverseBits:
975 case IrOpcode::kWord64ReverseBytes:
973 case IrOpcode::kWord64Equal: 976 case IrOpcode::kWord64Equal:
974 case IrOpcode::kInt32Add: 977 case IrOpcode::kInt32Add:
975 case IrOpcode::kInt32AddWithOverflow: 978 case IrOpcode::kInt32AddWithOverflow:
976 case IrOpcode::kInt32Sub: 979 case IrOpcode::kInt32Sub:
977 case IrOpcode::kInt32SubWithOverflow: 980 case IrOpcode::kInt32SubWithOverflow:
978 case IrOpcode::kInt32Mul: 981 case IrOpcode::kInt32Mul:
979 case IrOpcode::kInt32MulHigh: 982 case IrOpcode::kInt32MulHigh:
980 case IrOpcode::kInt32Div: 983 case IrOpcode::kInt32Div:
981 case IrOpcode::kInt32Mod: 984 case IrOpcode::kInt32Mod:
982 case IrOpcode::kInt32LessThan: 985 case IrOpcode::kInt32LessThan:
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 replacement->op()->EffectOutputCount() > 0); 1412 replacement->op()->EffectOutputCount() > 0);
1410 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1413 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1411 replacement->opcode() == IrOpcode::kFrameState); 1414 replacement->opcode() == IrOpcode::kFrameState);
1412 } 1415 }
1413 1416
1414 #endif // DEBUG 1417 #endif // DEBUG
1415 1418
1416 } // namespace compiler 1419 } // namespace compiler
1417 } // namespace internal 1420 } // namespace internal
1418 } // namespace v8 1421 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698