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

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, 1 month 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
« no previous file with comments | « runtime/lib/simd128.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/typed_data.dart
diff --git a/runtime/lib/typed_data.dart b/runtime/lib/typed_data.dart
index 2c1123a61435b6ce2d1929bcdec8c74d1d76138a..27a41f523d9deb2dc1238300fe65ea87516d22dc 100644
--- a/runtime/lib/typed_data.dart
+++ b/runtime/lib/typed_data.dart
@@ -2168,14 +2168,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";
@@ -2236,6 +2229,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";
« no previous file with comments | « runtime/lib/simd128.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698