From b0a29b256aade5dd4bb3e1458c5d854c1e74fcb5 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 5 Aug 2018 02:47:25 -0300 Subject: [PATCH] Address PR feedback --- ChocolArm64/Instruction/ASoftFloat.cs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ChocolArm64/Instruction/ASoftFloat.cs b/ChocolArm64/Instruction/ASoftFloat.cs index 5ed94ef11a..8afa4002a8 100644 --- a/ChocolArm64/Instruction/ASoftFloat.cs +++ b/ChocolArm64/Instruction/ASoftFloat.cs @@ -510,28 +510,28 @@ namespace ChocolArm64.Instruction return true; } - private static bool IsQNaN(uint x) + private static bool IsQNaN(uint op_bits) { - return (x & 0x007FFFFF) != 0 && - (x & 0x7FC00000) == 0x7FC00000; + return (op_bits & 0x007FFFFF) != 0 && + (op_bits & 0x7FC00000) == 0x7FC00000; } - private static bool IsQNaN(ulong x) + private static bool IsQNaN(ulong op_bits) { - return (x & 0x000FFFFFFFFFFFFF) != 0 && - (x & 0x7FF8000000000000) == 0x7FF8000000000000; + return (op_bits & 0x000FFFFFFFFFFFFF) != 0 && + (op_bits & 0x7FF8000000000000) == 0x7FF8000000000000; } - private static bool IsSNaN(uint x) + private static bool IsSNaN(uint op_bits) { - return (x & 0x007FFFFF) != 0 && - (x & 0x7FC00000) == 0x7F800000; + return (op_bits & 0x007FFFFF) != 0 && + (op_bits & 0x7FC00000) == 0x7F800000; } - private static bool IsSNaN(ulong x) + private static bool IsSNaN(ulong op_bits) { - return (x & 0x000FFFFFFFFFFFFF) != 0 && - (x & 0x7FF8000000000000) == 0x7FF0000000000000; + return (op_bits & 0x000FFFFFFFFFFFFF) != 0 && + (op_bits & 0x7FF8000000000000) == 0x7FF0000000000000; } } } \ No newline at end of file