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

Unified Diff: runtime/lib/typed_data.dart

Issue 51373004: SIMD shuffle API changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: runtime/lib/typed_data.dart
diff --git a/runtime/lib/typed_data.dart b/runtime/lib/typed_data.dart
index c1e41c9891cba07576789b4cc66d1742bd90ce70..1b6e5d34c3c844b0c4285f20c2f4802d30b8c5a5 100644
--- a/runtime/lib/typed_data.dart
+++ b/runtime/lib/typed_data.dart
@@ -2027,14 +2027,7 @@ class _Float32x4 implements Float32x4 {
int get signMask native "Float32x4_getSignMask";
Float32x4 shuffle(int mask) native "Float32x4_shuffle";
-
- Float32x4 withZWInXY(Float32x4 other) native "Float32x4_withZWInXY";
- Float32x4 interleaveXY(Float32x4 other) native "Float32x4_interleaveXY";
- Float32x4 interleaveZW(Float32x4 other) native "Float32x4_interleaveZW";
- Float32x4 interleaveXYPairs(Float32x4 other)
- native "Float32x4_interleaveXYPairs";
- Float32x4 interleaveZWPairs(Float32x4 other)
- native "Float32x4_interleaveZWPairs";
+ Float32x4 shuffleMix(Float32x4 zw, int mask) native "Float32x4_shuffleMix";
Float32x4 withX(double x) native "Float32x4_setX";
Float32x4 withY(double y) native "Float32x4_setY";
@@ -2095,6 +2088,8 @@ class _Uint32x4 implements Uint32x4 {
int get z native "Uint32x4_getZ";
int get w native "Uint32x4_getW";
int get signMask native "Uint32x4_getSignMask";
+ Uint32x4 shuffle(int mask) native "Uint32x4_shuffle";
+ Uint32x4 shuffleMix(Uint32x4 zw, int mask) native "Uint32x4_shuffleMix";
Uint32x4 withX(int x) native "Uint32x4_setX";
Uint32x4 withY(int y) native "Uint32x4_setY";
Uint32x4 withZ(int z) native "Uint32x4_setZ";

Powered by Google App Engine
This is Rietveld 408576698