Re: AIX support - alignment issues - Mailing list pgsql-hackers

From Greg Stark
Subject Re: AIX support - alignment issues
Date
Msg-id CAM-w4HPxEmttAuOP7SR4_qq8WzNu+Ww=r6Za30Vq_-bsMPE12Q@mail.gmail.com
Whole thread Raw
In response to Re: AIX support - alignment issues  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Thu, 7 Jul 2022 at 22:36, Thomas Munro <thomas.munro@gmail.com> wrote:
>
> * Since Greg Stark's magnificent Vax talk[1], we became even more
> dependent on IEEE 754 via the Ryu algorithm.  AFAICT, unless someone
> produces a software IEEE math implementation for GCC/VAX...  if I had
> a pick one to bump off that list, that's the easiest to argue because
> it definitely doesn't work.

Yeah that's definitely true. I think you could possibly build with a
software fp implementation but then you would have to recompile libc
and any other libraries as well.

If it was worth spending a lot of effort we could perhaps separate the
Float4/Float8 data type from the core C code floating point and
compile with just the former using soft floats but use native floats
for core code. That's probably way more effort than it's worth for VAX
but it would conceivably be worthwhile if it helped for running on
some embedded platform but I don't think so since they would
presumably be using soft floats everywhere anyways.

-- 
greg



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: AIX support - alignment issues
Next
From: Fujii Masao
Date:
Subject: Re: Support TRUNCATE triggers on foreign tables