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

Side by Side Diff: tests/lib/typed_data/float32x4_test.dart

Issue 2947783002: Avoid unaligned access fault in Int32x4/Float32x4::value() on ARM. (Closed)
Patch Set: . Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/object.cc ('k') | tests/lib/typed_data/float64x2_functional_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | tests/lib/typed_data/float64x2_functional_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698