You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
<p>This definition uses `<=` to refer to the abstract operation defined by <ahref="http://www.ecma-international.org/ecma-262/6.0/#sec-abstract-relational-comparison">ES2015 7.2.11 (Abstract Relational Comparison)</a>.</p>
1228
1228
1229
-
This operation exists only on integer and floating point SIMD types.
1229
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
1230
1230
1231
1231
<emu-alg>
1232
1232
1. If _a_.[[SIMDTypeDescriptor]] is not _SIMD_Descriptor or _b_.[[SIMDTypeDescriptor]] is not _SIMD_Descriptor, throw a TypeError exception.
@@ -1374,7 +1374,7 @@ <h1>_SIMD_Constructor.shiftLeftByScalar( a, bits )</h1>
1374
1374
1375
1375
<emu-clauseid="simd-shift-right-by-scalar">
1376
1376
<h1>_SIMD_Constructor.shiftRightByScalar( a, bits )</h1>
1377
-
This operation is only defined on <ahref="#simd-integer-type">integer</a> SIMD types.
1377
+
This operation is only defined on <ahref="#simd-integer-type">integer</a> SIMD types.
1378
1378
1379
1379
On <ahref="#simd-unsigned-integer-type">unsigned</a> SIMD types, the following definition is used. This definition uses `>>>` to refer to the abstract operation defined by <ahref="http://www.ecma-international.org/ecma-262/6.0/#sec-unsigned-right-shift-operator">ES2015 12.8.5 (The Unsigned Right Shift Operator ( >>> ))</a>.
1380
1380
<emu-alg>
@@ -1420,7 +1420,7 @@ <h1>_SIMD_Constructor.replaceLane( simd, lane, value )</h1>
<p>This function is defined only on SIMD types where _SIMD_Descriptor.[[VectorLength]] = 4, and when _SIMD_Descriptor has a [[SerializeElement]] field.</p>
1433
1433
1434
-
This operation exists only on integer and floating point SIMD types.
1434
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
<p>This function is defined only on SIMD types where _SIMD_Descriptor.[[VectorLength]] = 4, and when _SIMD_Descriptor has a [[SerializeElement]] field.</p>
1444
1444
1445
-
This operation exists only on integer and floating point SIMD types.
1445
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
<p>This function is defined only on SIMD types where _SIMD_Descriptor.[[VectorLength]] = 4, and when _SIMD_Descriptor has a [[SerializeElement]] field.</p>
1454
1454
1455
-
This operation exists only on integer and floating point SIMD types.
1455
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
<p>This function is defined only on SIMD types where _SIMD_Descriptor has a [[DeserializeElement]] field.</p>
1464
1464
1465
-
This operation exists only on integer and floating point SIMD types.
1465
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
1466
1466
1467
1467
<emu-note>`load` takes a TypedArray of any element type as an argument. One way to use it is to pass in a `Uint8Array` regardless of SIMD type, which is useful because it allows the compiler to eliminate the shift in going from the index to the pointer offset. Other options considered were to use an ArrayBuffer (but this is not idiomatic, to take an ArrayBuffer directly as an argument to read off of) or a DataView (but DataViews don't tend to expose platform-dependent endianness, which is important here, and they tend to use methods on `DataView.prototype`, which are harder to optimize in an asm.js context).</emu-note>
1468
1468
<emu-alg>
@@ -1474,7 +1474,7 @@ <h1>_SIMD_Constructor.load( tarray, index )</h1>
1474
1474
<h1>_SIMD_Constructor.load1(tarray, index)</h1>
1475
1475
<p>This function is defined only on SIMD types where _SIMD_Descriptor.[[VectorLength]] = 4 and _SIMD_Descriptor has a [[DeserializeElement]] field.</p>
1476
1476
1477
-
This operation exists only on integer and floating point SIMD types.
1477
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
<p>This function is defined only on SIMD types where _SIMD_Descriptor.[[VectorLength]] = 4 and _SIMD_Descriptor has a [[DeserializeElement]] field.</p>
1486
1486
1487
-
This operation exists only on integer and floating point SIMD types.
1487
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
<p>This function is defined only on SIMD types where _SIMD_Descriptor.[[VectorLength]] = 4 and _SIMD_Descriptor has a [[DeserializeElement]] field.</p>
1496
1496
1497
-
This operation exists only on integer and floating point SIMD types.
1497
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
@@ -1516,7 +1516,7 @@ <h1><var>SIMD</var>Constructor.from<var>TIMD</var>( value )</h1>
1516
1516
<emu-alg>
1517
1517
1. If _value_.[[SIMDTypeDescriptor]] is not _TIMD_Descriptor, throw a TypeError exception.
1518
1518
1. Let _list_ be a copy of _value_.[[SIMDElements]].
1519
-
1. If _SIMD_ is an integer type and _TIMD_ is a floating point type,
1519
+
1. If _SIMD_ is an integer type and _TIMD_ is a floating point type,
1520
1520
1. For _element_ in _list_,
1521
1521
1. if _element_ is *NaN* or _element_`>`_SIMD_Descriptor.[[ElementMax]] or _element_`<`_SIMD_Descriptor.[[ElementMin]], throw a *RangeError* exception.
1522
1522
1. Return SIMDCreate(_SIMD_Descriptor, _list_).
@@ -1528,7 +1528,7 @@ <h1><var>SIMD</var>Constructor.from<var>TIMD</var>( value )</h1>
1528
1528
1529
1529
<emu-clauseid="swizzle">
1530
1530
<h1>_SIMD_Constructor.swizzle( a, ...lanes )</h1>
1531
-
This operation exists only on integer and floating point SIMD types.
1531
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
1532
1532
1533
1533
<emu-alg>
1534
1534
1. If _a_.[[SIMDTypeDescriptor]] is not _SIMD_Descriptor, throw a *TypeError* exception.
@@ -1548,7 +1548,7 @@ <h1>_SIMD_Constructor.swizzle( a, ...lanes )</h1>
1548
1548
1549
1549
<emu-clauseid="shuffle">
1550
1550
<h1>_SIMD_Constructor.shuffle( a, b, ...lanes )</h1>
1551
-
This operation exists only on integer and floating point SIMD types.
1551
+
This operation exists only on <ahref="#simd-integer-type">integer</a> and <ahref="#simd-floating-point-type">floating point</a> SIMD types.
1552
1552
1553
1553
<emu-alg>
1554
1554
1. If _a_.[[SIMDTypeDescriptor]] is not _SIMD_Descriptor, or if _b_.[[SIMDTypeDescriptor]] is not _SIMD_Descriptor, throw a *TypeError* exception.
0 commit comments