Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
0d02ef4b
Commit
0d02ef4b
authored
May 17, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change spaces to tabs, for consistency. (Caused by email cut/paste.)
parent
18627c55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
27 deletions
+28
-27
src/backend/port/tas/solaris_sparc.s
src/backend/port/tas/solaris_sparc.s
+12
-11
src/backend/port/tas/solaris_x86.s
src/backend/port/tas/solaris_x86.s
+16
-16
No files found.
src/backend/port/tas/solaris_sparc.s
View file @
0d02ef4b
...
...
@@ -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
src/backend/port/tas/solaris_x86.s
View file @
0d02ef4b
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment