pgsql: Fix broken cast on MSVC - Mailing list pgsql-committers

From John Naylor
Subject pgsql: Fix broken cast on MSVC
Date
Msg-id E1oScH1-000RbK-8z@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Fix broken cast on MSVC  (Julien Rouhaud <rjuju123@gmail.com>)
List pgsql-committers
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%40mail.gmail.com

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(-)


pgsql-committers by date:

Previous
From: John Naylor
Date:
Subject: pgsql: Use ARM Advanced SIMD (NEON) intrinsics where available
Next
From: David Rowley
Date:
Subject: pgsql: Add missing padding from MemoryChunk struct