Disabling HAVE_SSSE3_AT_COMPILE_TIME had no effect, but after short-circuiting the #ifdef I got a correct result.

On 29/12/2019 22:18, Even Rouault wrote:
On dimanche 29 décembre 2019 22:04:23 CET Momtchil Momtchev wrote:
      That was my first idea too so I rebuilt without SSE,
--without-sse will have no effect on a 64-bit build on the part of the code
I'm suspecting (it only affects gdal_grid). As all Intel/AMD CPUs supporting
64-bit have SSE and SSE2, SSE2 optimizations are unconditionally enabled.

In gcore/rasterio.cpp, can you change line 2869

#if (defined(__x86_64) || defined(_M_X64)) &&  !(defined(__GNUC__) && __GNUC__
< 4)

to

#if 0

to remove any SSE2 (and SSSE3) optimization ?

--
Momtchil Momtchev <[email protected]>

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to