pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Naylor <john.naylor@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix broken cast on MSVC
Date: Mon, 29 Aug 2022 10:45:43 +0000
Message-ID: <E1oScH1-000RbK-8z@gemulon.postgresql.org> (raw)

Fix broken cast on MSVC

Per buildfarm animal drongo, casting a vector type to the same type
causes a compile error. We still need the cast on ARM64, so invent a
wrapper function that does the casting only where necessary.

Discussion: https://www.postgresql.org/message-id/CAFBsxsEouaTwbmpqV%2BEW2%3DwFbhw2vHRe26NQTRcd0%3DNaOFDy7A%40ma...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c6a43c25a8ba1a825588f7af25a7173f2e66ce8d

Modified Files
--------------
src/include/port/pg_lfind.h |  2 +-
src/include/port/simd.h     | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1oScH1-000RbK-8z@gemulon.postgresql.org>
Permalink:  ../E1oScH1-000RbK-8z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oScH1-000RbK-8z@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: john.naylor@postgresql.org
  Subject: Re: pgsql: Fix broken cast on MSVC
  In-Reply-To: <E1oScH1-000RbK-8z@gemulon.postgresql.org>
  References: <E1oScH1-000RbK-8z@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox