-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PowerPC: Use broader mask for checking loadstore exceptions
We will need to check for EXCEPTION_ALIGNMENT in addition to EXCEPTION_DSI. Let's also throw in EXCEPTION_FAKE_MEMCHECK_HIT while we're at it so we can skip doing fake DSI exceptions for that. Reordering the exceptions enum is done for the sake of saving one instruction on AArch64 when checking for loadstore exceptions. (Bitwise operations can encode immediates containing a run of ones of an arbitrary length, rotated by an arbitrary amount of bits, and in order to make use of this all loadstore exceptions should have adjacent bit positions.)
- Loading branch information
Showing
10 changed files
with
74 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.