Re: pgsql: Inline CRC computation for small fixed-length input on x86

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Naylor <johncnaylorls(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-committers(at)lists(dot)postgresql(dot)org, cookt(at)blackduck(dot)com
Subject: Re: pgsql: Inline CRC computation for small fixed-length input on x86
Date: 2025-03-31 13:09:06
Message-ID: 3857592.1743426546@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

I wrote:
> What I conclude is that Red Hat hot-wired gcc to assume -msse4.2,
> but they didn't hot-wire clang the same way.

In confirmation of that: everything goes through fine if I manually
add -msse4.2 to configure's choice of BITCODE_CFLAGS. Not sure if
that line of thought can lead to a usable solution, or if it's
superior to messing with the attributes on relevant functions as
you mooted upthread.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-03-31 13:33:48 Re: pgsql: Inline CRC computation for small fixed-length input on x86
Previous Message Tom Lane 2025-03-31 12:52:23 Re: pgsql: Inline CRC computation for small fixed-length input on x86