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:
Gabe Black 2006-10-18 20:53:59 -04:00
parent bb2ab310eb
commit 54c9701a25

View file

@ -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);
}
}};