-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Extended Asm ignored constraints
This commit fixes the case where the register of for the Extended Asm input or output is known. Before this commit, the following case: register long __a0 asm ("a0") = one; asm volatile ( "ecall\n\t" : "+r" (__a0) // NOTE the +r here ); Didn't treat `a0` as an input+output register (+ contraint) as the code skipped the constraint processing when the register was already chosen (instead of allocated later). This issue comes from f081acb, that was taken as a reference in every other Extended Assembler implementation.
- Loading branch information
1 parent
4944f50
commit 0703df1
Showing
3 changed files
with
18 additions
and
8 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