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

Side by Side Diff: test/unittests/compiler/node-test-utils.cc

Issue 1807273002: [wasm] Int64Lowering of Int64Mul on ia32 and arm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-phi
Patch Set: Forgot to add the visit functions on mips, ppc, and x87. Created 4 years, 9 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 "test/unittests/compiler/node-test-utils.h" 5 #include "test/unittests/compiler/node-test-utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 2164 matching lines...) Expand 10 before | Expand all | Expand 10 after
2175 #define IS_QUADOP_MATCHER(Name) \ 2175 #define IS_QUADOP_MATCHER(Name) \
2176 Matcher<Node*> Is##Name( \ 2176 Matcher<Node*> Is##Name( \
2177 const Matcher<Node*>& a_matcher, const Matcher<Node*>& b_matcher, \ 2177 const Matcher<Node*>& a_matcher, const Matcher<Node*>& b_matcher, \
2178 const Matcher<Node*>& c_matcher, const Matcher<Node*>& d_matcher) { \ 2178 const Matcher<Node*>& c_matcher, const Matcher<Node*>& d_matcher) { \
2179 return MakeMatcher(new IsQuadopMatcher(IrOpcode::k##Name, a_matcher, \ 2179 return MakeMatcher(new IsQuadopMatcher(IrOpcode::k##Name, a_matcher, \
2180 b_matcher, c_matcher, d_matcher)); \ 2180 b_matcher, c_matcher, d_matcher)); \
2181 } 2181 }
2182 2182
2183 IS_QUADOP_MATCHER(Int32PairAdd) 2183 IS_QUADOP_MATCHER(Int32PairAdd)
2184 IS_QUADOP_MATCHER(Int32PairSub) 2184 IS_QUADOP_MATCHER(Int32PairSub)
2185 IS_QUADOP_MATCHER(Int32PairMul)
2185 2186
2186 #define IS_TERNOP_MATCHER(Name) \ 2187 #define IS_TERNOP_MATCHER(Name) \
2187 Matcher<Node*> Is##Name(const Matcher<Node*>& lhs_matcher, \ 2188 Matcher<Node*> Is##Name(const Matcher<Node*>& lhs_matcher, \
2188 const Matcher<Node*>& mid_matcher, \ 2189 const Matcher<Node*>& mid_matcher, \
2189 const Matcher<Node*>& rhs_matcher) { \ 2190 const Matcher<Node*>& rhs_matcher) { \
2190 return MakeMatcher(new IsTernopMatcher(IrOpcode::k##Name, lhs_matcher, \ 2191 return MakeMatcher(new IsTernopMatcher(IrOpcode::k##Name, lhs_matcher, \
2191 mid_matcher, rhs_matcher)); \ 2192 mid_matcher, rhs_matcher)); \
2192 } 2193 }
2193 2194
2194 IS_TERNOP_MATCHER(Word32PairShl) 2195 IS_TERNOP_MATCHER(Word32PairShl)
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
2272 IS_UNOP_MATCHER(ObjectIsReceiver) 2273 IS_UNOP_MATCHER(ObjectIsReceiver)
2273 IS_UNOP_MATCHER(ObjectIsSmi) 2274 IS_UNOP_MATCHER(ObjectIsSmi)
2274 IS_UNOP_MATCHER(Word32Clz) 2275 IS_UNOP_MATCHER(Word32Clz)
2275 IS_UNOP_MATCHER(Word32Ctz) 2276 IS_UNOP_MATCHER(Word32Ctz)
2276 IS_UNOP_MATCHER(Word32Popcnt) 2277 IS_UNOP_MATCHER(Word32Popcnt)
2277 #undef IS_UNOP_MATCHER 2278 #undef IS_UNOP_MATCHER
2278 2279
2279 } // namespace compiler 2280 } // namespace compiler
2280 } // namespace internal 2281 } // namespace internal
2281 } // namespace v8 2282 } // namespace v8
OLDNEW
« src/compiler/arm/code-generator-arm.cc ('K') | « test/unittests/compiler/node-test-utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698