Commit Graph

6 Commits

Author SHA1 Message Date
Šimon Bořek a4a484fbca 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>
2022-08-06 10:34:58 -07:00
Rosen Penev 24c0007ea2 luajit: backport softfloat ppc support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-22 12:48:32 -06:00
Sergey V. Lobanov 42c4d25455 luajit: fix build on macos (ldconfig issue)
fix ldconfig build issue. This patch is a backport from upstream:
18c9cf7d37

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-08 08:04:03 +01:00
Rosen Penev 0e620f1fa1 luajit: fix compilation with host clang
It errors out with this section.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-26 11:25:42 -07:00
Rosen Penev 0873c8da60 luajit: Switch to versioned releases
Allows to simplify the Makefile

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-06 14:44:32 -08:00
Yousong Zhou ea9e3b05ef luajit: move patches dir to the right place
Closes #3792

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-01-08 22:10:25 +08:00