mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Add mention of -xarch=v8plus for "cas" usage on Solaris/sparc.
This commit is contained in:
parent
924b9d62b4
commit
554608d92c
@ -26,6 +26,9 @@ pg_atomic_cas:
|
|||||||
! that is targeting sparcv8:
|
! that is targeting sparcv8:
|
||||||
!
|
!
|
||||||
! http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libc/sparc/threads/sparc.il
|
! http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libc/sparc/threads/sparc.il
|
||||||
|
!
|
||||||
|
! It is actually possible to use "cas" for sparcv8 binaries if
|
||||||
|
! -xarch=v8plus is used for compilation.
|
||||||
|
|
||||||
#ifdef __sparcv9
|
#ifdef __sparcv9
|
||||||
cas [%o0],%o2,%o1
|
cas [%o0],%o2,%o1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user