Author Topic: [DEV] JIT support for Firefox  (Read 22222 times)

ClassicHasClass

  • Hero Member
  • *****
  • Posts: 524
  • Karma: +40/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: [DEV] JIT support for Firefox
« Reply #15 on: May 14, 2026, 10:01:16 am »
Fun! (But requires Leopard.)

mparnaudeau

  • Newbie
  • *
  • Posts: 39
  • Karma: +9/-0
  • Freelance software developer and PPC fan
    • View Profile
Re: [DEV] JIT support for Firefox
« Reply #16 on: May 14, 2026, 11:06:07 am »
tle: ppc64 is POWER8+ only, no PPC970/ PA6T?

Only POWER ISA 2.7+ and Little Endian only at this stage. I do plan to support Big Endian but the amount of work would be triple (POWER8, POWER9 and POWER10 fast paths all need to be carefully revised and tested).

I wish I could offer support for PPC970/PA6T but lacking of real hardware would make it very hard for me to pick up many issues.

I have a PowerMac G5 with Debian (and also an X1000 but haven't try Linux on it for years). I have very few time and I have no experience with the topic but if it helps to build and test some things, you're welcome.

A comment about your initial message though: you asked to people for a review of your pull request but to me, as a human, it is not possible to review such big pull request.

MPC7500

  • Hero Member
  • *****
  • Posts: 648
  • Karma: +43/-1
    • View Profile
    • Twitter
Re: [DEV] JIT support for Firefox
« Reply #17 on: May 18, 2026, 06:09:34 pm »
Firefox-ESR (with a minor adjustment) runs here, too.

Chimera Linux
LLVM/Clang, PGO + LTO
Build time = 12h

JetStream 3 score:
POWER9, 4core = 28
Apple Silicon M1 = 172
Apple Silicon M4 = 255

By the way, here’s a little tip from me. Generating code with AI is one thing, but nobody really wants to chat with an AI on GitHub. That’s really not a good idea.
« Last Edit: May 18, 2026, 06:43:11 pm by MPC7500 »

MPC7500

  • Hero Member
  • *****
  • Posts: 648
  • Karma: +43/-1
    • View Profile
    • Twitter
Re: [DEV] JIT support for Firefox
« Reply #18 on: May 20, 2026, 06:35:53 pm »
I have a PowerMac G5 with Debian ...

That's good to know. Right now, I'm working with an LLM on porting a non-Linux OS. I still need to ask the lead developers if they accept LLM code. But if everything works out, I'll need someone with actual ppc64 hardware for testing. There is already some (old) ppc code available, but I'm doing ELFv2 ABI ppc64 first, then ppc64le, and finally ppc. A PA6T would also be good for testing.