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
924b9d62
Commit
924b9d62
authored
May 18, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add simplified sparc8 ASM for solaris_sparc.s, from Alan Stange.
parent
407885ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
src/backend/port/tas/solaris_sparc.s
src/backend/port/tas/solaris_sparc.s
+6
-8
No files found.
src/backend/port/tas/solaris_sparc.s
View file @
924b9d62
...
...
@@ -19,21 +19,19 @@ pg_atomic_cas:
!
"cas"
only
works
on
sparcv9
chips
,
and
requies
a
compiler
!
that
is
targeting
sparcv9
.
It
will
fail
on
a
compiler
!
targeting
sparcv8
,
and
of
course
will
not
be
understood
!
by
a
sparcv8
CPU
.
If
this
fails
on
existing
Solaris
!
systems
,
we
need
to
use
a
!
defined
(
__sparcv9
)
test
!
to
fall
back
to
the
old
"ldstub"
call
for
sparcv8
compiles
.
!
gcc
continues
to
use
"ldstub"
because
there
is
no
indication
!
which
sparc
version
it
is
targeting
.
!
by
a
sparcv8
CPU
.
gcc
continues
to
use
"ldstub"
because
!
there
is
no
indication
which
sparc
version
it
is
targeting
.
!
!
There
actually
is
a
trick
for
embedding
"cas"
for
a
compiler
!
that
is
targeting
sparcv8
:
!
!
http
:
//
cvs
.
opensolaris
.
org
/
source
/
xref
/
on
/
usr
/
src
/
lib
/
libc
/
sparc
/
threads
/
sparc
.
il
!
!
This
might
work
for
sparc8
:
!
ldstub
[%
o0
],%
o1
!
moves
only
a
byte
#ifdef __sparcv9
cas
[%
o0
],%
o2
,%
o1
#else
ldstub
[%
o0
],%
o1
#endif
mov
%
o1
,%
o0
retl
nop
...
...
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