示例#1
0
 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>();
     }
 }
示例#2
0
 static QuadOpI32 OpI32(AsmCode code)
 => code.CreateDelegate <QuadOpI32>();
示例#3
0
文件: AsmBinOp.cs 项目: 0xCM/arrows
 static BinOpF64 CreateBinOpF64(this AsmCode code)
 => code.CreateDelegate <BinOpF64>();
示例#4
0
文件: AsmBinOp.cs 项目: 0xCM/arrows
 static BinOpF32 CreateBinOpF32(this AsmCode code)
 => code.CreateDelegate <BinOpF32>();
示例#5
0
文件: AsmBinOp.cs 项目: 0xCM/arrows
 static BinOpU16 CreateBinOpU16(this AsmCode code)
 => code.CreateDelegate <BinOpU16>();
示例#6
0
文件: AsmBinOp.cs 项目: 0xCM/arrows
 static BinOpU8 CreateBinOpU8(this AsmCode code)
 => code.CreateDelegate <BinOpU8>();