-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-9078
-
-
-
C2000_21.12.0.STS
-
default
These commands show a CLA file that uses these intrinsics, then builds it once for COFF ABI, then again for EABI. The COFF ABI build emits warnings which indicate the intrinsics are not recognized. The compiler manual makes no mention of either ABI in the documentation of these intrinsics.
C:\workdir>type file.cla #define LF0(v) (__u32_bits_as_f32(__f32_bits_as_u32(v) & 0xffff0000)) float pi0; void fxn() { pi0 = LF0(3.14159); } C:\workdir>cl2000 --cla_support=cla1 --abi=coffabi file.cla "file.cla", line 6: warning: function "__u32_bits_as_f32" declared implicitly "file.cla", line 6: warning: function "__f32_bits_as_u32" declared implicitly C:\workdir>cl2000 --cla_support=cla1 --abi=eabi file.cla
Note file.cla is attached.