Fix mistake on astc conversion, make some static methods that shouldn't be public private, remove old commmented out code
This commit is contained in:
parent
7869b7e257
commit
65f781ae7b
3 changed files with 6 additions and 6 deletions
|
@ -218,7 +218,7 @@ namespace ChocolArm64.Instruction
|
||||||
EmitSubsCCheck(Context);
|
EmitSubsCCheck(Context);
|
||||||
EmitSubsVCheck(Context);
|
EmitSubsVCheck(Context);
|
||||||
EmitDataStoreS(Context);
|
EmitDataStoreS(Context);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Orn(AILEmitterCtx Context)
|
public static void Orn(AILEmitterCtx Context)
|
||||||
{
|
{
|
||||||
|
@ -244,7 +244,7 @@ namespace ChocolArm64.Instruction
|
||||||
nameof(ASoftFallback.ReverseBytes32_32),
|
nameof(ASoftFallback.ReverseBytes32_32),
|
||||||
nameof(ASoftFallback.ReverseBytes32_64));
|
nameof(ASoftFallback.ReverseBytes32_64));
|
||||||
|
|
||||||
public static void EmitFallback32_64(AILEmitterCtx Context, string Name32, string Name64)
|
private static void EmitFallback32_64(AILEmitterCtx Context, string Name32, string Name64)
|
||||||
{
|
{
|
||||||
AOpCodeAlu Op = (AOpCodeAlu)Context.CurrOp;
|
AOpCodeAlu Op = (AOpCodeAlu)Context.CurrOp;
|
||||||
|
|
||||||
|
@ -320,7 +320,7 @@ namespace ChocolArm64.Instruction
|
||||||
EmitDataLoadRn(Context);
|
EmitDataLoadRn(Context);
|
||||||
|
|
||||||
Context.EmitLdc_I(IntMin);
|
Context.EmitLdc_I(IntMin);
|
||||||
|
|
||||||
Context.Emit(OpCodes.Ceq);
|
Context.Emit(OpCodes.Ceq);
|
||||||
|
|
||||||
EmitDataLoadRm(Context);
|
EmitDataLoadRm(Context);
|
||||||
|
|
|
@ -27,7 +27,7 @@ namespace ChocolArm64.Instruction
|
||||||
public static void Ldr(AILEmitterCtx Context) => EmitLdr(Context, false);
|
public static void Ldr(AILEmitterCtx Context) => EmitLdr(Context, false);
|
||||||
public static void Ldrs(AILEmitterCtx Context) => EmitLdr(Context, true);
|
public static void Ldrs(AILEmitterCtx Context) => EmitLdr(Context, true);
|
||||||
|
|
||||||
public static void EmitLdr(AILEmitterCtx Context, bool Signed)
|
private static void EmitLdr(AILEmitterCtx Context, bool Signed)
|
||||||
{
|
{
|
||||||
AOpCodeMem Op = (AOpCodeMem)Context.CurrOp;
|
AOpCodeMem Op = (AOpCodeMem)Context.CurrOp;
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ namespace ChocolArm64.Instruction
|
||||||
EmitReadAndStore(Op.Rt2);
|
EmitReadAndStore(Op.Rt2);
|
||||||
|
|
||||||
EmitWBackIfNeeded(Context);
|
EmitWBackIfNeeded(Context);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Str(AILEmitterCtx Context)
|
public static void Str(AILEmitterCtx Context)
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,7 +50,7 @@ namespace ChocolArm64.Instruction
|
||||||
EmitBitBif(Context, false);
|
EmitBitBif(Context, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void EmitBitBif(AILEmitterCtx Context, bool NotRm)
|
private static void EmitBitBif(AILEmitterCtx Context, bool NotRm)
|
||||||
{
|
{
|
||||||
AOpCodeSimdReg Op = (AOpCodeSimdReg)Context.CurrOp;
|
AOpCodeSimdReg Op = (AOpCodeSimdReg)Context.CurrOp;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue