Open Bug 1746335 Opened 2 years ago Updated 2 months ago

[meta] Support LoongArch64 on Linux

Categories

(Core :: General, task, P5)

Other
Linux
task

Tracking

()

UNCONFIRMED

People

(Reporter: zhaojiazhong-hf, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

LoongArch is a new RISC ISA developed by Loongson Technology, and some related documents could be found at here.

Depends on: 1746350
Blocks: 1757272

Moving this bug to the Core:JavaScript Engine

Component: General → JavaScript Engine
Priority: -- → P5

Hi, do you happen to know if there is an ongoing plan to port Firefox to the Loongson architecture? (community work probably?)

In bug 1769242, I find libvpx has added some optimization codes for Loongson but Firefox doesn't build libvpx for Loongson. It's reasonable to exclude those code since Firefox doesn't use it at all. However, if there is an ongoing work to port Firefox to Loongson, we might be able to accommodate it.

Flags: needinfo?(zhaojiazhong-hf)
See Also: → 1769242

(In reply to C.M.Chang[:chunmin] from comment #2)

Hi, do you happen to know if there is an ongoing plan to port Firefox to the Loongson architecture? (community work probably?)

In bug 1769242, I find libvpx has added some optimization codes for Loongson but Firefox doesn't build libvpx for Loongson. It's reasonable to exclude those code since Firefox doesn't use it at all. However, if there is an ongoing work to port Firefox to Loongson, we might be able to accommodate it.

Hi, thanks for your information. We are planning to port Firefox to LoongArch64 platform, and I think we may upstream it in the near future. So it would be great if the LoongArch codes are kept. Thanks!

Flags: needinfo?(zhaojiazhong-hf)
No longer blocks: 1757272
Component: JavaScript Engine → General
Depends on: 1757272
Depends on: 1778177
Depends on: 1730353
Depends on: 1782159
Depends on: 1833852
Depends on: 1833993
Blocks: 1847872
Depends on: 1851545

FWIW, bug 1864000 bumped vendored rust nix crate to 0.27.1 version, which has added loongarch support.
And now we can build firefox browser for loongarch64 platform without additional patch, although there may be some features are not ported yet.

Depends on: 1864000
Depends on: 1882716
You need to log in before you can comment on or make changes to this bug.