Skip to content

Commit 3c5665d

Browse files
committed
Add more sparcv8plus comments.
1 parent d6a35c8 commit 3c5665d

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 targeting sparcv8:
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 sparcv8plus cpus:
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)