aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Instructions/InstEmitSimdHelperArm64.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARMeilleure/Instructions/InstEmitSimdHelperArm64.cs')
-rw-r--r--src/ARMeilleure/Instructions/InstEmitSimdHelperArm64.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ARMeilleure/Instructions/InstEmitSimdHelperArm64.cs b/src/ARMeilleure/Instructions/InstEmitSimdHelperArm64.cs
index f0d242ae..70dfc0fb 100644
--- a/src/ARMeilleure/Instructions/InstEmitSimdHelperArm64.cs
+++ b/src/ARMeilleure/Instructions/InstEmitSimdHelperArm64.cs
@@ -50,7 +50,7 @@ namespace ARMeilleure.Instructions
}
SetIntOrZR(context, op.Rd, op.RegisterSize == RegisterSize.Int32
- ? context.AddIntrinsicInt (inst, n)
+ ? context.AddIntrinsicInt(inst, n)
: context.AddIntrinsicLong(inst, n));
}
@@ -288,7 +288,7 @@ namespace ARMeilleure.Instructions
}
SetIntOrZR(context, op.Rd, op.RegisterSize == RegisterSize.Int32
- ? context.AddIntrinsicInt (inst, n, Const(fBits))
+ ? context.AddIntrinsicInt(inst, n, Const(fBits))
: context.AddIntrinsicLong(inst, n, Const(fBits)));
}
@@ -695,7 +695,7 @@ namespace ARMeilleure.Instructions
{
OpCodeSimdReg op = (OpCodeSimdReg)context.CurrOp;
- bool cmpWithZero = !(op is OpCodeSimdFcond) ? op.Bit3 : false;
+ bool cmpWithZero = op is not OpCodeSimdFcond && op.Bit3;
Intrinsic inst = signalNaNs ? Intrinsic.Arm64FcmpeS : Intrinsic.Arm64FcmpS;
@@ -717,4 +717,4 @@ namespace ARMeilleure.Instructions
SetFlag(context, PState.NFlag, context.BitwiseAnd(context.ShiftRightUI(nzcv, Const(31)), one));
}
}
-} \ No newline at end of file
+}