-
Notifications
You must be signed in to change notification settings - Fork 733
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recognize unsafe unaligned getters/setters
The commits adds support for unaligned getter/setters in the Unsafe class for the JIT. Unaligned getters and setters are treated the same as their aligned equivalents for ISAs which permit unaligned reads/stores. This requires a change to the inliner to consider whether to emit an unsafe store/read based on whether the target ISA permits unaligned accesses. So far only the Z target does not permit unaligned accesses, so the getters/setters will fall back to their Java software implementation. Signed-off-by: James You <[email protected]> Also-by: Nazim Bhuiyan <[email protected]>
- Loading branch information
Showing
4 changed files
with
72 additions
and
5 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
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