diff options
Diffstat (limited to 'js/src/jit-test/tests/SIMD/bug1273483.js')
-rw-r--r-- | js/src/jit-test/tests/SIMD/bug1273483.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/SIMD/bug1273483.js b/js/src/jit-test/tests/SIMD/bug1273483.js new file mode 100644 index 000000000..3c9386b4f --- /dev/null +++ b/js/src/jit-test/tests/SIMD/bug1273483.js @@ -0,0 +1,9 @@ +if (typeof SIMD === 'undefined') + quit(); + +Int8x16 = SIMD.Int8x16; +var Int32x4 = SIMD.Int32x4; +function testSwizzleForType(type) type(); +testSwizzleForType(Int8x16); +function testSwizzleInt32x4() testSwizzleForType(Int32x4); +testSwizzleInt32x4(); |