Skip to content

x86/sse: fix conditional compilation for Loongarch LSX#1420

Open
elysia-best wants to merge 1 commit into
simd-everywhere:masterfrom
elysia-best:patch-1
Open

x86/sse: fix conditional compilation for Loongarch LSX#1420
elysia-best wants to merge 1 commit into
simd-everywhere:masterfrom
elysia-best:patch-1

Conversation

@elysia-best

Copy link
Copy Markdown

This PR fixes a conditional compilation typo in simde/x86/sse.h. Previously, the native LoongArch implementation was guarded by SIMDE_LOONGARCH_LASX_NATIVE, but it calls __lsx_vfdiv_s, which is an LSX intrinsic, not LASX.

According to the Unofficial LoongArch Intrinsics Guide, __lsx_vfdiv_s is explicitly part of the LSX instruction set.

Fixes #1394

@elysia-best elysia-best changed the title x86:sse: fix conditional compilation for Loongarch LSX x86/sse: fix conditional compilation for Loongarch LSX Jul 22, 2026
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.

SIMDE_LOONGARCH_LASX_NATIVE used with LSX intrinsic in simde_mm_div_ps

1 participant