Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loongarch float16: use a portable version to avoid compilation errors #1224

Merged
merged 3 commits into from
Sep 22, 2024

Conversation

XiWeiGu
Copy link
Contributor

@XiWeiGu XiWeiGu commented Sep 20, 2024

Fixed the compilation issue on the Loongarch platform with clang:
../test/x86/avx512/../../../simde/simde-f16.h:100:11: error: _Float16 is not supported on this target.

Copy link
Collaborator

@mr-c mr-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That the new CI job catches the error is confirmed at https://github.com/simd-everywhere/simde/actions/runs/10972598018/job/30469053422#step:9:11

Thank you for the fix @XiWeiGu !

@mr-c mr-c merged commit 9cbeced into simd-everywhere:master Sep 22, 2024
100 of 101 checks passed
wszqkzqk added a commit to wszqkzqk/WebKit that referenced this pull request Nov 27, 2024
https://bugs.webkit.org/show_bug.cgi?id=280505
simd-everywhere/simde#1224

Reviewed by NOBODY (OOPS!).

Fixed the compilation issue on the Loongarch platform with clang:

` ../test/x86/avx512/../../../simde/simde-f16.h:100:11: error: _Float16 is not supported on this target.`

* Source/WTF/wtf/simde/arm/neon.h:
use a portable version to avoid compilation errors in loongarch's float16
wszqkzqk added a commit to wszqkzqk/WebKit that referenced this pull request Nov 27, 2024
…x for loong64 platform

https://bugs.webkit.org/show_bug.cgi?id=280505
simd-everywhere/simde#1224

Reviewed by NOBODY (OOPS!).

Synchronize sources about LASX from BUILD.gn to CMakeList.txt
to fix error during linking on loong64 platform, like:

`ld.lld: error: undefined hidden symbol: SkOpts::Init_lasx()`

Fixed the compilation issue on the loong64 platform with clang:

` ../test/x86/avx512/../../../simde/simde-f16.h:100:11: error: _Float16 is not supported on this target.`

* Source/ThirdParty/skia/CMakeLists.txt:
Add:
src/core/SkBitmapProcState_opts_lasx.cpp
src/core/SkBlitRow_opts_lasx.cpp
src/core/SkSwizzler_opts_lasx.cpp
src/opts/SkOpts_lasx.cpp
* Source/WTF/wtf/simde/arm/neon.h:
use a portable version to avoid compilation errors in loongarch's float16
wszqkzqk added a commit to wszqkzqk/WebKit that referenced this pull request Nov 28, 2024
…d with clang

https://bugs.webkit.org/show_bug.cgi?id=280505
simd-everywhere/simde#1224

Reviewed by NOBODY (OOPS!).

Fixed the compilation issue on the Loongarch platform with clang:

` ../test/x86/avx512/../../../simde/simde-f16.h:100:11: error: _Float16 is not supported on this target.`

* Source/WTF/wtf/simde/arm/neon.h:
use a portable version to avoid compilation errors in loongarch's float16
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