Skip to content

Commit

Permalink
Add "MinAcross" in AdvSimd.cs AdvSimd.PlatformNotSupported.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
echesakov committed Feb 19, 2020
1 parent ff93898 commit 4a9c400
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,72 @@ internal Arm64() { }
/// </summary>
public static Vector128<double> Min(Vector128<double> left, Vector128<double> right) { throw new PlatformNotSupportedException(); }

/// <summary>
/// uint8_t vminv_u8 (uint8x8_t a)
/// A64: UMINV Bd, Vn.8B
/// </summary>
public static Vector64<byte> MinAcross(Vector64<byte> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// int16_t vminv_s16 (int16x4_t a)
/// A64: SMINV Hd, Vn.4H
/// </summary>
public static Vector64<short> MinAcross(Vector64<short> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// int8_t vminv_s8 (int8x8_t a)
/// A64: SMINV Bd, Vn.8B
/// </summary>
public static Vector64<sbyte> MinAcross(Vector64<sbyte> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// uint16_t vminv_u16 (uint16x4_t a)
/// A64: UMINV Hd, Vn.4H
/// </summary>
public static Vector64<ushort> MinAcross(Vector64<ushort> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// uint8_t vminvq_u8 (uint8x16_t a)
/// A64: UMINV Bd, Vn.16B
/// </summary>
public static Vector64<byte> MinAcross(Vector128<byte> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// int16_t vminvq_s16 (int16x8_t a)
/// A64: SMINV Hd, Vn.8H
/// </summary>
public static Vector64<short> MinAcross(Vector128<short> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// int32_t vaddvq_s32 (int32x4_t a)
/// A64: SMINV Sd, Vn.4S
/// </summary>
public static Vector64<int> MinAcross(Vector128<int> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// int8_t vminvq_s8 (int8x16_t a)
/// A64: SMINV Bd, Vn.16B
/// </summary>
public static Vector64<sbyte> MinAcross(Vector128<sbyte> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// float32_t vminvq_f32 (float32x4_t a)
/// A64: FMINV Sd, Vn.4S
/// </summary>
public static Vector64<float> MinAcross(Vector128<float> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// uint16_t vminvq_u16 (uint16x8_t a)
/// A64: UMINV Hd, Vn.8H
/// </summary>
public static Vector64<ushort> MinAcross(Vector128<ushort> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// uint32_t vminvq_u32 (uint32x4_t a)
/// A64: UMINV Sd, Vn.4S
/// </summary>
public static Vector64<uint> MinAcross(Vector128<uint> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// float64x1_t vmin_f64 (float64x1_t a, float64x1_t b)
/// A64: FMIN Dd, Dn, Dm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,72 @@ internal Arm64() { }
/// </summary>
public static Vector128<double> Min(Vector128<double> left, Vector128<double> right) => Min(left, right);

/// <summary>
/// uint8_t vminv_u8 (uint8x8_t a)
/// A64: UMINV Bd, Vn.8B
/// </summary>
public static Vector64<byte> MinAcross(Vector64<byte> value) => MinAcross(value);

/// <summary>
/// int16_t vminv_s16 (int16x4_t a)
/// A64: SMINV Hd, Vn.4H
/// </summary>
public static Vector64<short> MinAcross(Vector64<short> value) => MinAcross(value);

/// <summary>
/// int8_t vminv_s8 (int8x8_t a)
/// A64: SMINV Bd, Vn.8B
/// </summary>
public static Vector64<sbyte> MinAcross(Vector64<sbyte> value) => MinAcross(value);

/// <summary>
/// uint16_t vminv_u16 (uint16x4_t a)
/// A64: UMINV Hd, Vn.4H
/// </summary>
public static Vector64<ushort> MinAcross(Vector64<ushort> value) => MinAcross(value);

/// <summary>
/// uint8_t vminvq_u8 (uint8x16_t a)
/// A64: UMINV Bd, Vn.16B
/// </summary>
public static Vector64<byte> MinAcross(Vector128<byte> value) => MinAcross(value);

/// <summary>
/// int16_t vminvq_s16 (int16x8_t a)
/// A64: SMINV Hd, Vn.8H
/// </summary>
public static Vector64<short> MinAcross(Vector128<short> value) => MinAcross(value);

/// <summary>
/// int32_t vaddvq_s32 (int32x4_t a)
/// A64: SMINV Sd, Vn.4S
/// </summary>
public static Vector64<int> MinAcross(Vector128<int> value) => MinAcross(value);

/// <summary>
/// int8_t vminvq_s8 (int8x16_t a)
/// A64: SMINV Bd, Vn.16B
/// </summary>
public static Vector64<sbyte> MinAcross(Vector128<sbyte> value) => MinAcross(value);

/// <summary>
/// float32_t vminvq_f32 (float32x4_t a)
/// A64: FMINV Sd, Vn.4S
/// </summary>
public static Vector64<float> MinAcross(Vector128<float> value) => MinAcross(value);

/// <summary>
/// uint16_t vminvq_u16 (uint16x8_t a)
/// A64: UMINV Hd, Vn.8H
/// </summary>
public static Vector64<ushort> MinAcross(Vector128<ushort> value) => MinAcross(value);

/// <summary>
/// uint32_t vminvq_u32 (uint32x4_t a)
/// A64: UMINV Sd, Vn.4S
/// </summary>
public static Vector64<uint> MinAcross(Vector128<uint> value) => MinAcross(value);

/// <summary>
/// float64x1_t vmin_f64 (float64x1_t a, float64x1_t b)
/// A64: FMIN Dd, Dn, Dm
Expand Down

0 comments on commit 4a9c400

Please sign in to comment.