-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#1569 AArch64: Distinguish SP (stack pointer) from ZR (zero register).
Both are encoded as "register 31", so they are never alternatives in the same encoding, but they can be alternatives in an alias. For example: mov x0, xzr is an alias for orr x0, xzr, xzr, lsl #0 mov x0, sp is an alias for add x0, sp, #0, lsl #0 Therefore it is best to clearly distinguish them, and to prevent accidents, make neither DR_REG_XZR nor DR_REG_XSP equal to (DR_REG_X30 + 1). At the same time, remove the AArch64 register enum constants from AArch32. Review-URL: https://codereview.appspot.com/298270043
- Loading branch information
1 parent
a7909b2
commit 6f02d27
Showing
7 changed files
with
38 additions
and
57 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
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