Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 838e8bb7 authored by Uros Bizjak's avatar Uros Bizjak Committed by H. Peter Anvin
Browse files

x86: Implement change_bit with immediate operand as "lock xorb"



Impact: Minor optimization.

Implement change_bit with immediate bit count as "lock xorb". This is
similar to  "lock orb" and "lock andb"  for set_bit and clear_bit
functions.

Signed-off-by: default avatarUros Bizjak <ubizjak@gmail.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent a376f30a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment