aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-03-14 00:57:07 -0300
committergdkchan <gab.dark.100@gmail.com>2018-03-14 00:57:07 -0300
commitd067b4d5e0e7860702bb9a10c832a46d15176fd8 (patch)
treecd2dd18d866ce151f5ee6dd907614364fc2c2772
parent553ba659c40013cde0198c2bdd10b31bdd6f3d97 (diff)
Remove unused function from CPU
-rw-r--r--ChocolArm64/Instruction/AInstEmitHash.cs1
-rw-r--r--ChocolArm64/Instruction/ASoftFallback.cs19
2 files changed, 0 insertions, 20 deletions
diff --git a/ChocolArm64/Instruction/AInstEmitHash.cs b/ChocolArm64/Instruction/AInstEmitHash.cs
index fd98f563..94e03f6c 100644
--- a/ChocolArm64/Instruction/AInstEmitHash.cs
+++ b/ChocolArm64/Instruction/AInstEmitHash.cs
@@ -7,7 +7,6 @@ namespace ChocolArm64.Instruction
{
static partial class AInstEmit
{
-
public static void Crc32b(AILEmitterCtx Context)
{
EmitCrc32(Context, nameof(ASoftFallback.Crc32b));
diff --git a/ChocolArm64/Instruction/ASoftFallback.cs b/ChocolArm64/Instruction/ASoftFallback.cs
index 7e5b3dba..f79628ad 100644
--- a/ChocolArm64/Instruction/ASoftFallback.cs
+++ b/ChocolArm64/Instruction/ASoftFallback.cs
@@ -97,25 +97,6 @@ namespace ChocolArm64.Instruction
return Crc;
}
- public static uint ReverseBits8(uint Value)
- {
- Value = ((Value & 0xaa) >> 1) | ((Value & 0x55) << 1);
- Value = ((Value & 0xcc) >> 2) | ((Value & 0x33) << 2);
- Value = ((Value & 0xf0) >> 4) | ((Value & 0x0f) << 4);
-
- return Value;
- }
-
- public static uint ReverseBits16(uint Value)
- {
- Value = ((Value & 0xaaaa) >> 1) | ((Value & 0x5555) << 1);
- Value = ((Value & 0xcccc) >> 2) | ((Value & 0x3333) << 2);
- Value = ((Value & 0xf0f0) >> 4) | ((Value & 0x0f0f) << 4);
- Value = ((Value & 0xff00) >> 8) | ((Value & 0x00ff) << 8);
-
- return Value;
- }
-
public static uint ReverseBits32(uint Value)
{
Value = ((Value & 0xaaaaaaaa) >> 1) | ((Value & 0x55555555) << 1);