On 3 June 2012 17:06, i-love-spam wrote:
> I'm writing some optimized functions for gcc-arm in a library that obuses
> shorts. So the problem I have is that in extremely many places resutls of my
> optimized functions are needlessly sign or zero extended. That is, gcc adds
> UXTH or SXTH opcode
I'm writing some optimized functions for gcc-arm in a library that obuses
shorts. So the problem I have is that in extremely many places resutls of my
optimized functions are needlessly sign or zero extended. That is, gcc adds
UXTH or SXTH opcode.
For example, imagine if I use clz instructions