RFR: 8293214: Add support for Linux/LoongArch64 [v3]
Johan Vos
jvos at openjdk.org
Wed Sep 7 11:46:52 UTC 2022
On Thu, 1 Sep 2022 13:00:24 GMT, Ao Qi <aoqi at openjdk.org> wrote:
>> LoongArch is a new RISC ISA. This issue proposes adding support for Linux/LoongArch64. Upstream WebKit for LoongArch64 support is not ready, but the OpenJFX part is simple and ready. When the LoongArch64 supported Webkit is updated to OpenJFX, it is supposed to work.
>>
>> Testing:
>> - [x] base, controls, fxml, graphics and web tests, {Release,Debug}, {with WebKit,without Webkit} on Linux/x64
>> - [x] base, controls, fxml, graphics and web tests, {Release,Debug}, {with WebKit,without Webkit} on Linux/aarch64
>> - [x] base, controls, fxml and graphics tests, {Release,Debug}, without WebKit on Linux/loongarch64
>
> Ao Qi has updated the pull request incrementally with one additional commit since the last revision:
>
> revert
modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile line 36:
> 34: -ffunction-sections -fdata-sections
> 35:
> 36: ifeq (,$(findstring $(ARCH), aarch64 loongarch64))
This will work, but I wonder if we should revert the test: we now always assume that msse2 is supported, unless we are on an architecture which we know doesn't support it. It might be safer to only ask for msse2 support if we are really sure it is supported by the architecture (which currently means a check on x32 and x64)
-------------
PR: https://git.openjdk.org/jfx/pull/888
More information about the openjfx-dev
mailing list