x86: Implement change_bit with immediate operand as "lock xorb"
authorUros Bizjak <ubizjak@gmail.com>
Fri, 24 Oct 2008 14:53:33 +0000 (16:53 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 5 Nov 2008 17:51:02 +0000 (09:51 -0800)
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: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>

No differences found