Skip site navigation (1) Skip section navigation (2)

s_lock.h cleanup

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: s_lock.h cleanup
Date: 2001-01-19 02:58:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
In looking at the VAX ASM problem, I realized that the ASM in s_lock.h
is all formatted differently, making it even more confusing.  I have
applied the following patch to s_lock.h to try and clean it up.

The new standard format is:

	 * Standard __asm__ format:
	 *  __asm__(
	 *          "command;"
	 *          "command;"
	 *          "command;"
	 *      :   "=r"(_res)          return value, in register
	 *      :   "r"(lock)           argument, 'lock pointer', in register
	 *      :   "r0");              inline code uses this register

  Bruce Momjian                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


pgsql-hackers by date

Next:From: Tom LaneDate: 2001-01-19 03:17:49
Subject: Re: charset.htm
Previous:From: Bruce MomjianDate: 2001-01-19 02:53:37
Subject: Re: 7.0.3 reproduceable serious select error

pgsql-patches by date

Next:From: Tom LaneDate: 2001-01-19 03:49:29
Subject: Re: s_lock.h cleanup
Previous:From: Robert B. EasterDate: 2001-01-19 01:38:26
Subject: Re: docs: syntax.sgml patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group