Alan Stange <stange(at)rentec(dot)com> writes:
> I removed the whole tas_dummy() block for sparc from s_lock.c. I
> recompiled and installed with and without --enable-debug. I then ran
> pgbench on the box. This is using the Sun 11 compilers on Solaris 10.
> Everything compiled and ran fine.
Kinda what I thought ... okay, we can remove the entire thing then.
> I took a look at backend/port/tas/solaris_sparc.s file. Isn't that code
> a bit longer than needed?
It's already been rewritten in HEAD; uses "cas" now.
regards, tom lane