[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/02: Reference Lightening instead of GNU Lightning
From: |
Andy Wingo |
Subject: |
[Guile-commits] 01/02: Reference Lightening instead of GNU Lightning |
Date: |
Thu, 23 May 2019 16:09:11 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 6880ced4c24e76c713061de80619353153a0a537
Author: Andy Wingo <address@hidden>
Date: Thu May 23 21:00:20 2019 +0200
Reference Lightening instead of GNU Lightning
* doc/ref/vm.texi (Just-In-Time Native Code): Update with link to
Lightening.
---
doc/ref/vm.texi | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/doc/ref/vm.texi b/doc/ref/vm.texi
index d118470..5a0b5a7 100644
--- a/doc/ref/vm.texi
+++ b/doc/ref/vm.texi
@@ -1,6 +1,6 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
address@hidden Copyright (C) 2008-2011, 2013, 2015, 2018
address@hidden Copyright (C) 2008-2011, 2013, 2015, 2018, 2019
@c Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@@ -1910,11 +1910,14 @@ breakpoint, Guile will disable the JIT for the thread
being debugged,
falling back to the interpreter (which has the corresponding code to run
the hooks). @xref{VM Hooks}.
-Guile uses the GNU Lightning library to emit native code. This allows
-Guile's template JIT supports practically all architectures, from
-Itanium to MIPS. You can optimize a program on your x86-64 desktop and
-you can know that the corresponding program on an AArch64 phone will
-also get faster.
+To emit native code, Guile uses a forked version of GNU Lightning.This
+"Lightening" effort, spun out as a separate project, aims to build on
+the back-end support from GNU Lightning, but adapting the API and
+behavior of the library to match Guile's needs. This code is included
+in the Guile source distribution. For more information, see
address@hidden://gitlab.com/wingo/lightening}. As of mid-2019, Lightening
+supports code generation for the x86-64, ia32, ARMv7, and AArch64
+architectures.
The weaknesses of a template JIT are two-fold. Firstly, as a simple
back-end that has to run fast, a template JIT doesn't have time to do