-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before: ``` xchg r10, rbx lock cmpxchg16b xmmword ptr [rdi] sete r8b mov rbx, r10 xor ecx, ecx test r8b, r8b sete cl ``` After: ``` xchg r10, rbx lock cmpxchg16b xmmword ptr [rdi] setne r8b mov rbx, r10 xor r8b, 1 movzx ecx, r8b ``` Note: There is xor in "After" because it is an assembly generated for a function that returns Result<u128, u128> (discriminant of Result: 0==Ok,1==Err, bool: 0==false,1=true).
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
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