On Wed, 6 Apr 2022, Elaine Lefler wrote:
On Tue, Apr 5, 2022 at 2:14 AM Jan Sikorski jsikorski@codeweavers.com wrote:
Hello everyone,
On 2 Apr 2022, at 06:44, Elaine Lefler elaineclefler@gmail.com wrote:
Should be noted that SSE2 also exists on 32-bit processors, and in this same file you can find usage of "sse2_supported", which would enable you to use this code path on i386. You can put __attribute__((target("sse2"))) on the declaration of sse2_memcmp to allow GCC to emit SSE2 instructions even when the file's architecture forbids it.
True, I intentionally left it out in this patch, because it’s possibly more compiler dependent.
AFAIK this dll will only ever be compiled with mingw-gcc. Should be safe to assume GCC unless there are plans to support other cross-compilers.
Clang is also supported as cross compiler - both with mingw targets and msvc targets.
// Martin