[Python-checkins] r87623 - python/branches/py3k-cdecimal/Modules/cdecimal/typearith.h

stefan.krah python-checkins at python.org
Sun Jan 2 14:13:37 CET 2011


Author: stefan.krah
Date: Sun Jan  2 14:13:37 2011
New Revision: 87623

Log:
Use consistent style for inline asm.

Modified:
   python/branches/py3k-cdecimal/Modules/cdecimal/typearith.h

Modified: python/branches/py3k-cdecimal/Modules/cdecimal/typearith.h
==============================================================================
--- python/branches/py3k-cdecimal/Modules/cdecimal/typearith.h	(original)
+++ python/branches/py3k-cdecimal/Modules/cdecimal/typearith.h	Sun Jan  2 14:13:37 2011
@@ -207,9 +207,9 @@
 {
 	mpd_uint_t h, l;
 
-	asm (	"mulq %3\n\t"\
-		: "=d" (h), "=a" (l)\
-		: "%a" (a), "rm" (b)\
+	asm (	"mulq %3\n\t"
+		: "=d" (h), "=a" (l)
+		: "%a" (a), "rm" (b)
 		: "cc"
 	);
 
@@ -223,9 +223,9 @@
 {
 	mpd_uint_t qq, rr;
 
-	asm (	"divq %4\n\t"\
-		: "=a" (qq), "=d" (rr)\
-		: "a" (lo), "d" (hi), "rm" (d)\
+	asm (	"divq %4\n\t"
+		: "=a" (qq), "=d" (rr)
+		: "a" (lo), "d" (hi), "rm" (d)
 		: "cc"
 	);
 
@@ -463,9 +463,9 @@
 {
 	mpd_uint_t h, l;
 
-	asm (	"mull %3\n\t"\
-		: "=d" (h), "=a" (l)\
-		: "%a" (a), "rm" (b)\
+	asm (	"mull %3\n\t"
+		: "=d" (h), "=a" (l)
+		: "%a" (a), "rm" (b)
 		: "cc"
 	);
 
@@ -479,9 +479,9 @@
 {
 	mpd_uint_t qq, rr;
 
-	asm (	"divl %4\n\t"\
-		: "=a" (qq), "=d" (rr)\
-		: "a" (lo), "d" (hi), "rm" (d)\
+	asm (	"divl %4\n\t"
+		: "=a" (qq), "=d" (rr)
+		: "a" (lo), "d" (hi), "rm" (d)
 		: "cc"
 	);
 


More information about the Python-checkins mailing list