aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-05-17 22:06:19 +0000
committerBruce Momjian <bruce@momjian.us>2006-05-17 22:06:19 +0000
commit0d02ef4be4ce975daf599b7cbd117142ee979f9f (patch)
tree3a8066040f788038da3448d10642e88858f2b013 /src
parent18627c553191219319075713848740bb6794e85a (diff)
downloadpostgresql-0d02ef4be4ce975daf599b7cbd117142ee979f9f.tar.gz
postgresql-0d02ef4be4ce975daf599b7cbd117142ee979f9f.zip
Change spaces to tabs, for consistency. (Caused by email cut/paste.)
Diffstat (limited to 'src')
-rw-r--r--src/backend/port/tas/solaris_sparc.s23
-rw-r--r--src/backend/port/tas/solaris_x86.s32
2 files changed, 28 insertions, 27 deletions
diff --git a/src/backend/port/tas/solaris_sparc.s b/src/backend/port/tas/solaris_sparc.s
index be4c7e97fb1..d35a854c181 100644
--- a/src/backend/port/tas/solaris_sparc.s
+++ b/src/backend/port/tas/solaris_sparc.s
@@ -8,17 +8,18 @@
#if defined(__sparcv9) || defined(__sparc)
- .section ".text"
- .align 8
- .skip 24
- .align 4
+ .section ".text"
+ .align 8
+ .skip 24
+ .align 4
- .global pg_atomic_cas
+ .global pg_atomic_cas
pg_atomic_cas:
- cas [%o0],%o2,%o1
- mov %o1,%o0
- retl
- nop
- .type pg_atomic_cas,2
- .size pg_atomic_cas,(.-pg_atomic_cas)
+
+ cas [%o0],%o2,%o1
+ mov %o1,%o0
+ retl
+ nop
+ .type pg_atomic_cas,2
+ .size pg_atomic_cas,(.-pg_atomic_cas)
#endif
diff --git a/src/backend/port/tas/solaris_x86.s b/src/backend/port/tas/solaris_x86.s
index 072a3c35ccf..db1dea7c291 100644
--- a/src/backend/port/tas/solaris_x86.s
+++ b/src/backend/port/tas/solaris_x86.s
@@ -6,29 +6,29 @@
/ '/' is the comment for x86, while '!' is the comment for Sparc
- .file "tas.s"
+ .file "tas.s"
#if defined(__amd64)
- .code64
+ .code64
#endif
- .globl pg_atomic_cas
- .type pg_atomic_cas, @function
+ .globl pg_atomic_cas
+ .type pg_atomic_cas, @function
- .section .text, "ax"
- .align 16
+ .section .text, "ax"
+ .align 16
pg_atomic_cas:
#if defined(__amd64)
- movl %edx,%eax
- lock
- cmpxchgl %esi,(%rdi)
+ movl %edx,%eax
+ lock
+ cmpxchgl %esi,(%rdi)
#else
- movl 4(%esp), %edx
- movl 8(%esp), %ecx
- movl 12(%esp), %eax
- lock
- cmpxchgl %ecx, (%edx)
+ movl 4(%esp), %edx
+ movl 8(%esp), %ecx
+ movl 12(%esp), %eax
+ lock
+ cmpxchgl %ecx, (%edx)
#endif
- ret
- .size pg_atomic_cas, . - pg_atomic_cas
+ ret
+ .size pg_atomic_cas, . - pg_atomic_cas