1 /-------------------------------------------------------------------------
4 / compare and swap for Sun Studio on x86
6 / Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
7 / Portions Copyright (c) 1994, Regents of the University of California
10 / $PostgreSQL: pgsql/src/backend/port/tas/sunstudio_x86.s,v 1.1 2008/10/29 16:06:47 petere Exp $
12 /-------------------------------------------------------------------------
14 / Fortunately the Sun compiler can process cpp conditionals with -P
16 / '/' is the comment for x86, while '!' is the comment for Sparc
25 .type pg_atomic_cas, @function
43 .size pg_atomic_cas, . - pg_atomic_cas