aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-06-02 11:44:52 -0300
committergdkchan <gab.dark.100@gmail.com>2018-06-02 11:44:52 -0300
commit4731c7545d31900c44e25f40d6bbc1ad5e8cba66 (patch)
treed8f971edc41183910db4231fb4c0b99e699595d3 /ChocolArm64
parent7a6ce481844d40779f71d1706e3ba92f11137760 (diff)
Fix mistake on astc conversion, make some static methods that shouldn't be public private, remove old commmented out code
Diffstat (limited to 'ChocolArm64')
-rw-r--r--ChocolArm64/Instruction/AInstEmitAlu.cs6
-rw-r--r--ChocolArm64/Instruction/AInstEmitMemory.cs4
-rw-r--r--ChocolArm64/Instruction/AInstEmitSimdLogical.cs2
3 files changed, 6 insertions, 6 deletions
diff --git a/ChocolArm64/Instruction/AInstEmitAlu.cs b/ChocolArm64/Instruction/AInstEmitAlu.cs
index 4fba5094..0e546f7a 100644
--- a/ChocolArm64/Instruction/AInstEmitAlu.cs
+++ b/ChocolArm64/Instruction/AInstEmitAlu.cs
@@ -218,7 +218,7 @@ namespace ChocolArm64.Instruction
EmitSubsCCheck(Context);
EmitSubsVCheck(Context);
EmitDataStoreS(Context);
- }
+ }
public static void Orn(AILEmitterCtx Context)
{
@@ -244,7 +244,7 @@ namespace ChocolArm64.Instruction
nameof(ASoftFallback.ReverseBytes32_32),
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;
@@ -320,7 +320,7 @@ namespace ChocolArm64.Instruction
EmitDataLoadRn(Context);
Context.EmitLdc_I(IntMin);
-
+
Context.Emit(OpCodes.Ceq);
EmitDataLoadRm(Context);
diff --git a/ChocolArm64/Instruction/AInstEmitMemory.cs b/ChocolArm64/Instruction/AInstEmitMemory.cs
index af7de3ba..67653ed0 100644
--- a/ChocolArm64/Instruction/AInstEmitMemory.cs
+++ b/ChocolArm64/Instruction/AInstEmitMemory.cs
@@ -27,7 +27,7 @@ namespace ChocolArm64.Instruction
public static void Ldr(AILEmitterCtx Context) => EmitLdr(Context, false);
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;
@@ -131,7 +131,7 @@ namespace ChocolArm64.Instruction
EmitReadAndStore(Op.Rt2);
EmitWBackIfNeeded(Context);
- }
+ }
public static void Str(AILEmitterCtx Context)
{
diff --git a/ChocolArm64/Instruction/AInstEmitSimdLogical.cs b/ChocolArm64/Instruction/AInstEmitSimdLogical.cs
index 9c897bfe..cb6ee4cd 100644
--- a/ChocolArm64/Instruction/AInstEmitSimdLogical.cs
+++ b/ChocolArm64/Instruction/AInstEmitSimdLogical.cs
@@ -50,7 +50,7 @@ namespace ChocolArm64.Instruction
EmitBitBif(Context, false);
}
- public static void EmitBitBif(AILEmitterCtx Context, bool NotRm)
+ private static void EmitBitBif(AILEmitterCtx Context, bool NotRm)
{
AOpCodeSimdReg Op = (AOpCodeSimdReg)Context.CurrOp;