From 708761963e09ceb4619f8f21fffc7af051a8f020 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 26 Feb 2018 15:56:34 -0300 Subject: Fix corner cases of ADCS and SBFM --- ChocolArm64/Instruction/AInstEmitBfm.cs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ChocolArm64/Instruction/AInstEmitBfm.cs') diff --git a/ChocolArm64/Instruction/AInstEmitBfm.cs b/ChocolArm64/Instruction/AInstEmitBfm.cs index 823af738..2e8f2508 100644 --- a/ChocolArm64/Instruction/AInstEmitBfm.cs +++ b/ChocolArm64/Instruction/AInstEmitBfm.cs @@ -54,15 +54,6 @@ namespace ChocolArm64.Instruction { EmitSbfmCast(Context, OpCodes.Conv_I4); } - else if (Op.Shift == 0) - { - Context.EmitLdintzr(Op.Rn); - - Context.EmitLsl(BitsCount - 1 - Op.Pos); - Context.EmitAsr(BitsCount - 1); - - Context.EmitStintzr(Op.Rd); - } else { EmitBfmLoadRn(Context); -- cgit v1.2.3