[PATCH] D12733: [ARM] Use correct half-precision functions in EABI mode

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 08:47:58 PDT 2015


olista01 created this revision.
olista01 added a reviewer: rengolin.
olista01 added a subscriber: llvm-commits.
olista01 set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.

The ARM RTABI defines the half- to single-precision float conversion functions with an __aeabi prefix, but libgcc only has them with a __gnu prefix. Therefore we need to emit the __aeabi version when compiling with an eabi or eabihf triple, and the __gnu version with a gnueabi or gnueabihf triple.

Repository:
  rL LLVM

http://reviews.llvm.org/D12733

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/ARM/fp16.ll
  test/CodeGen/Thumb2/float-intrinsics-double.ll
  test/CodeGen/Thumb2/float-intrinsics-float.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12733.34343.patch
Type: text/x-patch
Size: 6485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150909/993492ba/attachment.bin>


More information about the llvm-commits mailing list