[llvm-commits] [compiler-rt] r144750 - in /compiler-rt/trunk/lib: ppc/DD.h ppc/fixtfdi.c ppc/fixunstfdi.c ppc/floatditf.c ppc/floatunditf.c x86_64/floatdidf.c x86_64/floatdisf.c x86_64/floatdixf.c

Daniel Dunbar daniel at zuster.org
Tue Nov 15 17:19:16 PST 2011


Author: ddunbar
Date: Tue Nov 15 19:19:16 2011
New Revision: 144750

URL: http://llvm.org/viewvc/llvm-project?rev=144750&view=rev
Log:
lib/{ppc,x86_64}: Fixup a number of files to include int_lib.h instead of
directly including system headers.

Modified:
    compiler-rt/trunk/lib/ppc/DD.h
    compiler-rt/trunk/lib/ppc/fixtfdi.c
    compiler-rt/trunk/lib/ppc/fixunstfdi.c
    compiler-rt/trunk/lib/ppc/floatditf.c
    compiler-rt/trunk/lib/ppc/floatunditf.c
    compiler-rt/trunk/lib/x86_64/floatdidf.c
    compiler-rt/trunk/lib/x86_64/floatdisf.c
    compiler-rt/trunk/lib/x86_64/floatdixf.c

Modified: compiler-rt/trunk/lib/ppc/DD.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ppc/DD.h?rev=144750&r1=144749&r2=144750&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ppc/DD.h (original)
+++ compiler-rt/trunk/lib/ppc/DD.h Tue Nov 15 19:19:16 2011
@@ -1,7 +1,7 @@
 #ifndef __DD_HEADER
 #define __DD_HEADER
 
-#include <stdint.h>
+#include "../int_lib.h"
 
 typedef union {
 	long double ld;

Modified: compiler-rt/trunk/lib/ppc/fixtfdi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ppc/fixtfdi.c?rev=144750&r1=144749&r2=144750&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ppc/fixtfdi.c (original)
+++ compiler-rt/trunk/lib/ppc/fixtfdi.c Tue Nov 15 19:19:16 2011
@@ -7,7 +7,6 @@
  */
 
 #include "DD.h"
-#include <stdint.h>
 
 uint64_t __fixtfdi(long double input)
 {

Modified: compiler-rt/trunk/lib/ppc/fixunstfdi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ppc/fixunstfdi.c?rev=144750&r1=144749&r2=144750&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ppc/fixunstfdi.c (original)
+++ compiler-rt/trunk/lib/ppc/fixunstfdi.c Tue Nov 15 19:19:16 2011
@@ -6,7 +6,6 @@
 /* This file implements the PowerPC 128-bit double-double -> uint64_t conversion */
 
 #include "DD.h"
-#include <stdint.h>
 
 uint64_t __fixunstfdi(long double input)
 {

Modified: compiler-rt/trunk/lib/ppc/floatditf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ppc/floatditf.c?rev=144750&r1=144749&r2=144750&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ppc/floatditf.c (original)
+++ compiler-rt/trunk/lib/ppc/floatditf.c Tue Nov 15 19:19:16 2011
@@ -6,7 +6,6 @@
 /* This file implements the PowerPC long long -> long double conversion */
 
 #include "DD.h"
-#include <stdint.h>
 
 long double __floatditf(int64_t a) {
 	

Modified: compiler-rt/trunk/lib/ppc/floatunditf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ppc/floatunditf.c?rev=144750&r1=144749&r2=144750&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ppc/floatunditf.c (original)
+++ compiler-rt/trunk/lib/ppc/floatunditf.c Tue Nov 15 19:19:16 2011
@@ -6,7 +6,6 @@
 /* This file implements the PowerPC unsigned long long -> long double conversion */
 
 #include "DD.h"
-#include <stdint.h>
 
 long double __floatunditf(uint64_t a) {
 	

Modified: compiler-rt/trunk/lib/x86_64/floatdidf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/x86_64/floatdidf.c?rev=144750&r1=144749&r2=144750&view=diff
==============================================================================
--- compiler-rt/trunk/lib/x86_64/floatdidf.c (original)
+++ compiler-rt/trunk/lib/x86_64/floatdidf.c Tue Nov 15 19:19:16 2011
@@ -6,7 +6,7 @@
 
 #ifdef __x86_64__
 
-#include <stdint.h>
+#include "../int_lib.h"
 
 double __floatdidf(int64_t a)
 {

Modified: compiler-rt/trunk/lib/x86_64/floatdisf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/x86_64/floatdisf.c?rev=144750&r1=144749&r2=144750&view=diff
==============================================================================
--- compiler-rt/trunk/lib/x86_64/floatdisf.c (original)
+++ compiler-rt/trunk/lib/x86_64/floatdisf.c Tue Nov 15 19:19:16 2011
@@ -4,7 +4,7 @@
 
 #ifdef __x86_64__
 
-#include <stdint.h>
+#include "../int_lib.h"
 
 float __floatdisf(int64_t a)
 {

Modified: compiler-rt/trunk/lib/x86_64/floatdixf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/x86_64/floatdixf.c?rev=144750&r1=144749&r2=144750&view=diff
==============================================================================
--- compiler-rt/trunk/lib/x86_64/floatdixf.c (original)
+++ compiler-rt/trunk/lib/x86_64/floatdixf.c Tue Nov 15 19:19:16 2011
@@ -6,7 +6,7 @@
 
 #ifdef __x86_64__
 
-#include <stdint.h>
+#include "../int_lib.h"
 
 long double __floatdixf(int64_t a)
 {





More information about the llvm-commits mailing list