From 73a5b102bba947d10e5dd482c1f14bc444d4fcb3 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 14 Mar 2015 12:40:19 +0000 Subject: =?UTF-8?q?=EF=BB=BFPull=20in=20r231965=20from=20upstream=20compil?= =?UTF-8?q?er-rt=20trunk=20(by=20J=C3=B6rg=20Sonnenberger):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refactor float to integer conversion to share the same code. 80bit Intel/PPC long double is excluded due to lacking support for the abstraction. Consistently provide saturation logic. Extend to long double on 128bit IEEE extended platforms. Initial patch with test cases from GuanHong Liu. Reviewed by Steve Canon. Differential Revision: http://reviews.llvm.org/D2804 Pull in r232107 from upstream compiler-rt trunk (by Ed Maste): Use signed int implementation for __fixint Requested by: emaste --- lib/libcompiler_rt/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/libcompiler_rt') diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index e4eecbf..d70549c 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -55,12 +55,18 @@ SRCF= absvdi2 \ fixdfti \ fixsfdi \ fixsfti \ + fixtfdi \ + fixtfsi \ + fixtfti \ fixunsdfdi \ fixunsdfsi \ fixunsdfti \ fixunssfdi \ fixunssfsi \ fixunssfti \ + fixunstfdi \ + fixunstfsi \ + fixunstfti \ fixunsxfdi \ fixunsxfsi \ fixunsxfti \ -- cgit v1.1