luajit: patch: PPC/e500 SPE: use soft float instead of failing
authorŠimon Bořek <simon.borek@nic.cz>
Sat, 16 Jul 2022 16:56:32 +0000 (18:56 +0200)
committerRosen Penev <rosenp@gmail.com>
Sat, 6 Aug 2022 17:34:58 +0000 (10:34 -0700)
commita4a484fbca5c185456cf5ac26e6f47c03ca426e9
treecf67ae82d87f44043a06ee57820db59380c3151b
parent203a4299510dd8997c05334f052481b492d5e97b
luajit: patch: PPC/e500 SPE: use soft float instead of failing

makes LuaJit builds for mpc85xx targets with SPE ISA extension
enabled possible

Quoting inner commit message:

This allows building LuaJit for systems with Power ISA SPE
extension[^1] support by using soft float on LuaJit side.

While e500 CPU cores support SPE instruction set extension
allowing them to perform floating point arithmetic natively,
this isn't required. They can function with software floating
point to integer arithmetic translation as well,
just like FPU-less PowerPC CPUs without SPE support.

Therefore I see no need to prevent them from running LuaJit
explicitly.

[^1]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
lang/luajit/patches/300-PPC-e500-with-SPE-enabled-use-soft-float.patch [new file with mode: 0644]