We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"place n bits from rs1 into [m+n-1 : m] of rd"
insb
p.insert
The text was updated successfully, but these errors were encountered:
Note that the eqivalent bfp from 0.94 bitmanip is a 3 instruction sequence, 1 of them being loop invariant in equivalent use case.
bitfield inserts are also usefull for uC register acces
// switch PLL (0b10) to HSE (0b01) RCC->CFGR = (RCC->CFGR & ~RCC_CFGR_SW_Msk) | (RCC_CFGR_SW_HSE);
in this sample 0.94 bfp gives no advantage - andn + or + extra load of RCC_CFGR_SW_Msk solves it in 3 instructions
bfp
andn
or
Sorry, something went wrong.
No branches or pull requests
"place n bits from rs1 into [m+n-1 : m] of rd"
insb
instructionp.insert
The text was updated successfully, but these errors were encountered: