Skip to content

Commit 0d02ef4

Browse files
committed
Change spaces to tabs, for consistency. (Caused by email cut/paste.)
1 parent 18627c5 commit 0d02ef4

File tree

2 files changed

+28
-27
lines changed

2 files changed

+28
-27
lines changed

src/backend/port/tas/solaris_sparc.s

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@
88

99
#if defined(__sparcv9) || defined(__sparc)
1010

11-
.section ".text"
12-
.align 8
13-
.skip 24
14-
.align 4
11+
.section ".text"
12+
.align 8
13+
.skip 24
14+
.align 4
1515

16-
.global pg_atomic_cas
16+
.global pg_atomic_cas
1717
pg_atomic_cas:
18-
cas [%o0],%o2,%o1
19-
mov %o1,%o0
20-
retl
21-
nop
22-
.type pg_atomic_cas,2
23-
.size pg_atomic_cas,(.-pg_atomic_cas)
18+
19+
cas [%o0],%o2,%o1
20+
mov %o1,%o0
21+
retl
22+
nop
23+
.type pg_atomic_cas,2
24+
.size pg_atomic_cas,(.-pg_atomic_cas)
2425
#endif

src/backend/port/tas/solaris_x86.s

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@
66

77
/ '/' is the comment for x86, while '!' is the comment for Sparc
88

9-
.file "tas.s"
9+
.file "tas.s"
1010

1111
#if defined(__amd64)
12-
.code64
12+
.code64
1313
#endif
1414

15-
.globl pg_atomic_cas
16-
.type pg_atomic_cas, @function
15+
.globl pg_atomic_cas
16+
.type pg_atomic_cas, @function
1717

18-
.section .text, "ax"
19-
.align 16
18+
.section .text, "ax"
19+
.align 16
2020

2121
pg_atomic_cas:
2222
#if defined(__amd64)
23-
movl %edx,%eax
24-
lock
25-
cmpxchgl %esi,(%rdi)
23+
movl %edx,%eax
24+
lock
25+
cmpxchgl %esi,(%rdi)
2626
#else
27-
movl 4(%esp), %edx
28-
movl 8(%esp), %ecx
29-
movl 12(%esp), %eax
30-
lock
31-
cmpxchgl %ecx, (%edx)
27+
movl 4(%esp), %edx
28+
movl 8(%esp), %ecx
29+
movl 12(%esp), %eax
30+
lock
31+
cmpxchgl %ecx, (%edx)
3232
#endif
33-
ret
34-
.size pg_atomic_cas, . - pg_atomic_cas
33+
ret
34+
.size pg_atomic_cas, . - pg_atomic_cas

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy