Thread (2 messages) flat view 2 messages, 2 authors, 2007-08-15

Re: [PATCH] powerpc: add setmaskedbits macros

From: Paul Mackerras <hidden>
Date: 2007-08-15 21:06:09

Timur Tabi writes:
This patch adds the setmaskedbits_xxx() macros, which are used to set a
multiple-bit bit pattern in a register.  The macros include a mask, which
zeros the respective bits before applying the value via a bitwise-OR.
There are big-endian and little-endian versions for 8, 16, 32, and 64 bits.
Why do we want these?  (Don't tell me, put it in the commit log. :)

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help