Fix broken cast on MSVC
John Naylor <john.naylor@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/include/port/pg_lfind.h | modified | +1 −1 |
| src/include/port/simd.h | modified | +22 −0 |
Discussion
- use ARM intrinsics in pg_lfind32() where available 29 messages · 2022-08-19 → 2022-08-30