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=--max_deoptimization_counter_threshold=1000 --optimization-counter-
threshold=10 --no-background-compilation | 4 // VMOptions=--max_deoptimization_counter_threshold=1000 --optimization-counter-
threshold=10 --no-background-compilation |
| 5 // VMOptions=--no-intrinsify |
5 | 6 |
6 // Library tag to be able to run in html test framework. | 7 // Library tag to be able to run in html test framework. |
7 library float32x4_test; | 8 library float32x4_test; |
8 | 9 |
9 import 'dart:typed_data'; | 10 import 'dart:typed_data'; |
10 import "package:expect/expect.dart"; | 11 import "package:expect/expect.dart"; |
11 | 12 |
12 testAdd() { | 13 testAdd() { |
13 var m = new Float32x4(-1.0, -2.0, -3.0, -4.0); | 14 var m = new Float32x4(-1.0, -2.0, -3.0, -4.0); |
14 var n = new Float32x4(1.0, 2.0, 3.0, 4.0); | 15 var n = new Float32x4(1.0, 2.0, 3.0, 4.0); |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 testAbs(); | 520 testAbs(); |
520 testMin(); | 521 testMin(); |
521 testMax(); | 522 testMax(); |
522 testSqrt(); | 523 testSqrt(); |
523 testReciprocal(); | 524 testReciprocal(); |
524 testReciprocalSqrt(); | 525 testReciprocalSqrt(); |
525 testBadArguments(); | 526 testBadArguments(); |
526 testSpecialValues(); | 527 testSpecialValues(); |
527 } | 528 } |
528 } | 529 } |
OLD | NEW |