Re: [HACKERS] Re: [PORTS] RedHat6.0 & Alpha

Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>

From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: The Hermit Hacker <scrappy@hub.org>, Thomas Lockhart <lockhart@alumni.caltech.edu>, pgsql-ports@postgreSQL.org, Postgres Hackers List <hackers@postgreSQL.org>
Date: 1999-07-30T15:17:33Z
Lists: pgsql-hackers
On Fri, 30 Jul 1999, Bruce Momjian wrote:

> > On Thu, 29 Jul 1999, Bruce Momjian wrote:
> > 
> > > > 	* Uncle G's Alpha patches { which I have }.
> > > > 	* Makefile conditionals for Linux/Alpha { which I can find with
> > > >                                                   only moderate trouble }.
> > > > 	* Bruce's alignment patches { which I do not have }.
> > > 
> > > I just changed many DOUBLEALIGN's to MAXALIGN.  It was a cosmetic fix,
> > > as far as I could tell.  Are they different on Alpha?
> > 
> > So, if I were to go through and make these changes in the -stable tree as
> > well, it would be purely cosmetic?
> > 
> 
> I think so, but am not sure what the alpha has for those values.

	It is only cosmetic, for on the alpha, after configure is run,
ALIGNOF_{LONG,DOUBLE,ALIGNOF} all equal '8'. Further testing showed that
the macros LONGALIGN, DOBULEALIGN, and MAXALIGN generate the same result
when provided with the same input value. Therefore, I don't see anyway
that changing DOUBLEALIGNs to MAXALIGNs would reduce unaligned traps on
the alpha. :( 
	PS. I am testing an alpha patched 6.5.1 right now, and so far it
looks promising. :) Final results soon!

----------------------------------------------------------------------------
|   "For to me to live is Christ, and to die is gain."                     |
|                                            --- Philippians 1:21 (KJV)    |
----------------------------------------------------------------------------
|  Ryan Kirkpatrick  |  Boulder, Colorado  | rkirkpat@nag.cs.colorado.edu  |
----------------------------------------------------------------------------
|               http://www-ugrad.cs.colorado.edu/~rkirkpat/                |
----------------------------------------------------------------------------