aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/include/emscripten/vector.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/include/emscripten/vector.h b/system/include/emscripten/vector.h
new file mode 100644
index 00000000..ea148f0d
--- /dev/null
+++ b/system/include/emscripten/vector.h
@@ -0,0 +1,6 @@
+
+// Support for the JS SIMD API proposal, https://github.com/johnmccutchan/ecmascript_simd
+
+typedef float float32x4 __attribute__((__vector_size__(16)));
+typedef unsigned int uint32x4 __attribute__((__vector_size__(16)));
+