diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-18 11:01:53 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-18 13:00:49 -0700 |
commit | 634513d0c75e7d09a9c9055d4077d631e443ecb4 (patch) | |
tree | 179b5ed27c0894529d8c5218cf3bfa52007f6250 /system | |
parent | 95ddf96031ac23da02cf2f3fd6ea33558c0dc70f (diff) |
add vector.h
Diffstat (limited to 'system')
-rw-r--r-- | system/include/emscripten/vector.h | 6 |
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))); + |