Skip to content

fix problem with __m128i undefined on ARM#224

Open
franko wants to merge 1 commit intoEUA:masterfrom
lhelper-org:fix-sse2-arm64
Open

fix problem with __m128i undefined on ARM#224
franko wants to merge 1 commit intoEUA:masterfrom
lhelper-org:fix-sse2-arm64

Conversation

@franko
Copy link
Copy Markdown

@franko franko commented Jun 27, 2024

There is a constant REG_SZ, see file modification, that is used conditionally only when SSE2 is defined but the variable REG_SZ is defined unconditionally.

This problem cause the compilation to fail on ARM64 architecture.

I added ifdef guards based on SSE2 like for the rest of the code. It compiles on macOS on ARM64 architecture.

@willysr
Copy link
Copy Markdown

willysr commented Sep 29, 2024

This also fixed building issues in i586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants