2008-10-24 12:02:00

by Uros Bizjak

[permalink] [raw]
Subject: [PATCH, x86]: Implement change_bit with immediate operand as "lock xorb"

Hello!

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.

Uros.


Attachments:
(No filename) (162.00 B)
bitops.diff.txt (496.00 B)
Download all attachments

2008-10-24 14:53:44

by Uros Bizjak

[permalink] [raw]
Subject: Re: [PATCH, x86]: Implement change_bit with immediate operand as "lock xorb"

On Fri, Oct 24, 2008 at 2:01 PM, Uros Bizjak <[email protected]> wrote:

> 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.

Forgot Signed-off-by line.

Signed-off-by: Uros Bizjak <[email protected]>

Uros.


Attachments:
(No filename) (309.00 B)
bitops.diff.txt (496.00 B)
Download all attachments

2008-10-24 19:11:26

by H. Peter Anvin

[permalink] [raw]
Subject: Re: [PATCH, x86]: Implement change_bit with immediate operand as "lock xorb"

Uros Bizjak wrote:
> Hello!
>
> 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.
>

Looks good, but please resubmit your patch with a Signed-off-by: line
and Cc: [email protected] on the submission.

Thanks!

-hpa

2008-10-25 09:27:18

by Uros Bizjak

[permalink] [raw]
Subject: [PATCH, x86]: Implement change_bit with immediate operand as "lock xorb"

On Fri, Oct 24, 2008 at 2:01 PM, Uros Bizjak <[email protected]> wrote:

> 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.

Forgot Signed-off-by line and added CC.

Signed-off-by: Uros Bizjak <[email protected]>

Uros.


Attachments:
(No filename) (322.00 B)
bitops.diff.txt (496.00 B)
Download all attachments