summaryrefslogtreecommitdiff
path: root/mpn/sparc64
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2013-04-29 23:56:37 +0200
committerTorbjorn Granlund <tege@gmplib.org>2013-04-29 23:56:37 +0200
commit4709ad70ba0f34846c07db1bc07d921365bb3e22 (patch)
treea09aded50b918e6574f3dc4a6ef1305cf39e5772 /mpn/sparc64
parent0fd4f57ca5c758b67e1f1b4dee804fdaf54e47a7 (diff)
downloadgmp-4709ad70ba0f34846c07db1bc07d921365bb3e22.tar.gz
Whitespace cleanup.
Diffstat (limited to 'mpn/sparc64')
-rw-r--r--mpn/sparc64/ultrasparct3/cnd_aors_n.asm30
1 files changed, 15 insertions, 15 deletions
diff --git a/mpn/sparc64/ultrasparct3/cnd_aors_n.asm b/mpn/sparc64/ultrasparct3/cnd_aors_n.asm
index d11857f28..dee44b3cb 100644
--- a/mpn/sparc64/ultrasparct3/cnd_aors_n.asm
+++ b/mpn/sparc64/ultrasparct3/cnd_aors_n.asm
@@ -25,8 +25,8 @@ C cycles/limb
C UltraSPARC T3: ?
C UltraSPARC T4: 3 hopefully
-C We use a double-pointer trick to allow indexed addressing. Its setup cost
-C might be prohibitive in these functions, since we don't expect huge n
+C We use a double-pointer trick to allow indexed addressing. Its setup
+C cost might be a problem in these functions, since we don't expect huge n
C arguments.
C
C For sub we need ~(a & mask) = (~a | ~mask) but by complementing mask we can
@@ -49,21 +49,21 @@ define(`x0', `%g1') define(`x1', `%g3')
define(`w0', `%g1') define(`w1', `%g3')
ifdef(`OPERATION_cnd_add_n',`
- define(`LOGOP', `and $1, $2, $3')
- define(`MAKEMASK',`cmp %g0, $1
- subc %g0, %g0, $2')
- define(`INITCY', `addcc %g0, 0, %g0')
- define(`RETVAL', `addxc( %g0, %g0, %i0)')
- define(`func', `mpn_cnd_add_n')
+ define(`LOGOP', `and $1, $2, $3')
+ define(`MAKEMASK',`cmp %g0, $1
+ subc %g0, %g0, $2')
+ define(`INITCY', `addcc %g0, 0, %g0')
+ define(`RETVAL', `addxc( %g0, %g0, %i0)')
+ define(`func', `mpn_cnd_add_n')
')
ifdef(`OPERATION_cnd_sub_n',`
- define(`LOGOP', `orn $2, $1, $3')
- define(`MAKEMASK',`cmp $1, 1
- subc %g0, %g0, $2')
- define(`INITCY', `subcc %g0, 1, %g0')
- define(`RETVAL', `addxc( %g0, %g0, %i0)
- xor %i0, 1, %i0')
- define(`func', `mpn_cnd_sub_n')
+ define(`LOGOP', `orn $2, $1, $3')
+ define(`MAKEMASK',`cmp $1, 1
+ subc %g0, %g0, $2')
+ define(`INITCY', `subcc %g0, 1, %g0')
+ define(`RETVAL', `addxc( %g0, %g0, %i0)
+ xor %i0, 1, %i0')
+ define(`func', `mpn_cnd_sub_n')
')
MULFUNC_PROLOGUE(mpn_cnd_add_n mpn_cnd_sub_n)