File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ pg_atomic_cas:
22
22
! by a sparcv8 CPU. gcc continues to use "ldstub" because
23
23
! there is no indication which sparc version it is targeting.
24
24
!
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:
27
29
!
28
30
! http: //cvs.opensolaris.org/source/xref/on/usr/src/lib/libc/sparc/threads/sparc.il
29
31
!
30
- ! It is actually possible to use "cas" for sparcv8 binaries if
31
- ! -xarch = v8plus is used for compilation.
32
32
33
33
#ifdef __sparcv9
34
34
cas [%o0],%o2,%o1
You can’t perform that action at this time.
0 commit comments