I use some complier intrinsics in my code and they work well. I would also like to use the __f32toui16r intrinsic, but it is giving me an error. A simplified version of my code is:
float a = 1.99;
int16_t b = __f32toui16r(a);
I get this message:
INTERNAL ERROR: Illegal use of intrinsic:
__f32toui16r
This may be a serious problem. Please contact customer support with a
description of this problem and a sample of the source files that caused this
INTERNAL ERROR message to appear.
>> Compilation failure
Cannot continue compilation - ABORTING!