about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/soft-fp
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/soft-fp')
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_add.c16
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_cmp.c12
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c12
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_div.c16
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c8
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_feq.c12
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_fge.c12
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_fgt.c12
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_fle.c12
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_flt.c12
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_fne.c12
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_mul.c16
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_qtod.c8
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c10
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_qtos.c8
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c10
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c10
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_qtox.c10
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c12
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_stoq.c8
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_sub.c16
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/sfp-machine.h12
22 files changed, 128 insertions, 128 deletions
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_add.c b/sysdeps/sparc/sparc64/soft-fp/qp_add.c
index b77f4d49c6..2f3a6309aa 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_add.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_add.c
@@ -34,12 +34,12 @@ void _Qp_add(long double *c, const long double *a, const long double *b)
   FP_ADD_Q(C, A, B);
   FP_PACK_QP(c, C);
   QP_HANDLE_EXCEPTIONS(__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 ldd [%2], %%f56
-	 ldd [%2+8], %%f58
-	 faddq %%f52, %%f56, %%f60
-	 std %%f60, [%0]
-	 std %%f62, [%0+8]
-	" : : "r" (c), "r" (a), "r" (b) : QP_CLOBBER));
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	ldd [%2], %%f56\n"
+"	ldd [%2+8], %%f58\n"
+"	faddq %%f52, %%f56, %%f60\n"
+"	std %%f60, [%0]\n"
+"	std %%f62, [%0+8]\n"
+"	" : : "r" (c), "r" (a), "r" (b) : QP_CLOBBER));
 }
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_cmp.c b/sysdeps/sparc/sparc64/soft-fp/qp_cmp.c
index 739fb5e910..52cbb47bd0 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_cmp.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_cmp.c
@@ -38,12 +38,12 @@ int _Qp_cmp(const long double *a, const long double *b)
     FP_SET_EXCEPTION(FP_EX_INVALID);
   QP_HANDLE_EXCEPTIONS(
   	__asm (
-	"ldd [%0], %%f52
-	 ldd [%0+8], %%f54
-	 ldd [%1], %%f56
-	 ldd [%1+8], %%f58
-	 fcmpq %%fcc3, %%f52, %%f56
-	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
+"	ldd [%0], %%f52\n"
+"	ldd [%0+8], %%f54\n"
+"	ldd [%1], %%f56\n"
+"	ldd [%1+8], %%f58\n"
+"	fcmpq %%fcc3, %%f52, %%f56\n"
+"	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
 	_FPU_GETCW(_fcw);
 	r = ((_fcw >> 36) & 3));
 
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c b/sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c
index d881f904df..ee158561b5 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c
@@ -39,12 +39,12 @@ int _Qp_cmpe(const long double *a, const long double *b)
     FP_SET_EXCEPTION(FP_EX_INVALID);
   QP_HANDLE_EXCEPTIONS(
   	__asm (
-	"ldd [%0], %%f52
-	 ldd [%0+8], %%f54
-	 ldd [%1], %%f56
-	 ldd [%1+8], %%f58
-	 fcmpeq %%fcc3, %%f52, %%f56
-	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
+"	ldd [%0], %%f52\n"
+"	ldd [%0+8], %%f54\n"
+"	ldd [%1], %%f56\n"
+"	ldd [%1+8], %%f58\n"
+"	fcmpeq %%fcc3, %%f52, %%f56\n"
+"	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
 	_FPU_GETCW(_fcw);
 	r = ((_fcw >> 36) & 3));
 
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_div.c b/sysdeps/sparc/sparc64/soft-fp/qp_div.c
index c79ac1b392..ac86dc8a94 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_div.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_div.c
@@ -34,12 +34,12 @@ void _Qp_div(long double *c, const long double *a, const long double *b)
   FP_DIV_Q(C, A, B);
   FP_PACK_QP(c, C);
   QP_HANDLE_EXCEPTIONS(__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 ldd [%2], %%f56
-	 ldd [%2+8], %%f58
-	 fdivq %%f52, %%f56, %%f60
-	 std %%f60, [%0]
-	 std %%f62, [%0+8]
-	" : : "r" (c), "r" (a), "r" (b) : QP_CLOBBER));
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	ldd [%2], %%f56\n"
+"	ldd [%2+8], %%f58\n"
+"	fdivq %%f52, %%f56, %%f60\n"
+"	std %%f60, [%0]\n"
+"	std %%f62, [%0+8]\n"
+"	" : : "r" (c), "r" (a), "r" (b) : QP_CLOBBER));
 }
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c b/sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c
index 079b6d08d5..c9eb8cad20 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c
@@ -39,8 +39,8 @@ void _Qp_dtoq(long double *c, const double a)
 #endif
   FP_PACK_QP(c, C);
   QP_HANDLE_EXCEPTIONS(__asm (
-	"fdtoq %1, %%f60
-	 std %%f60, [%0]
-	 std %%f62, [%0+8]
-	" : : "r" (c), "e" (a) : QP_CLOBBER));
+"	fdtoq %1, %%f60\n"
+"	std %%f60, [%0]\n"
+"	std %%f62, [%0+8]\n"
+"	" : : "r" (c), "e" (a) : QP_CLOBBER));
 }
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_feq.c b/sysdeps/sparc/sparc64/soft-fp/qp_feq.c
index 1d32ec6fe7..482677d424 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_feq.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_feq.c
@@ -38,12 +38,12 @@ int _Qp_feq(const long double *a, const long double *b)
 
   QP_HANDLE_EXCEPTIONS(
   	__asm (
-	"ldd [%0], %%f52
-	 ldd [%0+8], %%f54
-	 ldd [%1], %%f56
-	 ldd [%1+8], %%f58
-	 fcmpq %%fcc3, %%f52, %%f56
-	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
+"	ldd [%0], %%f52\n"
+"	ldd [%0+8], %%f54\n"
+"	ldd [%1], %%f56\n"
+"	ldd [%1+8], %%f58\n"
+"	fcmpq %%fcc3, %%f52, %%f56\n"
+"	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
 	_FPU_GETCW(_fcw);
 	r = ((_fcw >> 36) & 3));
 
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_fge.c b/sysdeps/sparc/sparc64/soft-fp/qp_fge.c
index 6d73745cdb..935b33a33d 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_fge.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_fge.c
@@ -38,12 +38,12 @@ int _Qp_fge(const long double *a, const long double *b)
 
   QP_HANDLE_EXCEPTIONS(
   	__asm (
-	"ldd [%0], %%f52
-	 ldd [%0+8], %%f54
-	 ldd [%1], %%f56
-	 ldd [%1+8], %%f58
-	 fcmpeq %%fcc3, %%f52, %%f56
-	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
+"	ldd [%0], %%f52\n"
+"	ldd [%0+8], %%f54\n"
+"	ldd [%1], %%f56\n"
+"	ldd [%1+8], %%f58\n"
+"	fcmpeq %%fcc3, %%f52, %%f56\n"
+"	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
 	_FPU_GETCW(_fcw);
 	r = ((_fcw >> 36) & 1));
 
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_fgt.c b/sysdeps/sparc/sparc64/soft-fp/qp_fgt.c
index e389fd9d41..b8b1fb6391 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_fgt.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_fgt.c
@@ -38,12 +38,12 @@ int _Qp_fgt(const long double *a, const long double *b)
 
   QP_HANDLE_EXCEPTIONS(
   	__asm (
-	"ldd [%0], %%f52
-	 ldd [%0+8], %%f54
-	 ldd [%1], %%f56
-	 ldd [%1+8], %%f58
-	 fcmpeq %%fcc3, %%f52, %%f56
-	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
+"	ldd [%0], %%f52\n"
+"	ldd [%0+8], %%f54\n"
+"	ldd [%1], %%f56\n"
+"	ldd [%1+8], %%f58\n"
+"	fcmpeq %%fcc3, %%f52, %%f56\n"
+"	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
 	_FPU_GETCW(_fcw);
 	r = ((_fcw >> 36) & 3) - 3);
 
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_fle.c b/sysdeps/sparc/sparc64/soft-fp/qp_fle.c
index 2afe2af86f..2579526ab3 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_fle.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_fle.c
@@ -38,12 +38,12 @@ int _Qp_fle(const long double *a, const long double *b)
 
   QP_HANDLE_EXCEPTIONS(
   	__asm (
-	"ldd [%0], %%f52
-	 ldd [%0+8], %%f54
-	 ldd [%1], %%f56
-	 ldd [%1+8], %%f58
-	 fcmpeq %%fcc3, %%f52, %%f56
-	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
+"	ldd [%0], %%f52\n"
+"	ldd [%0+8], %%f54\n"
+"	ldd [%1], %%f56\n"
+"	ldd [%1+8], %%f58\n"
+"	fcmpeq %%fcc3, %%f52, %%f56\n"
+"	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
 	_FPU_GETCW(_fcw);
 	r = ((_fcw >> 36) & 2) ? -1 : 0);
 
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_flt.c b/sysdeps/sparc/sparc64/soft-fp/qp_flt.c
index 42c8659301..0e8e70ce7c 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_flt.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_flt.c
@@ -38,12 +38,12 @@ int _Qp_flt(const long double *a, const long double *b)
 
   QP_HANDLE_EXCEPTIONS(
   	__asm (
-	"ldd [%0], %%f52
-	 ldd [%0+8], %%f54
-	 ldd [%1], %%f56
-	 ldd [%1+8], %%f58
-	 fcmpeq %%fcc3, %%f52, %%f56
-	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
+"	ldd [%0], %%f52\n"
+"	ldd [%0+8], %%f54\n"
+"	ldd [%1], %%f56\n"
+"	ldd [%1+8], %%f58\n"
+"	fcmpeq %%fcc3, %%f52, %%f56\n"
+"	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
 	_FPU_GETCW(_fcw);
 	r = ((_fcw >> 36) & 3));
 
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_fne.c b/sysdeps/sparc/sparc64/soft-fp/qp_fne.c
index bcc1ec2ee7..4d23fd6b6e 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_fne.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_fne.c
@@ -38,12 +38,12 @@ int _Qp_fne(const long double *a, const long double *b)
 
   QP_HANDLE_EXCEPTIONS(
   	__asm (
-	"ldd [%0], %%f52
-	 ldd [%0+8], %%f54
-	 ldd [%1], %%f56
-	 ldd [%1+8], %%f58
-	 fcmpq %%fcc3, %%f52, %%f56
-	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
+"	ldd [%0], %%f52\n"
+"	ldd [%0+8], %%f54\n"
+"	ldd [%1], %%f56\n"
+"	ldd [%1+8], %%f58\n"
+"	fcmpq %%fcc3, %%f52, %%f56\n"
+"	" : : "r" (a), "r" (b) : QP_CLOBBER_CC);
 	_FPU_GETCW(_fcw);
 	r = ((_fcw >> 36) & 3) != 0);
 
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_mul.c b/sysdeps/sparc/sparc64/soft-fp/qp_mul.c
index 9dbc06b989..8b576a39bc 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_mul.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_mul.c
@@ -39,12 +39,12 @@ void _Qp_mul(long double *c, const long double *a, const long double *b)
   QP_HANDLE_EXCEPTIONS(
   	_FPU_SETCW(_fcw);
   	__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 ldd [%2], %%f56
-	 ldd [%2+8], %%f58
-	 fmulq %%f52, %%f56, %%f60
-	 std %%f60, [%0]
-	 std %%f62, [%0+8]
-	" : : "r" (c), "r" (a), "r" (b) : QP_CLOBBER));
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	ldd [%2], %%f56\n"
+"	ldd [%2+8], %%f58\n"
+"	fmulq %%f52, %%f56, %%f60\n"
+"	std %%f60, [%0]\n"
+"	std %%f62, [%0+8]\n"
+"	" : : "r" (c), "r" (a), "r" (b) : QP_CLOBBER));
 }
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_qtod.c b/sysdeps/sparc/sparc64/soft-fp/qp_qtod.c
index 50c44026e1..07062e50fe 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_qtod.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_qtod.c
@@ -40,10 +40,10 @@ double _Qp_qtod(const long double *a)
 #endif
   FP_PACK_D(r, R);
   QP_HANDLE_EXCEPTIONS(__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 fqtod %%f52, %0
-	" : "=&e" (r) : "r" (a) : QP_CLOBBER));
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	fqtod %%f52, %0\n"
+"	" : "=&e" (r) : "r" (a) : QP_CLOBBER));
 
   return r;
 }
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c b/sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c
index 770c887653..c930a62415 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c
@@ -36,11 +36,11 @@ int _Qp_qtoi(const long double *a)
   QP_HANDLE_EXCEPTIONS(
   	int rx;
   	__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 fqtoi %%f52, %%f60
-	 st %%f60, [%0]
-	" : : "r" (&rx), "r" (a) : QP_CLOBBER);
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	fqtoi %%f52, %%f60\n"
+"	st %%f60, [%0]\n"
+"	" : : "r" (&rx), "r" (a) : QP_CLOBBER);
 	r = rx);
 
   return r;
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_qtos.c b/sysdeps/sparc/sparc64/soft-fp/qp_qtos.c
index 630300ea44..62f7bbd155 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_qtos.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_qtos.c
@@ -41,10 +41,10 @@ float _Qp_qtos(const long double *a)
   FP_PACK_S(r, R);
 
   QP_HANDLE_EXCEPTIONS(__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 fqtos %%f52, %0
-	" : "=&f" (r) : "r" (a) : QP_CLOBBER));
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	fqtos %%f52, %0\n"
+"	" : "=&f" (r) : "r" (a) : QP_CLOBBER));
 
   return r;
 }
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c b/sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c
index 011cf73114..16952673b8 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c
@@ -36,11 +36,11 @@ unsigned int _Qp_qtoui(const long double *a)
   QP_HANDLE_EXCEPTIONS(
   	int rx;
   	__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 fqtoi %%f52, %%f60
-	 st %%f60, [%0]
-	" : : "r" (&rx), "r" (a) : QP_CLOBBER);
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	fqtoi %%f52, %%f60\n"
+"	st %%f60, [%0]\n"
+"	" : : "r" (&rx), "r" (a) : QP_CLOBBER);
 	r = rx);
 
   return r;
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c b/sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c
index f2a393a8e7..ec17a79043 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c
@@ -36,11 +36,11 @@ unsigned long _Qp_qtoux(const long double *a)
   QP_HANDLE_EXCEPTIONS(
 	unsigned long rx;
   	__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 fqtoi %%f52, %%f60
-	 std %%f60, [%0]
-	" : : "r" (&rx), "r" (a) : QP_CLOBBER);
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	fqtoi %%f52, %%f60\n"
+"	std %%f60, [%0]\n"
+"	" : : "r" (&rx), "r" (a) : QP_CLOBBER);
 	r = rx);
 
   return r;
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_qtox.c b/sysdeps/sparc/sparc64/soft-fp/qp_qtox.c
index a54c5c5833..e7b8f28805 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_qtox.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_qtox.c
@@ -36,11 +36,11 @@ long _Qp_qtox(const long double *a)
   QP_HANDLE_EXCEPTIONS(
 	long rx;
   	__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 fqtoi %%f52, %%f60
-	 std %%f60, [%0]
-	" : : "r" (&rx), "r" (a) : QP_CLOBBER);
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	fqtoi %%f52, %%f60\n"
+"	std %%f60, [%0]\n"
+"	" : : "r" (&rx), "r" (a) : QP_CLOBBER);
 	r = rx);
 
   return r;
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c b/sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c
index 00e3980286..fabd45f2d2 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c
@@ -33,10 +33,10 @@ void _Qp_sqrt(long double *c, const long double *a)
   FP_SQRT_Q(C, A);
   FP_PACK_QP(c, C);
   QP_HANDLE_EXCEPTIONS(__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 fsqrtq %%f52, %%f60
-	 std %%f60, [%0]
-	 std %%f62, [%0+8]
-	" : : "r" (c), "r" (a) : QP_CLOBBER));
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	fsqrtq %%f52, %%f60\n"
+"	std %%f60, [%0]\n"
+"	std %%f62, [%0+8]\n"
+"	" : : "r" (c), "r" (a) : QP_CLOBBER));
 }
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_stoq.c b/sysdeps/sparc/sparc64/soft-fp/qp_stoq.c
index ab0f49a0ca..e65acb0e33 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_stoq.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_stoq.c
@@ -39,8 +39,8 @@ void _Qp_stoq(long double *c, const float a)
 #endif
   FP_PACK_QP(c, C);
   QP_HANDLE_EXCEPTIONS(__asm (
-	"fstoq %1, %%f60
-	 std %%f60, [%0]
-	 std %%f62, [%0+8]
-	" : : "r" (c), "f" (a) : QP_CLOBBER));
+"	fstoq %1, %%f60\n"
+"	std %%f60, [%0]\n"
+"	std %%f62, [%0+8]\n"
+"	" : : "r" (c), "f" (a) : QP_CLOBBER));
 }
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_sub.c b/sysdeps/sparc/sparc64/soft-fp/qp_sub.c
index 9532f7b817..5907347191 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_sub.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_sub.c
@@ -34,12 +34,12 @@ void _Qp_sub(long double *c, const long double *a, const long double *b)
   FP_SUB_Q(C, A, B);
   FP_PACK_QP(c, C);
   QP_HANDLE_EXCEPTIONS(__asm (
-	"ldd [%1], %%f52
-	 ldd [%1+8], %%f54
-	 ldd [%2], %%f56
-	 ldd [%2+8], %%f58
-	 fsubq %%f52, %%f56, %%f60
-	 std %%f60, [%0]
-	 std %%f62, [%0+8]
-	" : : "r" (c), "r" (a), "r" (b) : QP_CLOBBER));
+"	ldd [%1], %%f52\n"
+"	ldd [%1+8], %%f54\n"
+"	ldd [%2], %%f56\n"
+"	ldd [%2+8], %%f58\n"
+"	fsubq %%f52, %%f56, %%f60\n"
+"	std %%f60, [%0]\n"
+"	std %%f62, [%0+8]\n"
+"	" : : "r" (c), "r" (a), "r" (b) : QP_CLOBBER));
 }
diff --git a/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h b/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
index 4703dd070e..b36e848316 100644
--- a/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
+++ b/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
@@ -111,10 +111,10 @@ do {								\
       /* This is the common case, so we do it inline.		\
        * We need to clear cexc bits if any.			\
        */							\
-      __asm__ __volatile__("
-      	fzero %%f62
-      	faddd %%f62, %%f62, %%f62
-      	" : : : "f62");						\
+      __asm__ __volatile__("\n"					\
+"      	fzero %%f62\n"						\
+"      	faddd %%f62, %%f62, %%f62\n"				\
+"      	" : : : "f62");						\
     }								\
   else								\
     {								\
@@ -136,8 +136,8 @@ do {								\
 } while (0)
 
 #define QP_NO_EXCEPTIONS					\
-  __asm ("fzero %%f62
-	  faddd %%f62, %%f62, %%f62" : : : "f62")
+  __asm ("fzero %%f62\n"					\
+"	  faddd %%f62, %%f62, %%f62" : : : "f62")
                               
 #define QP_CLOBBER "memory", "f52", "f54", "f56", "f58", "f60", "f62"
 #define QP_CLOBBER_CC QP_CLOBBER , "cc"