From a79db3a74db7508cfd3c0c40ebab9da06b38e97a Mon Sep 17 00:00:00 2001 From: greggameplayer <33609333+greggameplayer@users.noreply.github.com> Date: Wed, 18 Jul 2018 02:07:31 +0200 Subject: [PATCH] correct errors --- ChocolArm64/Instruction/AInstEmitSimdShift.cs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/ChocolArm64/Instruction/AInstEmitSimdShift.cs b/ChocolArm64/Instruction/AInstEmitSimdShift.cs index 71d74f708c..28cf8c2e7e 100644 --- a/ChocolArm64/Instruction/AInstEmitSimdShift.cs +++ b/ChocolArm64/Instruction/AInstEmitSimdShift.cs @@ -87,14 +87,8 @@ namespace ChocolArm64.Instruction int Shift = GetImmShr(Op); - long RoundConst = 1L << (Shift - 1); - Action Emit = () => { - Context.EmitLdc_I8(RoundConst); - - Context.Emit(OpCodes.Add); - Context.EmitLdc_I4(Shift); Context.Emit(OpCodes.Shr); @@ -109,14 +103,8 @@ namespace ChocolArm64.Instruction int Shift = GetImmShr(Op); - long RoundConst = 1L << (Shift - 1); - Action Emit = () => { - Context.EmitLdc_I8(RoundConst); - - Context.Emit(OpCodes.Add); - Context.EmitLdc_I4(Shift); Context.Emit(OpCodes.Shr); @@ -458,4 +446,4 @@ namespace ChocolArm64.Instruction Context.EmitStvec(Op.Rd); } } -} \ No newline at end of file +}