-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loongarch: sljit_emit_atomic_load/store implementation
Assumes all atomics are at least 32bit aligned by setting SLJIT_ATOMIC_WIDTH. In that mode, only the bits that correspond to the operand size are used and the rest are pressumed to be 0. Operations with lower alignment than it are undefined and will result in a SIGBUS. If SLJIT_ATOMIC_EMULATION is defined, then additional code is enabled that allow manipulating those narrower types at a significant performance cost. Original code by Mingtao, all bugs mine.
- Loading branch information
Showing
6 changed files
with
246 additions
and
79 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
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.