We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd6a35c8 commit3c5665dCopy full SHA for 3c5665d
src/backend/port/tas/solaris_sparc.s
@@ -22,13 +22,13 @@ pg_atomic_cas:
22
! by a sparcv8 CPU. gcc continues to use"ldstub" because
23
! there is no indication which sparc version it is targeting.
24
!
25
-! There actually is a trick for embedding"cas" for a compiler
26
-! that is targetingsparcv8:
+! It is actually possible to use"cas" for sparcv8 binaries if
+! -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:
29
30
!http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libc/sparc/threads/sparc.il
31
-! It is actually possible to use"cas" for sparcv8 binaries if
-! -xarch=v8plus is used for compilation.
32
33
#ifdef __sparcv9
34
cas [%o0],%o2,%o1