[gdal-dev] Different results when reading a GeoTIFF with GDAL 2.1.2 vs 3.x

Even Rouault even.rouault at spatialys.com
Sun Dec 29 13:18:08 PST 2019


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 ?

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list