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

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

Issue 1768233002: [wasm] Int64Lowering of I64ShrU and I64ShrS on ia32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. 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
« no previous file with comments | « test/unittests/compiler/node-test-utils.h ('k') | no next file » | 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 "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 2095 matching lines...) Expand 10 before | Expand all | Expand 10 after
2106 2106
2107 #define IS_TERNOP_MATCHER(Name) \ 2107 #define IS_TERNOP_MATCHER(Name) \
2108 Matcher<Node*> Is##Name(const Matcher<Node*>& lhs_matcher, \ 2108 Matcher<Node*> Is##Name(const Matcher<Node*>& lhs_matcher, \
2109 const Matcher<Node*>& mid_matcher, \ 2109 const Matcher<Node*>& mid_matcher, \
2110 const Matcher<Node*>& rhs_matcher) { \ 2110 const Matcher<Node*>& rhs_matcher) { \
2111 return MakeMatcher(new IsTernopMatcher(IrOpcode::k##Name, lhs_matcher, \ 2111 return MakeMatcher(new IsTernopMatcher(IrOpcode::k##Name, lhs_matcher, \
2112 mid_matcher, rhs_matcher)); \ 2112 mid_matcher, rhs_matcher)); \
2113 } 2113 }
2114 2114
2115 IS_TERNOP_MATCHER(Word32PairShl) 2115 IS_TERNOP_MATCHER(Word32PairShl)
2116 IS_TERNOP_MATCHER(Word32PairShr)
2117 IS_TERNOP_MATCHER(Word32PairSar)
2116 2118
2117 #define IS_BINOP_MATCHER(Name) \ 2119 #define IS_BINOP_MATCHER(Name) \
2118 Matcher<Node*> Is##Name(const Matcher<Node*>& lhs_matcher, \ 2120 Matcher<Node*> Is##Name(const Matcher<Node*>& lhs_matcher, \
2119 const Matcher<Node*>& rhs_matcher) { \ 2121 const Matcher<Node*>& rhs_matcher) { \
2120 return MakeMatcher( \ 2122 return MakeMatcher( \
2121 new IsBinopMatcher(IrOpcode::k##Name, lhs_matcher, rhs_matcher)); \ 2123 new IsBinopMatcher(IrOpcode::k##Name, lhs_matcher, rhs_matcher)); \
2122 } 2124 }
2123 IS_BINOP_MATCHER(NumberEqual) 2125 IS_BINOP_MATCHER(NumberEqual)
2124 IS_BINOP_MATCHER(NumberLessThan) 2126 IS_BINOP_MATCHER(NumberLessThan)
2125 IS_BINOP_MATCHER(NumberSubtract) 2127 IS_BINOP_MATCHER(NumberSubtract)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
2189 IS_UNOP_MATCHER(NumberToInt32) 2191 IS_UNOP_MATCHER(NumberToInt32)
2190 IS_UNOP_MATCHER(NumberToUint32) 2192 IS_UNOP_MATCHER(NumberToUint32)
2191 IS_UNOP_MATCHER(ObjectIsReceiver) 2193 IS_UNOP_MATCHER(ObjectIsReceiver)
2192 IS_UNOP_MATCHER(ObjectIsSmi) 2194 IS_UNOP_MATCHER(ObjectIsSmi)
2193 IS_UNOP_MATCHER(Word32Clz) 2195 IS_UNOP_MATCHER(Word32Clz)
2194 #undef IS_UNOP_MATCHER 2196 #undef IS_UNOP_MATCHER
2195 2197
2196 } // namespace compiler 2198 } // namespace compiler
2197 } // namespace internal 2199 } // namespace internal
2198 } // namespace v8 2200 } // namespace v8
OLDNEW
« no previous file with comments | « 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