aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instruction/AInstEmitBfm.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-02-26 15:56:34 -0300
committergdkchan <gab.dark.100@gmail.com>2018-02-26 15:56:34 -0300
commit708761963e09ceb4619f8f21fffc7af051a8f020 (patch)
tree211616cfaae24ce4ed68fccb5bd6a88aca059ce4 /ChocolArm64/Instruction/AInstEmitBfm.cs
parentf6dc86c6a097f305701af32e77a2d8995a4385cc (diff)
Fix corner cases of ADCS and SBFM
Diffstat (limited to 'ChocolArm64/Instruction/AInstEmitBfm.cs')
-rw-r--r--ChocolArm64/Instruction/AInstEmitBfm.cs9
1 files changed, 0 insertions, 9 deletions
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);