Part Number: AM3358
Tool/software: TI C/C++ Compiler
Hi,
I'm coding PRU in c with CCS.
I read PRU Optimizing C/C++ Compiler v2.2 User's Guide (Rev. B)
in section 5.14.5 Built-In Functions (The following built-in functions are supported:......)
I try the __builtin_abs and it is fine.
but when I use __builtin_sqrtf, it shows:
>> main.c, line 10: INTERNAL ERROR: no match for SQRT
This may be a serious problem. Please contact custon support with a description of this problem and a sample of the source file that caused this INTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
and use __builtin_sqrt, it shows:
>> Compilation failure "main.c", line 10: error #1494: builtin function __builtin_sqrt not supported 1 error detected in the compilation of "main.c".
Is the built-in function __builtin_sqrt supported or not?
version are
ti-processor-sdk-linux-am335x-evm-04.01.00.06
CCS7.4.0.00015_linux-x64
ti_cgt_pru_2.2.1_linux_installer_x86.bin
Thanks,
Leo