In llvm there is support for soft float from 32 bit and above, when float16 was needed it would've been promoted to float32 and then softened, this patch changes this behavior into softening float16 by default instead of promoting.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Needs testcases.
Note that we generally can't accept patches which don't affect any in-tree target: they're impossible to test.
include/llvm/CodeGen/RuntimeLibcalls.def | ||
---|---|---|
202 | cosh is the hyperbolic cosine, which is not what you want here. | |
lib/CodeGen/TargetLoweringBase.cpp | ||
1153 | This change isn't acceptable; you can't modify the behavior of other targets to call functions which don't exist. |
cosh is the hyperbolic cosine, which is not what you want here.