Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3c5665d

Browse files
committed
Add more sparcv8plus comments.
1 parentd6a35c8 commit3c5665d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/port/tas/solaris_sparc.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ pg_atomic_cas:
2222
! by a sparcv8 CPU. gcc continues to use"ldstub" because
2323
! there is no indication which sparc version it is targeting.
2424
!
25-
! There actually is a trick for embedding"cas" for a compiler
26-
! that is targetingsparcv8:
25+
! It is actually possible to use"cas" for sparcv8 binaries if
26+
! -xarch=v8plus is used for compilation. There is actually a
27+
! trick for embedding"cas"in a sparcv8-targeted compiler, but
28+
! it can only be run on a sparcv8pluscpus:
2729
!
2830
!http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libc/sparc/threads/sparc.il
2931
!
30-
! It is actually possible to use"cas" for sparcv8 binaries if
31-
! -xarch=v8plus is used for compilation.
3232

3333
#ifdef __sparcv9
3434
cas [%o0],%o2,%o1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp