# System.Runtime.Intrinsics ``` diff +namespace System.Runtime.Intrinsics { + public static class Vector128 { + public static Vector128 As(this Vector128 vector) where T : struct where U : struct; + public static Vector128 AsByte(this Vector128 vector) where T : struct; + public static Vector128 AsDouble(this Vector128 vector) where T : struct; + public static Vector128 AsInt16(this Vector128 vector) where T : struct; + public static Vector128 AsInt32(this Vector128 vector) where T : struct; + public static Vector128 AsInt64(this Vector128 vector) where T : struct; + public static Vector128 AsSByte(this Vector128 vector) where T : struct; + public static Vector128 AsSingle(this Vector128 vector) where T : struct; + public static Vector128 AsUInt16(this Vector128 vector) where T : struct; + public static Vector128 AsUInt32(this Vector128 vector) where T : struct; + public static Vector128 AsUInt64(this Vector128 vector) where T : struct; + public static Vector128 AsVector128(this Vector2 value); + public static Vector128 AsVector128(this Vector3 value); + public static Vector128 AsVector128(this Vector4 value); + public static Vector128 AsVector128(this Vector value) where T : struct; + public static Vector2 AsVector2(this Vector128 value); + public static Vector3 AsVector3(this Vector128 value); + public static Vector4 AsVector4(this Vector128 value); + public static Vector AsVector(this Vector128 value) where T : struct; + public static Vector128 Create(byte value); + public static Vector128 Create(byte e0, byte e1, byte e2, byte e3, byte e4, byte e5, byte e6, byte e7, byte e8, byte e9, byte e10, byte e11, byte e12, byte e13, byte e14, byte e15); + public static Vector128 Create(double value); + public static Vector128 Create(double e0, double e1); + public static Vector128 Create(short value); + public static Vector128 Create(short e0, short e1, short e2, short e3, short e4, short e5, short e6, short e7); + public static Vector128 Create(int value); + public static Vector128 Create(int e0, int e1, int e2, int e3); + public static Vector128 Create(long value); + public static Vector128 Create(long e0, long e1); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(Vector64 lower, Vector64 upper); + public static Vector128 Create(sbyte value); + public static Vector128 Create(sbyte e0, sbyte e1, sbyte e2, sbyte e3, sbyte e4, sbyte e5, sbyte e6, sbyte e7, sbyte e8, sbyte e9, sbyte e10, sbyte e11, sbyte e12, sbyte e13, sbyte e14, sbyte e15); + public static Vector128 Create(float value); + public static Vector128 Create(float e0, float e1, float e2, float e3); + public static Vector128 Create(ushort value); + public static Vector128 Create(ushort e0, ushort e1, ushort e2, ushort e3, ushort e4, ushort e5, ushort e6, ushort e7); + public static Vector128 Create(uint value); + public static Vector128 Create(uint e0, uint e1, uint e2, uint e3); + public static Vector128 Create(ulong value); + public static Vector128 Create(ulong e0, ulong e1); + public static Vector128 CreateScalar(byte value); + public static Vector128 CreateScalar(double value); + public static Vector128 CreateScalar(short value); + public static Vector128 CreateScalar(int value); + public static Vector128 CreateScalar(long value); + public static Vector128 CreateScalar(sbyte value); + public static Vector128 CreateScalar(float value); + public static Vector128 CreateScalar(ushort value); + public static Vector128 CreateScalar(uint value); + public static Vector128 CreateScalar(ulong value); + public static Vector128 CreateScalarUnsafe(byte value); + public static Vector128 CreateScalarUnsafe(double value); + public static Vector128 CreateScalarUnsafe(short value); + public static Vector128 CreateScalarUnsafe(int value); + public static Vector128 CreateScalarUnsafe(long value); + public static Vector128 CreateScalarUnsafe(sbyte value); + public static Vector128 CreateScalarUnsafe(float value); + public static Vector128 CreateScalarUnsafe(ushort value); + public static Vector128 CreateScalarUnsafe(uint value); + public static Vector128 CreateScalarUnsafe(ulong value); + public static T GetElement(this Vector128 vector, int index) where T : struct; + public static Vector64 GetLower(this Vector128 vector) where T : struct; + public static Vector64 GetUpper(this Vector128 vector) where T : struct; + public static T ToScalar(this Vector128 vector) where T : struct; + public static Vector256 ToVector256(this Vector128 vector) where T : struct; + public static Vector256 ToVector256Unsafe(this Vector128 vector) where T : struct; + public static Vector128 WithElement(this Vector128 vector, int index, T value) where T : struct; + public static Vector128 WithLower(this Vector128 vector, Vector64 value) where T : struct; + public static Vector128 WithUpper(this Vector128 vector, Vector64 value) where T : struct; + } + public readonly struct Vector128 : IEquatable> where T : struct { + public static Vector128 AllBitsSet { get; } + public static int Count { get; } + public static Vector128 Zero { get; } + public override bool Equals(object obj); + public bool Equals(Vector128 other); + public override int GetHashCode(); + public override string ToString(); + } + public static class Vector256 { + public static Vector256 As(this Vector256 vector) where T : struct where U : struct; + public static Vector256 AsByte(this Vector256 vector) where T : struct; + public static Vector256 AsDouble(this Vector256 vector) where T : struct; + public static Vector256 AsInt16(this Vector256 vector) where T : struct; + public static Vector256 AsInt32(this Vector256 vector) where T : struct; + public static Vector256 AsInt64(this Vector256 vector) where T : struct; + public static Vector256 AsSByte(this Vector256 vector) where T : struct; + public static Vector256 AsSingle(this Vector256 vector) where T : struct; + public static Vector256 AsUInt16(this Vector256 vector) where T : struct; + public static Vector256 AsUInt32(this Vector256 vector) where T : struct; + public static Vector256 AsUInt64(this Vector256 vector) where T : struct; + public static Vector256 AsVector256(this Vector value) where T : struct; + public static Vector AsVector(this Vector256 value) where T : struct; + public static Vector256 Create(byte value); + public static Vector256 Create(byte e0, byte e1, byte e2, byte e3, byte e4, byte e5, byte e6, byte e7, byte e8, byte e9, byte e10, byte e11, byte e12, byte e13, byte e14, byte e15, byte e16, byte e17, byte e18, byte e19, byte e20, byte e21, byte e22, byte e23, byte e24, byte e25, byte e26, byte e27, byte e28, byte e29, byte e30, byte e31); + public static Vector256 Create(double value); + public static Vector256 Create(double e0, double e1, double e2, double e3); + public static Vector256 Create(short value); + public static Vector256 Create(short e0, short e1, short e2, short e3, short e4, short e5, short e6, short e7, short e8, short e9, short e10, short e11, short e12, short e13, short e14, short e15); + public static Vector256 Create(int value); + public static Vector256 Create(int e0, int e1, int e2, int e3, int e4, int e5, int e6, int e7); + public static Vector256 Create(long value); + public static Vector256 Create(long e0, long e1, long e2, long e3); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(Vector128 lower, Vector128 upper); + public static Vector256 Create(sbyte value); + public static Vector256 Create(sbyte e0, sbyte e1, sbyte e2, sbyte e3, sbyte e4, sbyte e5, sbyte e6, sbyte e7, sbyte e8, sbyte e9, sbyte e10, sbyte e11, sbyte e12, sbyte e13, sbyte e14, sbyte e15, sbyte e16, sbyte e17, sbyte e18, sbyte e19, sbyte e20, sbyte e21, sbyte e22, sbyte e23, sbyte e24, sbyte e25, sbyte e26, sbyte e27, sbyte e28, sbyte e29, sbyte e30, sbyte e31); + public static Vector256 Create(float value); + public static Vector256 Create(float e0, float e1, float e2, float e3, float e4, float e5, float e6, float e7); + public static Vector256 Create(ushort value); + public static Vector256 Create(ushort e0, ushort e1, ushort e2, ushort e3, ushort e4, ushort e5, ushort e6, ushort e7, ushort e8, ushort e9, ushort e10, ushort e11, ushort e12, ushort e13, ushort e14, ushort e15); + public static Vector256 Create(uint value); + public static Vector256 Create(uint e0, uint e1, uint e2, uint e3, uint e4, uint e5, uint e6, uint e7); + public static Vector256 Create(ulong value); + public static Vector256 Create(ulong e0, ulong e1, ulong e2, ulong e3); + public static Vector256 CreateScalar(byte value); + public static Vector256 CreateScalar(double value); + public static Vector256 CreateScalar(short value); + public static Vector256 CreateScalar(int value); + public static Vector256 CreateScalar(long value); + public static Vector256 CreateScalar(sbyte value); + public static Vector256 CreateScalar(float value); + public static Vector256 CreateScalar(ushort value); + public static Vector256 CreateScalar(uint value); + public static Vector256 CreateScalar(ulong value); + public static Vector256 CreateScalarUnsafe(byte value); + public static Vector256 CreateScalarUnsafe(double value); + public static Vector256 CreateScalarUnsafe(short value); + public static Vector256 CreateScalarUnsafe(int value); + public static Vector256 CreateScalarUnsafe(long value); + public static Vector256 CreateScalarUnsafe(sbyte value); + public static Vector256 CreateScalarUnsafe(float value); + public static Vector256 CreateScalarUnsafe(ushort value); + public static Vector256 CreateScalarUnsafe(uint value); + public static Vector256 CreateScalarUnsafe(ulong value); + public static T GetElement(this Vector256 vector, int index) where T : struct; + public static Vector128 GetLower(this Vector256 vector) where T : struct; + public static Vector128 GetUpper(this Vector256 vector) where T : struct; + public static T ToScalar(this Vector256 vector) where T : struct; + public static Vector256 WithElement(this Vector256 vector, int index, T value) where T : struct; + public static Vector256 WithLower(this Vector256 vector, Vector128 value) where T : struct; + public static Vector256 WithUpper(this Vector256 vector, Vector128 value) where T : struct; + } + public readonly struct Vector256 : IEquatable> where T : struct { + public static Vector256 AllBitsSet { get; } + public static int Count { get; } + public static Vector256 Zero { get; } + public override bool Equals(object obj); + public bool Equals(Vector256 other); + public override int GetHashCode(); + public override string ToString(); + } + public static class Vector64 { + public static Vector64 As(this Vector64 vector) where T : struct where U : struct; + public static Vector64 AsByte(this Vector64 vector) where T : struct; + public static Vector64 AsDouble(this Vector64 vector) where T : struct; + public static Vector64 AsInt16(this Vector64 vector) where T : struct; + public static Vector64 AsInt32(this Vector64 vector) where T : struct; + public static Vector64 AsInt64(this Vector64 vector) where T : struct; + public static Vector64 AsSByte(this Vector64 vector) where T : struct; + public static Vector64 AsSingle(this Vector64 vector) where T : struct; + public static Vector64 AsUInt16(this Vector64 vector) where T : struct; + public static Vector64 AsUInt32(this Vector64 vector) where T : struct; + public static Vector64 AsUInt64(this Vector64 vector) where T : struct; + public static Vector64 Create(byte value); + public static Vector64 Create(byte e0, byte e1, byte e2, byte e3, byte e4, byte e5, byte e6, byte e7); + public static Vector64 Create(double value); + public static Vector64 Create(short value); + public static Vector64 Create(short e0, short e1, short e2, short e3); + public static Vector64 Create(int value); + public static Vector64 Create(int e0, int e1); + public static Vector64 Create(long value); + public static Vector64 Create(sbyte value); + public static Vector64 Create(sbyte e0, sbyte e1, sbyte e2, sbyte e3, sbyte e4, sbyte e5, sbyte e6, sbyte e7); + public static Vector64 Create(float value); + public static Vector64 Create(float e0, float e1); + public static Vector64 Create(ushort value); + public static Vector64 Create(ushort e0, ushort e1, ushort e2, ushort e3); + public static Vector64 Create(uint value); + public static Vector64 Create(uint e0, uint e1); + public static Vector64 Create(ulong value); + public static Vector64 CreateScalar(byte value); + public static Vector64 CreateScalar(double value); + public static Vector64 CreateScalar(short value); + public static Vector64 CreateScalar(int value); + public static Vector64 CreateScalar(long value); + public static Vector64 CreateScalar(sbyte value); + public static Vector64 CreateScalar(float value); + public static Vector64 CreateScalar(ushort value); + public static Vector64 CreateScalar(uint value); + public static Vector64 CreateScalar(ulong value); + public static Vector64 CreateScalarUnsafe(byte value); + public static Vector64 CreateScalarUnsafe(short value); + public static Vector64 CreateScalarUnsafe(int value); + public static Vector64 CreateScalarUnsafe(sbyte value); + public static Vector64 CreateScalarUnsafe(float value); + public static Vector64 CreateScalarUnsafe(ushort value); + public static Vector64 CreateScalarUnsafe(uint value); + public static T GetElement(this Vector64 vector, int index) where T : struct; + public static T ToScalar(this Vector64 vector) where T : struct; + public static Vector128 ToVector128(this Vector64 vector) where T : struct; + public static Vector128 ToVector128Unsafe(this Vector64 vector) where T : struct; + public static Vector64 WithElement(this Vector64 vector, int index, T value) where T : struct; + } + public readonly struct Vector64 : IEquatable> where T : struct { + public static Vector64 AllBitsSet { get; } + public static int Count { get; } + public static Vector64 Zero { get; } + public override bool Equals(object obj); + public bool Equals(Vector64 other); + public override int GetHashCode(); + public override string ToString(); + } +} ```