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

Unified Diff: test/cctest/test-assembler-arm.cc

Issue 654653004: [arm] Drop SMMLS support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/base/bits.cc ('k') | test/cctest/test-disasm-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-arm.cc
diff --git a/test/cctest/test-assembler-arm.cc b/test/cctest/test-assembler-arm.cc
index f19d68cb5efe2103a57f6543119d32ec9bba53cb..8c1a4d9410d9927dffac56645c3263ec39026eea 100644
--- a/test/cctest/test-assembler-arm.cc
+++ b/test/cctest/test-assembler-arm.cc
@@ -1524,32 +1524,6 @@ TEST(smmla) {
}
-TEST(smmls) {
- CcTest::InitializeVM();
- Isolate* const isolate = CcTest::i_isolate();
- HandleScope scope(isolate);
- RandomNumberGenerator* const rng = isolate->random_number_generator();
- Assembler assm(isolate, nullptr, 0);
- __ smmls(r1, r1, r2, r3);
- __ str(r1, MemOperand(r0));
- __ bx(lr);
- CodeDesc desc;
- assm.GetCode(&desc);
- Handle<Code> code = isolate->factory()->NewCode(
- desc, Code::ComputeFlags(Code::STUB), Handle<Code>());
-#ifdef OBJECT_PRINT
- code->Print(std::cout);
-#endif
- F3 f = FUNCTION_CAST<F3>(code->entry());
- for (size_t i = 0; i < 128; ++i) {
- int32_t r, x = rng->NextInt(), y = rng->NextInt(), z = rng->NextInt();
- Object* dummy = CALL_GENERATED_CODE(f, &r, x, y, z, 0);
- CHECK_EQ(bits::SignedMulHighAndSub32(x, y, z), r);
- USE(dummy);
- }
-}
-
-
TEST(smmul) {
CcTest::InitializeVM();
Isolate* const isolate = CcTest::i_isolate();
« no previous file with comments | « src/base/bits.cc ('k') | test/cctest/test-disasm-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698