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

Unified Diff: tests/lib/typed_data/float32x4_list_test.dart

Issue 19779006: Enables more SIMD tests for ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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
Index: tests/lib/typed_data/float32x4_list_test.dart
===================================================================
--- tests/lib/typed_data/float32x4_list_test.dart (revision 25189)
+++ tests/lib/typed_data/float32x4_list_test.dart (working copy)
@@ -1,7 +1,7 @@
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// VMOptions=--deoptimization_counter_threshold=1000
+// VMOptions=--deoptimization_counter_threshold=1000 --optimization-counter-threshold=10
// Library tag to be able to run in html test framework.
library float32x4_list_test;
@@ -40,49 +40,49 @@
testLoadStoreDeoptDriver() {
Float32x4List list = new Float32x4List(4);
Float32x4 value = new Float32x4(1.0, 2.0, 3.0, 4.0);
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testLoadStoreDeopt(list, 0, value);
}
try {
// Invalid index.
testLoadStoreDeopt(list, 5, value);
} catch (_) {}
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testLoadStoreDeopt(list, 0, value);
}
try {
// null list.
testLoadStoreDeopt(null, 0, value);
} catch (_) {}
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testLoadStoreDeopt(list, 0, value);
}
try {
// null value.
testLoadStoreDeopt(list, 0, null);
} catch (_) {}
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testLoadStoreDeopt(list, 0, value);
}
try {
// non-smi index.
testLoadStoreDeopt(list, 3.14159, value);
} catch (_) {}
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testLoadStoreDeopt(list, 0, value);
}
try {
// non-Float32x4 value.
testLoadStoreDeopt(list, 0, 4.toDouble());
} catch (_) {}
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testLoadStoreDeopt(list, 0, value);
}
try {
// non-Float32x4List list.
testLoadStoreDeopt([new Float32x4(2.0, 3.0, 4.0, 5.0)], 0, value);
} catch (_) {}
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testLoadStoreDeopt(list, 0, value);
}
}
@@ -112,7 +112,7 @@
var list;
list = new Float32x4List(8);
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testLoadStore(list);
}
@@ -121,13 +121,13 @@
floatList[i] = i.toDouble();
}
list = new Float32x4List.view(floatList);
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testView(list);
}
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testLoadStore(list);
}
- for (int i = 0; i < 3000; i++) {
+ for (int i = 0; i < 20; i++) {
testListZero();
}
testLoadStoreDeoptDriver();

Powered by Google App Engine
This is Rietveld 408576698