summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_7/SIMD/load-int8x16.js
blob: cb6c24285fd3ee1e092faf718b750b91e4d4fdea (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('Int8x16', new Int8Array(SIZE_8_ARRAY));

if (typeof SharedArrayBuffer != "undefined") {
    testLoad('Int8x16', new Int8Array(new SharedArrayBuffer(SIZE_8_ARRAY)));
}

if (typeof reportCompare === "function")
    reportCompare(true, true);