| 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=--optimization-counter-threshold=10 | 4 // VMOptions=--optimization-counter-threshold=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_shuffle_test; | 7 library uint32x4_shuffle_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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 main() { | 50 main() { |
| 51 var xxxx = Int32x4.XXXX + 1; | 51 var xxxx = Int32x4.XXXX + 1; |
| 52 var yyyy = Int32x4.YYYY + 1; | 52 var yyyy = Int32x4.YYYY + 1; |
| 53 for (int i = 0; i < 20; i++) { | 53 for (int i = 0; i < 20; i++) { |
| 54 testShuffle(); | 54 testShuffle(); |
| 55 testShuffleNonConstant(xxxx); | 55 testShuffleNonConstant(xxxx); |
| 56 testShuffleNonConstant(yyyy); | 56 testShuffleNonConstant(yyyy); |
| 57 testShuffleMix(); | 57 testShuffleMix(); |
| 58 } | 58 } |
| 59 } | 59 } |
| OLD | NEW |