Zeroed out the actual LSB in addition to moving it's original value the MSB.
--HG-- extra : convert_revision : d29efe01781d72ee6e61818e7b93972262c0616b
This commit is contained in:
parent
bb2ab310eb
commit
54c9701a25
|
@ -48,7 +48,7 @@ output header {{
|
|||
// MSB put in the LSB position but are otherwise normal.
|
||||
static inline unsigned int dfpr(unsigned int regNum)
|
||||
{
|
||||
return regNum | ((regNum & 1) << 5);
|
||||
return (regNum & (~1)) | ((regNum & 1) << 5);
|
||||
}
|
||||
}};
|
||||
|
||||
|
|
Loading…
Reference in a new issue