michael@0: if (typeof SIMD === "undefined") michael@0: quit(); michael@0: michael@0: var float32x4 = SIMD.float32x4; michael@0: var f = float32x4(11, 22, 33, 44); michael@0: assertEq(f.toSource(), "float32x4(11, 22, 33, 44)"); michael@0: michael@0: var int32x4 = SIMD.int32x4; michael@0: var f = int32x4(11, 22, 33, 44); michael@0: assertEq(f.toSource(), "int32x4(11, 22, 33, 44)");