summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_7/SIMD/load-int16x8.js
blob: a8b90ca1586a580f82be48b6af9fc43361532760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);