| Issue |
183746
|
| Summary |
[hexagon] clang does not provide HVX IEEE define ; intrinsics are not guarded with a define
|
| Labels |
backend:Hexagon
|
| Assignees |
|
| Reporter |
androm3da
|
The HVX IEEE instruction set is not present on all cores with HVX. The compiler's emission of these instructions is guarded by a flag. But there's two bugs here: (1) prototypes defined in `hvx_hexagon_protos.h` are not guarded by a corresponding preprocessor define. And (2) without a preprocessor define emitted by the compiler, developers who want to write portable code can't provide an implementation that works both with and without `-mhvx-ieee-fp`.
We need a `__HVX_IEEE_FP__` define from the compiler in order to be able to safely use these instructions.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs