[PATCH] [Compiler-RT] Implements __gnu_f2h_ieee and __gnu_h2f_ieee

Wan, Xiaofei xiaofei.wan at intel.com
Fri Aug 15 06:45:58 PDT 2014


On platforms which have no fp16 registers and instructions; It use lib-calls(__gnu_f2h_ieee and __gnu_h2f_ieee) to lower convert_from_fp16(llvm.convert.from.fp16) and convert_to_fp16(llvm.convert.to.fp16), but there are no implementations for these two lib-calls. This patch implements __gnu_f2h_ieee and __gnu_h2f_ieee for the compiler_rt library.

http://reviews.llvm.org/D4927

Files:
  lib/builtins/CMakeLists.txt
  lib/builtins/fp16.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4927.12554.patch
Type: text/x-patch
Size: 4518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140815/7fe54f63/attachment.bin>


More information about the llvm-commits mailing list