public static AsmQuadOp <T> Create <T>(AsmCode <T> code) where T : unmanaged { if (typeof(T) == typeof(int)) { return(code.CreateDelegate <QuadOpI32>().ToGeneric <QuadOpI32, T>()); } else { throw unsupported <T>(); } }
static QuadOpI32 OpI32(AsmCode code) => code.CreateDelegate <QuadOpI32>();
static BinOpF64 CreateBinOpF64(this AsmCode code) => code.CreateDelegate <BinOpF64>();
static BinOpF32 CreateBinOpF32(this AsmCode code) => code.CreateDelegate <BinOpF32>();
static BinOpU16 CreateBinOpU16(this AsmCode code) => code.CreateDelegate <BinOpU16>();
static BinOpU8 CreateBinOpU8(this AsmCode code) => code.CreateDelegate <BinOpU8>();