DSPRelated.com
Forums

Using long long types with 5416

Started by Grant Walker December 1, 2003
I am using a 5416 doing some filtering and would like to have access to the
40 bit registers from C. I originally wrote my code using long long
datatypes(64 bit on the PC) but I found that when I transfered the code to
CCS 2.0 the long long types are not supported.

Does anybody know if there us a way to use these 40 bit registers (as I need
to use their guard bits) from C. The intrinsics seem to always scale to q31
or saturate.

Any help would be appreciated.

Regards
Grant Walker
Wavenet Pty Ltd

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to
http://ninemsn.com.au/mobilemania/default.asp


Grant-

> I am using a 5416 doing some filtering and would like to have access to the
> 40 bit registers from C. I originally wrote my code using long long
> datatypes(64 bit on the PC) but I found that when I transfered the code to
> CCS 2.0 the long long types are not supported.
>
> Does anybody know if there us a way to use these 40 bit registers (as I need
> to use their guard bits) from C. The intrinsics seem to always scale to q31
> or saturate.
>
> Any help would be appreciated.

My suggestion would be that you have reached the point where you should go on an
adventure and enter the wonderful world of C54xx assembly language progamming.
Those
valuable guard band bits are waiting there like treasure to be discovered.

-Jeff