@@ -6,9 +6,9 @@
#include <asm/uaccess.h>
#include "sfp-util.h"
-#include <math-emu/soft-fp.h>
-#include <math-emu/single.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/single.h>
+#include <math-emu-old/double.h>
#define OPC_PAL 0x00
#define OPC_INTA 0x10
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fadd(void *frD, void *frA, void *frB)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
fadds(void *frD, void *frA, void *frB)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fcmpo(u32 *ccr, int crfD, void *frA, void *frB)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fcmpu(u32 *ccr, int crfD, void *frA, void *frB)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fctiw(u32 *frD, void *frB)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fctiwz(u32 *frD, void *frB)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fdiv(void *frD, void *frA, void *frB)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
fdivs(void *frD, void *frA, void *frB)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fmadd(void *frD, void *frA, void *frB, void *frC)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
fmadds(void *frD, void *frA, void *frB, void *frC)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fmsub(void *frD, void *frA, void *frB, void *frC)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
fmsubs(void *frD, void *frA, void *frB, void *frC)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fmul(void *frD, void *frA, void *frB)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
fmuls(void *frD, void *frA, void *frB)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fnmadd(void *frD, void *frA, void *frB, void *frC)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
fnmadds(void *frD, void *frA, void *frB, void *frC)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fnmsub(void *frD, void *frA, void *frB, void *frC)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
fnmsubs(void *frD, void *frA, void *frB, void *frC)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
frsp(void *frD, void *frB)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fsel(u32 *frD, void *frA, u32 *frB, u32 *frC)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fsqrt(void *frD, void *frB)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
fsqrts(void *frD, void *frB)
@@ -3,8 +3,8 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
int
fsub(void *frD, void *frA, void *frB)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
fsubs(void *frD, void *frA, void *frB)
@@ -3,7 +3,7 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/double.h>
+#include <math-emu-old/double.h>
int
lfd(void *frD, void *ea)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
lfs(void *frD, void *ea)
@@ -10,7 +10,7 @@
#include <asm/switch_to.h>
#include <asm/sfp-machine.h>
-#include <math-emu/double.h>
+#include <math-emu-old/double.h>
#define FLOATFUNC(x) extern int x(void *, void *, void *, void *)
@@ -28,9 +28,9 @@
#define FP_EX_BOOKE_E500_SPE
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/single.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/single.h>
+#include <math-emu-old/double.h>
#define EFAPU 0x4
@@ -3,7 +3,7 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
+#include <math-emu-old/soft-fp.h>
int
mcrfs(u32 *ccr, u32 crfD, u32 crfS)
@@ -3,7 +3,7 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
+#include <math-emu-old/soft-fp.h>
int
mffs(u32 *frD)
@@ -3,7 +3,7 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
+#include <math-emu-old/soft-fp.h>
int
mtfsb0(int crbD)
@@ -3,7 +3,7 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
+#include <math-emu-old/soft-fp.h>
int
mtfsb1(int crbD)
@@ -3,7 +3,7 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
+#include <math-emu-old/soft-fp.h>
int
mtfsf(unsigned int FM, u32 *frB)
@@ -3,7 +3,7 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
+#include <math-emu-old/soft-fp.h>
int
mtfsfi(unsigned int crfD, unsigned int IMM)
@@ -3,9 +3,9 @@
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/double.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/single.h>
int
stfs(void *frS, void *ea)
@@ -1,6 +1,6 @@
/* This has so very few changes over libgcc2's __udivmoddi4 it isn't funny. */
-#include <math-emu/soft-fp.h>
+#include <math-emu-old/soft-fp.h>
#undef count_leading_zeros
#define count_leading_zeros __FP_CLZ
@@ -19,8 +19,8 @@
/* Sigh, math-emu. Don't ask. */
#include <asm/sfp-util.h>
-#include <math-emu/soft-fp.h>
-#include <math-emu/single.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/single.h>
int topology_max_mnest;
@@ -19,9 +19,9 @@
#include <asm/io.h>
#include "sfp-util.h"
-#include <math-emu/soft-fp.h>
-#include <math-emu/single.h>
-#include <math-emu/double.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/single.h>
+#include <math-emu-old/double.h>
#define FPUL (fregs->fpul)
#define FPSCR (fregs->fpscr)
@@ -71,10 +71,10 @@
#include <asm/uaccess.h>
#include "sfp-util_32.h"
-#include <math-emu/soft-fp.h>
-#include <math-emu/single.h>
-#include <math-emu/double.h>
-#include <math-emu/quad.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/single.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/quad.h>
#define FLOATFUNC(x) extern int x(void *,void *,void *)
@@ -19,10 +19,10 @@
#include <asm/cacheflush.h>
#include "sfp-util_64.h"
-#include <math-emu/soft-fp.h>
-#include <math-emu/single.h>
-#include <math-emu/double.h>
-#include <math-emu/quad.h>
+#include <math-emu-old/soft-fp.h>
+#include <math-emu-old/single.h>
+#include <math-emu-old/double.h>
+#include <math-emu-old/quad.h>
/* QUAD - ftt == 3 */
#define FMOVQ 0x003
similarity index 100%
rename from include/math-emu/double.h
rename to include/math-emu-old/double.h
similarity index 100%
rename from include/math-emu/op-1.h
rename to include/math-emu-old/op-1.h
similarity index 100%
rename from include/math-emu/op-2.h
rename to include/math-emu-old/op-2.h
similarity index 100%
rename from include/math-emu/op-4.h
rename to include/math-emu-old/op-4.h
similarity index 100%
rename from include/math-emu/op-8.h
rename to include/math-emu-old/op-8.h
similarity index 100%
rename from include/math-emu/op-common.h
rename to include/math-emu-old/op-common.h
similarity index 100%
rename from include/math-emu/quad.h
rename to include/math-emu-old/quad.h
similarity index 100%
rename from include/math-emu/single.h
rename to include/math-emu-old/single.h
similarity index 96%
rename from include/math-emu/soft-fp.h
rename to include/math-emu-old/soft-fp.h
@@ -180,11 +180,11 @@ do { \
#define _FP_CLS_COMBINE(x,y) (((x) << 2) | (y))
-#include <math-emu/op-1.h>
-#include <math-emu/op-2.h>
-#include <math-emu/op-4.h>
-#include <math-emu/op-8.h>
-#include <math-emu/op-common.h>
+#include <math-emu-old/op-1.h>
+#include <math-emu-old/op-2.h>
+#include <math-emu-old/op-4.h>
+#include <math-emu-old/op-8.h>
+#include <math-emu-old/op-common.h>
/* Sigh. Silly things longlong.h needs. */
#define UWtype _FP_W_TYPE