diff --git a/builtins/target-generic-common.ll b/builtins/target-generic-common.ll index 6e280ba6..e4c70aa4 100644 --- a/builtins/target-generic-common.ll +++ b/builtins/target-generic-common.ll @@ -98,6 +98,14 @@ declare void @__aos_to_soa4_float(float * noalias %p, * noalias * noalias %out2, * noalias %out3) nounwind +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; half conversion routines + +declare float @__half_to_float_uniform(i16 %v) nounwind readnone +declare @__half_to_float_varying( %v) nounwind readnone +declare i16 @__float_to_half_uniform(float %v) nounwind readnone +declare @__float_to_half_varying( %v) nounwind readnone + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; math