diff options
Diffstat (limited to 'js/src/tests/ecma_7/SIMD/load-int16x8.js')
-rw-r--r-- | js/src/tests/ecma_7/SIMD/load-int16x8.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/js/src/tests/ecma_7/SIMD/load-int16x8.js b/js/src/tests/ecma_7/SIMD/load-int16x8.js new file mode 100644 index 000000000..a8b90ca15 --- /dev/null +++ b/js/src/tests/ecma_7/SIMD/load-int16x8.js @@ -0,0 +1,17 @@ +// |reftest| skip-if(!this.hasOwnProperty("SIMD")) + +/* + * Any copyright is dedicated to the Public Domain. + * https://creativecommons.org/publicdomain/zero/1.0/ + */ + +var { testLoad } = Helpers; + +testLoad('Int16x8', new Int16Array(SIZE_16_ARRAY)); + +if (typeof SharedArrayBuffer != "undefined") { + testLoad('Int16x8', new Int16Array(new SharedArrayBuffer(SIZE_8_ARRAY))); +} + +if (typeof reportCompare === "function") + reportCompare(true, true); |