public static Imm <T> From(Imm8 src) => new Imm <byte>(src.Value).As <T>();
public static XMM vpblendw(XMM xmm2, XMM xmm3, Imm8 imm8) { return(Blend(vload <ushort>(ref xmm2), vload <ushort>(ref xmm3), imm8)); }
protected Imm8 imm8(Bit?b0 = null, Bit?b1 = null, Bit?b2 = null, Bit?b3 = null, Bit?b4 = null, Bit?b5 = null, Bit?b6 = null, Bit?b7 = null) => Imm8.From(b0 ?? 0, b1 ?? 0, b2 ?? 0, b3 ?? 0, b4 ?? 0, b5 ?? 0, b6 ?? 0, b7 ?? 0);
/// <summary> /// Block-formats an immediate /// </summary> /// <param name="i">The slot index</param> /// <typeparam name="X">The cell type</typeparam> protected string FormatImm <X>(Imm8 imm) where X : unmanaged => imm.FormatBlocked <X>();
public static IImm <Imm8, byte> Define(byte src) => Imm8.Define(src);