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

Side by Side Diff: test/unittests/compiler/js-operator-unittest.cc

Issue 1178363002: Vector ICs: Turbofan vector store ic support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix mips64 compile error. Created 5 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
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | test/unittests/compiler/js-typed-lowering-unittest.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/js-operator.h" 5 #include "src/compiler/js-operator.h"
6 #include "src/compiler/opcodes.h" 6 #include "src/compiler/opcodes.h"
7 #include "src/compiler/operator.h" 7 #include "src/compiler/operator.h"
8 #include "src/compiler/operator-properties.h" 8 #include "src/compiler/operator-properties.h"
9 #include "test/unittests/test-utils.h" 9 #include "test/unittests/test-utils.h"
10 10
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 SHARED(BitwiseXor, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 194 SHARED(BitwiseXor, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
195 SHARED(BitwiseAnd, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 195 SHARED(BitwiseAnd, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
196 SHARED(ShiftLeft, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 196 SHARED(ShiftLeft, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
197 SHARED(ShiftRight, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 197 SHARED(ShiftRight, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
198 SHARED(ShiftRightLogical, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 198 SHARED(ShiftRightLogical, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
199 SHARED(Add, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 199 SHARED(Add, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
200 SHARED(Subtract, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 200 SHARED(Subtract, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
201 SHARED(Multiply, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 201 SHARED(Multiply, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
202 SHARED(Divide, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 202 SHARED(Divide, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
203 SHARED(Modulus, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), 203 SHARED(Modulus, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2),
204 SHARED(StoreProperty, Operator::kNoProperties, 3, 2, 1, 1, 0, 1, 2),
205 #undef SHARED 204 #undef SHARED
206 }; 205 };
207 206
208 207
209 std::ostream& operator<<(std::ostream& os, 208 std::ostream& operator<<(std::ostream& os,
210 const SharedOperatorWithLanguageMode& sop) { 209 const SharedOperatorWithLanguageMode& sop) {
211 return os << IrOpcode::Mnemonic(sop.opcode); 210 return os << IrOpcode::Mnemonic(sop.opcode);
212 } 211 }
213 212
214 } // namespace 213 } // namespace
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 INSTANTIATE_TEST_CASE_P( 277 INSTANTIATE_TEST_CASE_P(
279 JSOperatorTest, JSSharedOperatorWithLanguageModeTest, 278 JSOperatorTest, JSSharedOperatorWithLanguageModeTest,
280 ::testing::Combine(::testing::ValuesIn(kLanguageModes), 279 ::testing::Combine(::testing::ValuesIn(kLanguageModes),
281 ::testing::ValuesIn(kSharedOperatorsWithLanguageMode))); 280 ::testing::ValuesIn(kSharedOperatorsWithLanguageMode)));
282 281
283 #endif // GTEST_HAS_COMBINE 282 #endif // GTEST_HAS_COMBINE
284 283
285 } // namespace compiler 284 } // namespace compiler
286 } // namespace internal 285 } // namespace internal
287 } // namespace v8 286 } // namespace v8
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | test/unittests/compiler/js-typed-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698