Ping again.
Some additional information: Right now, only OpenCL supports this type in
terms of language spec (plus
a number of shading languages, but clang does not support them), but AFAIK
OpenCL does not support
exceptions. ARM and x86 have this type as an extension: storage-only type,
not as argument or return
type. So maybe exception handling is not supported on those targets, i.e.,
one cannot throw a half-
precision floating point typed object.
It is not clear whether the typeid operator is supposed to work on this type.
```
__fp16 foo = 1.5f;
#include <typeinfo>
const char *get_type() {
return typeid(foo).name();
}
```
Any comments or suggestions?
http://llvm-reviews.chandlerc.com/D2750
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits