mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
Only enable JIT by default on x86-64
* acinclude.m4: Disable JIT by default on not-x86-64. Although I got JIT mostly working on 32-bit x86, I got nondeterministic segfaults deep in lightning, on that platform; perhaps indicating a bug in the optimizer. After a day of poking and not solving the problem, I think that I don't want the complexity of Lightning's node representation, especially on platforms that get less testing. In the future we'll use the lightning backends without the node layer. * NEWS: Update.
This commit is contained in:
parent
e08d10af67
commit
4aa4a6d590
2 changed files with 9 additions and 3 deletions
5
NEWS
5
NEWS
|
@ -22,8 +22,9 @@ compilation will be enabled automatically and transparently. To disable
|
|||
JIT compilation, configure Guile with `--enable-jit=no' or
|
||||
`--disable-jit'. See `./configure --help' for more.
|
||||
|
||||
Guile uses an embedded copy of GNU lightning, providing support for JIT
|
||||
on about a dozen platforms.
|
||||
In this release, JIT compilation is enabled only on x86-64. In future
|
||||
prereleases support will be added for all architectures supported by GNU
|
||||
lightning.
|
||||
|
||||
** Lower-level bytecode
|
||||
|
||||
|
|
|
@ -614,7 +614,12 @@ AC_DEFUN([GUILE_ENABLE_JIT], [
|
|||
case "x$enable_jit" in
|
||||
xy*) enable_jit=yes ;;
|
||||
xn*) enable_jit=no ;;
|
||||
xa* | x) enable_jit=$JIT_AVAILABLE ;;
|
||||
xa* | x)
|
||||
# For the time being, only enable JIT on x86-64.
|
||||
case "$target_cpu" in
|
||||
x86_64|amd64) enable_jit=yes ;;
|
||||
*) enable_jit=no ;;
|
||||
esac
|
||||
*) AC_MSG_ERROR(bad value $enable_jit for --enable-jit) ;;
|
||||
esac
|
||||
AC_MSG_RESULT($enable_jit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue