Bugzilla bug 195219: put the stops (double semicolons) that delimit NSPRPUB_PRE_4_2_CLIENT_BRANCH
authorwtchang%redhat.com
Mon, 21 Nov 2005 22:54:44 +0000
branchNSPRPUB_PRE_4_2_CLIENT_BRANCH
changeset 3505 41f7b8e933070cd76278d5b8a948fc68be11f04e
parent 3503 6f809ebcd8be218086e93252c8b765101fffc4c8
child 3506 dda07f040daa55c336b58f2fdeead600563177cd
push idunknown
push userunknown
push dateunknown
bugs195219
Bugzilla bug 195219: put the stops (double semicolons) that delimit instruction groups on the same lines as the last instructions in the groups. This is the style used in Intel documentation. Modified Files: os_HPUX_ia64.s os_Linux_ia64.s Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
pr/src/md/unix/os_HPUX_ia64.s
pr/src/md/unix/os_Linux_ia64.s
--- a/pr/src/md/unix/os_HPUX_ia64.s
+++ b/pr/src/md/unix/os_HPUX_ia64.s
@@ -41,61 +41,56 @@
 //
         .align 16
         .global _PR_ia64_AtomicIncrement#
         .proc _PR_ia64_AtomicIncrement#
 _PR_ia64_AtomicIncrement:
 #ifndef _LP64
         addp4 r32 = 0, r32  ;;
 #endif
-        fetchadd4.acq r8 = [r32], 1
-        ;;
+        fetchadd4.acq r8 = [r32], 1  ;;
         adds r8 = 1, r8
         br.ret.sptk.many b0
         .endp _PR_ia64_AtomicIncrement#
 
 // PRInt32 _PR_ia64_AtomicDecrement(PRInt32 *val)
 //
 // Atomically decrement the integer pointed to by 'val' and return
 // the result of the decrement.
 //
         .align 16
         .global _PR_ia64_AtomicDecrement#
         .proc _PR_ia64_AtomicDecrement#
 _PR_ia64_AtomicDecrement:
 #ifndef _LP64
         addp4 r32 = 0, r32  ;;
 #endif
-        fetchadd4.rel r8 = [r32], -1
-        ;;
+        fetchadd4.rel r8 = [r32], -1  ;;
         adds r8 = -1, r8
         br.ret.sptk.many b0
         .endp _PR_ia64_AtomicDecrement#
 
 // PRInt32 _PR_ia64_AtomicAdd(PRInt32 *ptr, PRInt32 val)
 //
 // Atomically add 'val' to the integer pointed to by 'ptr'
 // and return the result of the addition.
 //
         .align 16
         .global _PR_ia64_AtomicAdd#
         .proc _PR_ia64_AtomicAdd#
 _PR_ia64_AtomicAdd:
 #ifndef _LP64
         addp4 r32 = 0, r32  ;;
 #endif
-        ld4 r15 = [r32]
-        ;;
+        ld4 r15 = [r32]  ;;
 .L3:
         mov r14 = r15
         mov ar.ccv = r15
-        add r8 = r15, r33
-        ;;
-        cmpxchg4.acq r15 = [r32], r8, ar.ccv
-        ;;
+        add r8 = r15, r33  ;;
+        cmpxchg4.acq r15 = [r32], r8, ar.ccv  ;;
         cmp4.ne p6, p7 =  r15, r14
         (p6) br.cond.dptk .L3
         br.ret.sptk.many b0
         .endp _PR_ia64_AtomicAdd#
 
 // PRInt32 _PR_ia64_AtomicSet(PRInt32 *val, PRInt32 newval)
 //
 // Atomically set the integer pointed to by 'val' to the new
--- a/pr/src/md/unix/os_Linux_ia64.s
+++ b/pr/src/md/unix/os_Linux_ia64.s
@@ -38,55 +38,50 @@
 //
 // Atomically increment the integer pointed to by 'val' and return
 // the result of the increment.
 //
         .align 16
         .global _PR_ia64_AtomicIncrement#
         .proc _PR_ia64_AtomicIncrement#
 _PR_ia64_AtomicIncrement:
-        fetchadd4.acq r8 = [r32], 1
-        ;;
+        fetchadd4.acq r8 = [r32], 1  ;;
         adds r8 = 1, r8
         br.ret.sptk.many b0
         .endp _PR_ia64_AtomicIncrement#
 
 // PRInt32 _PR_ia64_AtomicDecrement(PRInt32 *val)
 //
 // Atomically decrement the integer pointed to by 'val' and return
 // the result of the decrement.
 //
         .align 16
         .global _PR_ia64_AtomicDecrement#
         .proc _PR_ia64_AtomicDecrement#
 _PR_ia64_AtomicDecrement:
-        fetchadd4.rel r8 = [r32], -1
-        ;;
+        fetchadd4.rel r8 = [r32], -1  ;;
         adds r8 = -1, r8
         br.ret.sptk.many b0
         .endp _PR_ia64_AtomicDecrement#
 
 // PRInt32 _PR_ia64_AtomicAdd(PRInt32 *ptr, PRInt32 val)
 //
 // Atomically add 'val' to the integer pointed to by 'ptr'
 // and return the result of the addition.
 //
         .align 16
         .global _PR_ia64_AtomicAdd#
         .proc _PR_ia64_AtomicAdd#
 _PR_ia64_AtomicAdd:
-        ld4 r15 = [r32]
-        ;;
+        ld4 r15 = [r32]  ;;
 .L3:
         mov r14 = r15
         mov ar.ccv = r15
-        add r8 = r15, r33
-        ;;
-        cmpxchg4.acq r15 = [r32], r8, ar.ccv
-        ;;
+        add r8 = r15, r33  ;;
+        cmpxchg4.acq r15 = [r32], r8, ar.ccv  ;;
         cmp4.ne p6, p7 =  r15, r14
         (p6) br.cond.dptk .L3
         br.ret.sptk.many b0
         .endp _PR_ia64_AtomicAdd#
 
 // PRInt32 _PR_ia64_AtomicSet(PRInt32 *val, PRInt32 newval)
 //
 // Atomically set the integer pointed to by 'val' to the new