unsigned short is sign extended in 34K DSP-ASE support
Sachin Kumar
ping.to.sachin at gmail.com
Mon Oct 11 13:44:12 UTC 2010
Hi All,
I am getting a problem with using the unsigned short arrays. When accessing
the array in a loop using a variable counter, the compiler generated
assembly incorporates LHX instruction. This instruction performs a 16 bit
sign extend, thus treating the unsigned short as a signed one.
Can anyone tell me how to disable this instruction for being used for
unsigned shorts, and if not, then how to overall disable this instruction.
Thanks in advance,
Sachin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/mips-gnu-discuss/attachments/20101011/0f05b247/attachment.html>
More information about the mips-gnu-discuss
mailing list