dolphin/Source/Core
JosJuice aa9696e1c1 JitArm64: creqv/crorc setting eq bit
When I wrote 71e9766519, there was an interaction I didn't take into
account: When setting eq, SetCRFieldBit assumes that all bits in the
passed-in host register except the least significant bit are 0. But if
we use EON or ORN, all bits except the least significant bit get set to
1. This can cause eq to end up unset when it should be set.

This commit fixes the issue.

crandc is unaffected by the issue because the "1" bits get ANDed with
"0" bits from the first operand.

Note that in practice, we never have both bits_1_to_31_are_set and
negate at once, so while it looks like this commit adds an extra AND
instruction in some cases, those cases don't happen in practice, meaning
this fix shouldn't affect performance.
2025-01-15 18:35:05 +01:00
..
AudioCommon Adjust order and spacing of various #includes 2024-07-26 14:28:34 -07:00
Common Merge pull request #13268 from AdmiralCurtiss/ini-delete-case-sensitive 2025-01-08 21:42:32 +01:00
Core JitArm64: creqv/crorc setting eq bit 2025-01-15 18:35:05 +01:00
DiscIO Simplify std::search with Common::ContainsSubrange 2025-01-01 09:52:03 -08:00
DolphinNoGUI GDBStub: Signal Breakpoint Changes To Host 2024-11-15 15:12:11 -08:00
DolphinQt Merge pull request #13265 from Sintendo/warnings 2025-01-08 21:44:24 +00:00
DolphinTool VerifyTool: Add missing USE_RETRO_ACHIEVEMENTS ifdefs 2024-12-15 18:15:57 +01:00
InputCommon InputCommon: Move input mapping function into a class for non-blocking usage. 2025-01-01 16:48:32 -06:00
MacUpdater ScmRevGen: Don't generate Info.plist files directly 2024-12-05 14:56:08 -05:00
UICommon Simplify std::find with Common::Contains 2025-01-01 09:52:03 -08:00
UpdaterCommon Simplify std::copy with std::copy_n 2024-10-07 15:34:56 -07:00
VideoBackends Simplify std::find_if with Common::Contains 2025-01-01 09:52:03 -08:00
VideoCommon Merge pull request #13180 from jordan-woyak/eof-logic 2025-01-08 05:27:42 +01:00
WinUpdater Remove redundant semicolons 2024-08-20 14:59:54 +02:00
CMakeLists.txt CMakeLists: Embed macOS Updater app inside DolphinQt 2024-08-01 22:06:55 -04:00
DolphinLib.ARM64.props
DolphinLib.props Common: Create "Contains.h" Algorithm Header 2025-01-01 09:52:01 -08:00
DolphinLib.vcxproj Externals: Convert minizip-ng To Submodule 2024-05-03 12:43:33 -07:00
DolphinLib.vcxproj.user
DolphinLib.x64.props
VersionInfo.plist.in ScmRevGen: Don't generate Info.plist files directly 2024-12-05 14:56:08 -05:00