Exemplo n.º 1
0
 public static Operand IClampU32(this EmitterContext context, Operand a, Operand b, Operand c)
 {
     return(context.Add(Instruction.ClampU32, Local(), a, b, c));
 }
Exemplo n.º 2
0
 public static Operand AtomicAdd(this EmitterContext context, Instruction mr, Operand a, Operand b, Operand c)
 {
     return(context.Add(Instruction.AtomicAdd | mr, Local(), a, b, c));
 }
Exemplo n.º 3
0
 public static Operand BitfieldReverse(this EmitterContext context, Operand a)
 {
     return(context.Add(Instruction.BitfieldReverse, Local(), a));
 }
Exemplo n.º 4
0
 public static Operand UnpackHalf2x16Low(this EmitterContext context, Operand a)
 {
     return(UnpackHalf2x16(context, a, 0));
 }
Exemplo n.º 5
0
 public static Operand VoteAny(this EmitterContext context, Operand a)
 {
     return(context.Add(Instruction.VoteAny, Local(), a));
 }
Exemplo n.º 6
0
 public static Operand StoreGlobal(this EmitterContext context, Operand a, Operand b, Operand c)
 {
     return(context.Add(Instruction.StoreGlobal, null, a, b, c));
 }
Exemplo n.º 7
0
 public static Operand Barrier(this EmitterContext context)
 {
     return(context.Add(Instruction.Barrier));
 }
Exemplo n.º 8
0
 public static Operand ISubtract(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.Subtract, Local(), a, b));
 }
Exemplo n.º 9
0
 public static Operand IsNan(this EmitterContext context, Operand a)
 {
     return(context.Add(Instruction.IsNan, Local(), a));
 }
Exemplo n.º 10
0
 public static Operand IMinimumU32(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.MinimumU32, Local(), a, b));
 }
Exemplo n.º 11
0
 public static Operand INegate(this EmitterContext context, Operand a)
 {
     return(context.Add(Instruction.Negate, Local(), a));
 }
Exemplo n.º 12
0
 public static Operand IConvertU32ToFP(this EmitterContext context, Operand a)
 {
     return(context.Add(Instruction.ConvertU32ToFP, Local(), a));
 }
Exemplo n.º 13
0
 public static Operand ICompareNotEqual(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.CompareNotEqual, Local(), a, b));
 }
Exemplo n.º 14
0
 public static Operand ICompareLessUnsigned(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.CompareLessU32, Local(), a, b));
 }
Exemplo n.º 15
0
 public static Operand ShiftRightU32(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.ShiftRightU32, Local(), a, b));
 }
Exemplo n.º 16
0
 public static Operand LoadGlobal(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.LoadGlobal, Local(), a, b));
 }
Exemplo n.º 17
0
 public static (Operand, Operand) ShuffleXor(this EmitterContext context, Operand a, Operand b, Operand c)
 {
     return(context.Add(Instruction.ShuffleXor, (Local(), Local()), a, b, c));
 }
Exemplo n.º 18
0
 public static Operand LoadShared(this EmitterContext context, Operand a)
 {
     return(context.Add(Instruction.LoadShared, Local(), a));
 }
Exemplo n.º 19
0
 public static Operand StoreShared(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.StoreShared, null, a, b));
 }
Exemplo n.º 20
0
 public static Operand MultiplyHighU32(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.MultiplyHighU32, Local(), a, b));
 }
Exemplo n.º 21
0
 public static Operand UnpackDouble2x32Low(this EmitterContext context, Operand a)
 {
     return(UnpackDouble2x32(context, a, 0));
 }
Exemplo n.º 22
0
 public static Operand PackDouble2x32(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.PackDouble2x32, Local(), a, b));
 }
Exemplo n.º 23
0
 public static Operand BitCount(this EmitterContext context, Operand a)
 {
     return(context.Add(Instruction.BitCount, Local(), a));
 }
Exemplo n.º 24
0
 public static Operand PackHalf2x16(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.PackHalf2x16, Local(), a, b));
 }
Exemplo n.º 25
0
 public static Operand BitfieldExtractU32(this EmitterContext context, Operand a, Operand b, Operand c)
 {
     return(context.Add(Instruction.BitfieldExtractU32, Local(), a, b, c));
 }
Exemplo n.º 26
0
 public static void Return(this EmitterContext context)
 {
     context.PrepareForReturn();
     context.Add(Instruction.Return);
 }
Exemplo n.º 27
0
 public static Operand BitfieldInsert(this EmitterContext context, Operand a, Operand b, Operand c, Operand d)
 {
     return(context.Add(Instruction.BitfieldInsert, Local(), a, b, c, d));
 }
Exemplo n.º 28
0
 public static void Return(this EmitterContext context, Operand returnValue)
 {
     context.PrepareForReturn();
     context.Add(Instruction.Return, null, returnValue);
 }
Exemplo n.º 29
0
 public static Operand BitwiseExclusiveOr(this EmitterContext context, Operand a, Operand b)
 {
     return(context.Add(Instruction.BitwiseExclusiveOr, Local(), a, b));
 }
Exemplo n.º 30
0
 public static Operand IAbsNeg(this EmitterContext context, Operand a, bool abs, bool neg)
 {
     return(context.INegate(context.IAbsolute(a, abs), neg));
 }