OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 // VMOptions=--deoptimization_counter_threshold=1000 --optimization-counter-thre
shold=10 | 4 // VMOptions=--deoptimization_counter_threshold=1000 --optimization-counter-thre
shold=10 |
5 | 5 |
6 // Library tag to be able to run in html test framework. | 6 // Library tag to be able to run in html test framework. |
7 library uint32x4_arithmetic_test; | 7 library uint32x4_arithmetic_test; |
8 | 8 |
9 import "package:expect/expect.dart"; | 9 import "package:expect/expect.dart"; |
10 import 'dart:typed_data'; | 10 import 'dart:typed_data'; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 Expect.equals(1, o.z); | 90 Expect.equals(1, o.z); |
91 Expect.equals(1, o.w); | 91 Expect.equals(1, o.w); |
92 } | 92 } |
93 | 93 |
94 main() { | 94 main() { |
95 for (int i = 0; i < 20; i++) { | 95 for (int i = 0; i < 20; i++) { |
96 testAdd(); | 96 testAdd(); |
97 testSub(); | 97 testSub(); |
98 } | 98 } |
99 } | 99 } |
OLD | NEW |