Add SMAXP, SMINP, UMAX, UMAXP, UMIN and UMINP cpu instructions (#200)

This commit is contained in:
gdkchan
2018-07-03 03:31:48 -03:00
committed by GitHub
parent c228cf320d
commit 741773910d
4 changed files with 106 additions and 31 deletions

View File

@ -63,7 +63,7 @@ namespace ChocolArm64
else
{
throw new ArgumentOutOfRangeException(nameof(Index));
}
}
}
public static void EmitLdloc(this ILGenerator Generator, int Index)
@ -89,7 +89,7 @@ namespace ChocolArm64
throw new ArgumentOutOfRangeException(nameof(Index));
}
break;
}
}
}
public static void EmitStloc(this ILGenerator Generator, int Index)
@ -123,7 +123,7 @@ namespace ChocolArm64
for (int Index = 0; Index < Count; Index++)
{
Generator.EmitLdarg(Index);
}
}
}
}
}