aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instruction/AInstEmitMove.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ChocolArm64/Instruction/AInstEmitMove.cs')
-rw-r--r--ChocolArm64/Instruction/AInstEmitMove.cs41
1 files changed, 0 insertions, 41 deletions
diff --git a/ChocolArm64/Instruction/AInstEmitMove.cs b/ChocolArm64/Instruction/AInstEmitMove.cs
deleted file mode 100644
index 719b53d5..00000000
--- a/ChocolArm64/Instruction/AInstEmitMove.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using ChocolArm64.Decoder;
-using ChocolArm64.Translation;
-using System.Reflection.Emit;
-
-namespace ChocolArm64.Instruction
-{
- static partial class AInstEmit
- {
- public static void Movk(AILEmitterCtx Context)
- {
- AOpCodeMov Op = (AOpCodeMov)Context.CurrOp;
-
- Context.EmitLdintzr(Op.Rd);
- Context.EmitLdc_I(~(0xffffL << Op.Pos));
-
- Context.Emit(OpCodes.And);
-
- Context.EmitLdc_I(Op.Imm);
-
- Context.Emit(OpCodes.Or);
-
- Context.EmitStintzr(Op.Rd);
- }
-
- public static void Movn(AILEmitterCtx Context)
- {
- AOpCodeMov Op = (AOpCodeMov)Context.CurrOp;
-
- Context.EmitLdc_I(~Op.Imm);
- Context.EmitStintzr(Op.Rd);
- }
-
- public static void Movz(AILEmitterCtx Context)
- {
- AOpCodeMov Op = (AOpCodeMov)Context.CurrOp;
-
- Context.EmitLdc_I(Op.Imm);
- Context.EmitStintzr(Op.Rd);
- }
- }
-} \ No newline at end of file