[llvm-commits] [compiler-rt] r85263 - in /compiler-rt/trunk/lib: ./ arm/ i386/ ppc/ x86_64/
Daniel Dunbar
daniel at zuster.org
Tue Oct 27 10:49:51 PDT 2009
Author: ddunbar
Date: Tue Oct 27 12:49:50 2009
New Revision: 85263
URL: http://llvm.org/viewvc/llvm-project?rev=85263&view=rev
Log:
Add assembly.h for use in .S files.
Added:
compiler-rt/trunk/lib/assembly.h
Modified:
compiler-rt/trunk/lib/arm/Makefile.mk
compiler-rt/trunk/lib/arm/adddf3vfp.S
compiler-rt/trunk/lib/arm/addsf3vfp.S
compiler-rt/trunk/lib/arm/bswapdi2.S
compiler-rt/trunk/lib/arm/bswapsi2.S
compiler-rt/trunk/lib/arm/divdf3vfp.S
compiler-rt/trunk/lib/arm/divsf3vfp.S
compiler-rt/trunk/lib/arm/eqdf2vfp.S
compiler-rt/trunk/lib/arm/eqsf2vfp.S
compiler-rt/trunk/lib/arm/extendsfdf2vfp.S
compiler-rt/trunk/lib/arm/fixdfsivfp.S
compiler-rt/trunk/lib/arm/fixsfsivfp.S
compiler-rt/trunk/lib/arm/fixunsdfsivfp.S
compiler-rt/trunk/lib/arm/fixunssfsivfp.S
compiler-rt/trunk/lib/arm/floatsidfvfp.S
compiler-rt/trunk/lib/arm/floatsisfvfp.S
compiler-rt/trunk/lib/arm/floatunssidfvfp.S
compiler-rt/trunk/lib/arm/floatunssisfvfp.S
compiler-rt/trunk/lib/arm/gedf2vfp.S
compiler-rt/trunk/lib/arm/gesf2vfp.S
compiler-rt/trunk/lib/arm/gtdf2vfp.S
compiler-rt/trunk/lib/arm/gtsf2vfp.S
compiler-rt/trunk/lib/arm/ledf2vfp.S
compiler-rt/trunk/lib/arm/lesf2vfp.S
compiler-rt/trunk/lib/arm/ltdf2vfp.S
compiler-rt/trunk/lib/arm/ltsf2vfp.S
compiler-rt/trunk/lib/arm/muldf3vfp.S
compiler-rt/trunk/lib/arm/mulsf3vfp.S
compiler-rt/trunk/lib/arm/nedf2vfp.S
compiler-rt/trunk/lib/arm/negdf2vfp.S
compiler-rt/trunk/lib/arm/negsf2vfp.S
compiler-rt/trunk/lib/arm/nesf2vfp.S
compiler-rt/trunk/lib/arm/subdf3vfp.S
compiler-rt/trunk/lib/arm/subsf3vfp.S
compiler-rt/trunk/lib/arm/switch.S
compiler-rt/trunk/lib/arm/truncdfsf2vfp.S
compiler-rt/trunk/lib/arm/unorddf2vfp.S
compiler-rt/trunk/lib/arm/unordsf2vfp.S
compiler-rt/trunk/lib/i386/Makefile.mk
compiler-rt/trunk/lib/i386/ashldi3.S
compiler-rt/trunk/lib/i386/ashrdi3.S
compiler-rt/trunk/lib/i386/divdi3.S
compiler-rt/trunk/lib/i386/floatdidf.S
compiler-rt/trunk/lib/i386/floatdisf.S
compiler-rt/trunk/lib/i386/floatdixf.S
compiler-rt/trunk/lib/i386/floatundidf.S
compiler-rt/trunk/lib/i386/floatundisf.S
compiler-rt/trunk/lib/i386/floatundixf.S
compiler-rt/trunk/lib/i386/lshrdi3.S
compiler-rt/trunk/lib/i386/moddi3.S
compiler-rt/trunk/lib/i386/muldi3.S
compiler-rt/trunk/lib/i386/udivdi3.S
compiler-rt/trunk/lib/i386/umoddi3.S
compiler-rt/trunk/lib/ppc/Makefile.mk
compiler-rt/trunk/lib/ppc/restFP.S
compiler-rt/trunk/lib/ppc/saveFP.S
compiler-rt/trunk/lib/x86_64/Makefile.mk
compiler-rt/trunk/lib/x86_64/floatundidf.S
compiler-rt/trunk/lib/x86_64/floatundisf.S
compiler-rt/trunk/lib/x86_64/floatundixf.S
Modified: compiler-rt/trunk/lib/arm/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/Makefile.mk?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/Makefile.mk (original)
+++ compiler-rt/trunk/lib/arm/Makefile.mk Tue Oct 27 12:49:50 2009
@@ -17,6 +17,6 @@
Target := Optimized
# FIXME: use automatic dependencies?
-Dependencies := $(wildcard $(Dir)/*.h)
+Dependencies := $(wildcard lib/*.h $(Dir)/*.h)
include make/subdir.mk
Modified: compiler-rt/trunk/lib/arm/adddf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/adddf3vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/adddf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/adddf3vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// double __adddf3vfp(double a, double b) { return a + b; }
Modified: compiler-rt/trunk/lib/arm/addsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/addsf3vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/addsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/addsf3vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern float __addsf3vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/bswapdi2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/bswapdi2.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/bswapdi2.S (original)
+++ compiler-rt/trunk/lib/arm/bswapdi2.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern uint64_t __bswapdi2(uint64_t);
Modified: compiler-rt/trunk/lib/arm/bswapsi2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/bswapsi2.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/bswapsi2.S (original)
+++ compiler-rt/trunk/lib/arm/bswapsi2.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern uint32_t __bswapsi2(uint32_t);
Modified: compiler-rt/trunk/lib/arm/divdf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/divdf3vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/divdf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/divdf3vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __divdf3vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/divsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/divsf3vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/divsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/divsf3vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern float __divsf3vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/eqdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/eqdf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/eqdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/eqdf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __eqdf2vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/eqsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/eqsf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/eqsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/eqsf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __eqsf2vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/extendsfdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/extendsfdf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/extendsfdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/extendsfdf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __extendsfdf2vfp(float a);
Modified: compiler-rt/trunk/lib/arm/fixdfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/fixdfsivfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/fixdfsivfp.S (original)
+++ compiler-rt/trunk/lib/arm/fixdfsivfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __fixdfsivfp(double a);
Modified: compiler-rt/trunk/lib/arm/fixsfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/fixsfsivfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/fixsfsivfp.S (original)
+++ compiler-rt/trunk/lib/arm/fixsfsivfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __fixsfsivfp(float a);
Modified: compiler-rt/trunk/lib/arm/fixunsdfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/fixunsdfsivfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/fixunsdfsivfp.S (original)
+++ compiler-rt/trunk/lib/arm/fixunsdfsivfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern unsigned int __fixunsdfsivfp(double a);
Modified: compiler-rt/trunk/lib/arm/fixunssfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/fixunssfsivfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/fixunssfsivfp.S (original)
+++ compiler-rt/trunk/lib/arm/fixunssfsivfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern unsigned int __fixunssfsivfp(float a);
Modified: compiler-rt/trunk/lib/arm/floatsidfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/floatsidfvfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/floatsidfvfp.S (original)
+++ compiler-rt/trunk/lib/arm/floatsidfvfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __floatsidfvfp(int a);
Modified: compiler-rt/trunk/lib/arm/floatsisfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/floatsisfvfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/floatsisfvfp.S (original)
+++ compiler-rt/trunk/lib/arm/floatsisfvfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern float __floatsisfvfp(int a);
Modified: compiler-rt/trunk/lib/arm/floatunssidfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/floatunssidfvfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/floatunssidfvfp.S (original)
+++ compiler-rt/trunk/lib/arm/floatunssidfvfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __floatunssidfvfp(unsigned int a);
Modified: compiler-rt/trunk/lib/arm/floatunssisfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/floatunssisfvfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/floatunssisfvfp.S (original)
+++ compiler-rt/trunk/lib/arm/floatunssisfvfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern float __floatunssisfvfp(unsigned int a);
Modified: compiler-rt/trunk/lib/arm/gedf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/gedf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/gedf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/gedf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __gedf2vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/gesf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/gesf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/gesf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/gesf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __gesf2vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/gtdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/gtdf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/gtdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/gtdf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __gtdf2vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/gtsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/gtsf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/gtsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/gtsf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __gtsf2vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/ledf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/ledf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/ledf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/ledf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __ledf2vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/lesf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/lesf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/lesf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/lesf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __lesf2vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/ltdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/ltdf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/ltdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/ltdf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __ltdf2vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/ltsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/ltsf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/ltsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/ltsf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __ltsf2vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/muldf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/muldf3vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/muldf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/muldf3vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __muldf3vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/mulsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/mulsf3vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/mulsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/mulsf3vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern float __mulsf3vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/nedf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/nedf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/nedf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/nedf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __nedf2vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/negdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/negdf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/negdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/negdf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __negdf2vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/negsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/negsf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/negsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/negsf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern float __negsf2vfp(float a);
Modified: compiler-rt/trunk/lib/arm/nesf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/nesf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/nesf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/nesf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __nesf2vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/subdf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/subdf3vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/subdf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/subdf3vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern double __subdf3vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/subsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/subsf3vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/subsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/subsf3vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern float __subsf3vfp(float a, float b);
Modified: compiler-rt/trunk/lib/arm/switch.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/switch.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/switch.S (original)
+++ compiler-rt/trunk/lib/arm/switch.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
+
//
// When compiling switch statements in thumb mode, the compiler
// can use these __switch* helper functions The compiler emits a blx to
Modified: compiler-rt/trunk/lib/arm/truncdfsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/truncdfsf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/truncdfsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/truncdfsf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern float __truncdfsf2vfp(double a);
Modified: compiler-rt/trunk/lib/arm/unorddf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/unorddf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/unorddf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/unorddf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __unorddf2vfp(double a, double b);
Modified: compiler-rt/trunk/lib/arm/unordsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/unordsf2vfp.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/unordsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/unordsf2vfp.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// extern int __unordsf2vfp(float a, float b);
Added: compiler-rt/trunk/lib/assembly.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/assembly.h?rev=85263&view=auto
==============================================================================
--- compiler-rt/trunk/lib/assembly.h (added)
+++ compiler-rt/trunk/lib/assembly.h Tue Oct 27 12:49:50 2009
@@ -0,0 +1,42 @@
+/* ===-- assembly.h - compiler-rt assembler support macros -----------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file defines macros for use in compiler-rt assembler source.
+ * This file is not part of the interface of this library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
+
+#ifndef COMPILERRT_ASSEMBLY_H
+#define COMPILERRT_ASSEMBLY_H
+
+// Define SYMBOL_NAME to add the appropriate symbol prefix; we can't use
+// USER_LABEL_PREFIX directly because of cpp brokenness.
+#if defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__)
+
+#define SYMBOL_NAME(name) name
+#define SEPARATOR @
+
+#else
+
+#define SYMBOL_NAME(name) _##name
+#define SEPARATOR ;
+
+#endif
+
+#define DEFINE_COMPILERRT_FUNCTION(name) \
+ .globl SYMBOL_NAME(name) SEPARATOR \
+ SYMBOL_NAME(name):
+
+#define DEFINE_COMPILERRT_PRIVATE_FUNCTION(name) \
+ .globl SYMBOL_NAME(name) SEPARATOR \
+ .private_extern SYMBOL_NAME(name) SEPARATOR \
+ SYMBOL_NAME(name):
+
+#endif /* COMPILERRT_ASSEMBLY_H */
Modified: compiler-rt/trunk/lib/i386/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/Makefile.mk?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/Makefile.mk (original)
+++ compiler-rt/trunk/lib/i386/Makefile.mk Tue Oct 27 12:49:50 2009
@@ -17,6 +17,6 @@
Target := Optimized
# FIXME: use automatic dependencies?
-Dependencies := $(wildcard $(Dir)/*.h)
+Dependencies := $(wildcard lib/*.h $(Dir)/*.h)
include make/subdir.mk
Modified: compiler-rt/trunk/lib/i386/ashldi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/ashldi3.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/ashldi3.S (original)
+++ compiler-rt/trunk/lib/i386/ashldi3.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// di_int __ashldi3(di_int input, int count);
// This routine has some extra memory traffic, loading the 64-bit input via two
Modified: compiler-rt/trunk/lib/i386/ashrdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/ashrdi3.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/ashrdi3.S (original)
+++ compiler-rt/trunk/lib/i386/ashrdi3.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// di_int __ashrdi3(di_int input, int count);
#ifdef __i386__
Modified: compiler-rt/trunk/lib/i386/divdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/divdi3.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/divdi3.S (original)
+++ compiler-rt/trunk/lib/i386/divdi3.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// di_int __divdi3(di_int a, di_int b);
// result = a / b.
Modified: compiler-rt/trunk/lib/i386/floatdidf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatdidf.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatdidf.S (original)
+++ compiler-rt/trunk/lib/i386/floatdidf.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// double __floatundidf(du_int a);
#ifdef __i386__
Modified: compiler-rt/trunk/lib/i386/floatdisf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatdisf.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatdisf.S (original)
+++ compiler-rt/trunk/lib/i386/floatdisf.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// float __floatdisf(di_int a);
// This routine has some extra memory traffic, loading the 64-bit input via two
Modified: compiler-rt/trunk/lib/i386/floatdixf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatdixf.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatdixf.S (original)
+++ compiler-rt/trunk/lib/i386/floatdixf.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// float __floatdixf(di_int a);
#ifdef __i386__
Modified: compiler-rt/trunk/lib/i386/floatundidf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatundidf.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatundidf.S (original)
+++ compiler-rt/trunk/lib/i386/floatundidf.S Tue Oct 27 12:49:50 2009
@@ -11,6 +11,8 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
+
// double __floatundidf(du_int a);
#ifdef __i386__
Modified: compiler-rt/trunk/lib/i386/floatundisf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatundisf.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatundisf.S (original)
+++ compiler-rt/trunk/lib/i386/floatundisf.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// float __floatundisf(du_int a);
// Note that there is a hardware instruction, fildll, that does most of what
Modified: compiler-rt/trunk/lib/i386/floatundixf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatundixf.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatundixf.S (original)
+++ compiler-rt/trunk/lib/i386/floatundixf.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// long double __floatundixf(du_int a);16
#ifdef __i386__
Modified: compiler-rt/trunk/lib/i386/lshrdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/lshrdi3.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/lshrdi3.S (original)
+++ compiler-rt/trunk/lib/i386/lshrdi3.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// di_int __lshrdi3(di_int input, int count);
// This routine has some extra memory traffic, loading the 64-bit input via two
Modified: compiler-rt/trunk/lib/i386/moddi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/moddi3.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/moddi3.S (original)
+++ compiler-rt/trunk/lib/i386/moddi3.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// di_int __moddi3(di_int a, di_int b);
// result = remainder of a / b.
Modified: compiler-rt/trunk/lib/i386/muldi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/muldi3.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/muldi3.S (original)
+++ compiler-rt/trunk/lib/i386/muldi3.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// di_int __muldi3(di_int a, di_int b);
#ifdef __i386__
Modified: compiler-rt/trunk/lib/i386/udivdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/udivdi3.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/udivdi3.S (original)
+++ compiler-rt/trunk/lib/i386/udivdi3.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// du_int __udivdi3(du_int a, du_int b);
// result = a / b.
Modified: compiler-rt/trunk/lib/i386/umoddi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/umoddi3.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/umoddi3.S (original)
+++ compiler-rt/trunk/lib/i386/umoddi3.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// du_int __umoddi3(du_int a, du_int b);
// result = remainder of a / b.
Modified: compiler-rt/trunk/lib/ppc/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ppc/Makefile.mk?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ppc/Makefile.mk (original)
+++ compiler-rt/trunk/lib/ppc/Makefile.mk Tue Oct 27 12:49:50 2009
@@ -17,6 +17,6 @@
Target := Optimized
# FIXME: use automatic dependencies?
-Dependencies := $(wildcard $(Dir)/*.h)
+Dependencies := $(wildcard lib/*.h $(Dir)/*.h)
include make/subdir.mk
Modified: compiler-rt/trunk/lib/ppc/restFP.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ppc/restFP.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ppc/restFP.S (original)
+++ compiler-rt/trunk/lib/ppc/restFP.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// Helper function used by compiler to restore ppc floating point registers at
Modified: compiler-rt/trunk/lib/ppc/saveFP.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ppc/saveFP.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ppc/saveFP.S (original)
+++ compiler-rt/trunk/lib/ppc/saveFP.S Tue Oct 27 12:49:50 2009
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
//
// Helper function used by compiler to save ppc floating point registers in
Modified: compiler-rt/trunk/lib/x86_64/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/x86_64/Makefile.mk?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/x86_64/Makefile.mk (original)
+++ compiler-rt/trunk/lib/x86_64/Makefile.mk Tue Oct 27 12:49:50 2009
@@ -17,6 +17,6 @@
Target := Optimized
# FIXME: use automatic dependencies?
-Dependencies := $(wildcard $(Dir)/*.h)
+Dependencies := $(wildcard lib/*.h $(Dir)/*.h)
include make/subdir.mk
Modified: compiler-rt/trunk/lib/x86_64/floatundidf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/x86_64/floatundidf.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/x86_64/floatundidf.S (original)
+++ compiler-rt/trunk/lib/x86_64/floatundidf.S Tue Oct 27 12:49:50 2009
@@ -11,6 +11,8 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
+
// double __floatundidf(du_int a);
#ifdef __x86_64__
Modified: compiler-rt/trunk/lib/x86_64/floatundisf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/x86_64/floatundisf.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/x86_64/floatundisf.S (original)
+++ compiler-rt/trunk/lib/x86_64/floatundisf.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// float __floatundisf(du_int a);
#ifdef __x86_64__
Modified: compiler-rt/trunk/lib/x86_64/floatundixf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/x86_64/floatundixf.S?rev=85263&r1=85262&r2=85263&view=diff
==============================================================================
--- compiler-rt/trunk/lib/x86_64/floatundixf.S (original)
+++ compiler-rt/trunk/lib/x86_64/floatundixf.S Tue Oct 27 12:49:50 2009
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// long double __floatundixf(du_int a);
#ifdef __x86_64__
More information about the llvm-commits
mailing list