36 references to Zero
System.Private.CoreLib (36)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (2)
107
if (!notEquals.Equals(TVector.
Zero
))
134
if (!notEquals.Equals(TVector.
Zero
))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
264
static virtual TSelf CreateScalar(T value) => TSelf.WithElement(TSelf.
Zero
, 0, value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (31)
114
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.
Zero
)),
120
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.
Zero
)),
138
TVectorDouble result = TVectorDouble.
Zero
;
288
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.
Zero
)),
294
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.
Zero
)),
302
TVectorSingle result = TVectorSingle.
Zero
;
429
TVectorDouble result = TVectorDouble.
Zero
;
574
TVectorDouble expResult = TVectorDouble.
Zero
;
978
if (specialMask != TVectorUInt64.
Zero
)
1158
if (specialMask != TVectorUInt32.
Zero
)
1296
if (specialMask != TVectorUInt64.
Zero
)
1472
if (specialMask != TVectorUInt32.
Zero
)
1750
TVectorDouble result = TVectorDouble.
Zero
;
1933
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.
Zero
)),
1939
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.
Zero
)),
1947
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.
Zero
)),
1953
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.
Zero
)),
1979
TVectorDouble sinResult = TVectorDouble.
Zero
;
1980
TVectorDouble cosResult = TVectorDouble.
Zero
;
2110
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.
Zero
)),
2116
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.
Zero
)),
2124
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.
Zero
)),
2130
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.
Zero
)),
2140
TVectorSingle sinResult = TVectorSingle.
Zero
;
2141
TVectorSingle cosResult = TVectorSingle.
Zero
;
2244
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.
Zero
)),
2252
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.
Zero
)),
2270
TVectorDouble result = TVectorDouble.
Zero
;
2416
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.
Zero
)),
2424
Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.
Zero
)),
2432
TVectorSingle result = TVectorSingle.
Zero
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (1)
2245
return !(vector & TVectorByte.Create((byte)0x80)).Equals(TVectorByte.
Zero
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf16Utility.cs (1)
292
return (vec & TVector.Create(unchecked((ushort)~0x007F))) == TVector.
Zero
;