+2022-09-08 Paulo Andrade <pcpa@gnu.org>
+
+ * lib/jit_fallback.c: Implement fallback compare and swap with
+ pthreads.
+ * check/Makefile.am: Update for new cas{r,i} simple test.
+ * check/catomic.c, check/catomic.ok: New test case for
+ simple compare and swap atomic operation.
+ * check/lightning.c: Add entries to be able to use
+ the new compare and swap atomic operation. Still missing
+ a general test, only the basic C version.
+ * include/lightning.h.in: Include pthread.h, even if not
+ needing a fallback compare and swap.
+ * include/lightning/jit_private.h: Add support for a register pair
+ in second argument. Required by the new casr and casi operations.
+ * lib/jit_aarch64-cpu.c, lib/jit_aarch64-sz.c, lib/jit_aarch64.c,
+ lib/jit_ppc-cpu.c, lib/jit_ppc-sz.c, lib/jit_ppc.c, lib/jit_x86-cpu.c,
+ lib/jit_x86-sz.c, lib/jit_x86.c: Implement inline code for compare
+ and swap.
+ * lib/jit_arm-cpu.c, lib/jit_arm-sz.c, lib/jit_arm.c: Implement
+ inline code for compare and swap if cpu is armv7, otherwise, use
+ a fallback with pthreads.
+ * lib/jit_alpha-cpu.c, lib/jit_alpha-sz.c, lib/jit_alpha.c,
+ lib/jit_hppa-cpu.c, lib/jit_hppa-sz.c, lib/jit_hppa.c,
+ lib/jit_ia64-cpu.c, lib/jit_ia64-sz.c, lib/jit_ia64.c,
+ lib/jit_mips-cpu.c, lib/jit_mips-sz.c, lib/jit_mips.c,
+ lib/jit_riscv-cpu.c, lib/jit_riscv-sz.c, lib/jit_riscv.c,
+ lib/jit_s390-cpu.c, lib/jit_s390-sz.c, lib/jit_s390.c,
+ lib/jit_sparc-cpu.c, lib/jit_sparc-sz.c, lib/jit_sparc.c: Implement
+ fallback compare and swap with pthreads. At least some of these
+ should be updated for inline code generation.
+ * lib/jit_names.c, lib/jit_print.c: lib/lightning.c: Update for the
+ new compare and swap operation.
+ * doc/body.texi: Add simple documentation of the compare and swap
+ new operation.
+
+2022-08-12 Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de>
+
+ Document jit_align.
+ * doc/body.texi: Add documentation for jit_align.
+
+2022-05-14 Paulo Andrade <pcpa@gnu.org>
+
+ * include/lightning.h.in: Reorder jit_mov{n,z}r in instruction list.
+ * lib/jit_alpha.c, lib/jit_alpha-cpu.c, lib/jit_hppa.c,
+ lib/jit_hppa-cpu.c, lib/jit_ia64.c, lib/jit_ia64-cpu.c,
+ lib/jit_riscv.c, lib/jit_riscv-cpu.c, lib/jit_s390.c,
+ lib/jit_s390-cpu.c, lib/jit_sparc.c, lib/jit_sparc-cpu.c:
+ Implement fallback jit_mov{n,z}r. These are a somewhat cheap
+ implementation, but should be reviewed for the arches that already
+ have a proper conditional move.
+ * lib/jit_arm-sz.c, lib/jit_mips-sz.c: Add missing maximum size
+ estimative and reorder.
+ * lib/jit_aarch64-sz.c, lib/jit_x86-sz.c, lib/jit_ppc-sz.c:
+ Reorder entry to match definition order.
+ * lib/jit_aarch64-sz.c, lib/jit_alpha-sz.c, lib/jit_hppa-sz.c,
+ lib/jit_ia64-sz.c, lib/jit_riscv-sz.c, lib/jit_s390-sz.c,
+ lib/jit_sparc-sz.c: Add heuristic value, basically the sum of
+ the cost of a movr + beqr.
+ * lib/jit_names.c: Add entries for debug output of mov{n,z}r.
+ * lib/lightning.c: Use proper bitmask in jit_classify.
+
+2021-04-03 Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de>
+
+ * check/Makefile.am: Add test for the live instruction.
+ * check/live.ok: New file.
+ * check/live.tst: New file.
+ * doc/body.texi: Add documentation for the live instruction and
+ for jit_get_reg/jit_get_unreg. Fix menu entries.
+ * include/lightning.h.in (jit_get_reg, jit_unget_reg): Expose the
+ macros in the public header file.
+ * include/lightning/jit_private.h (jit_get_reg, jit_unget_reg):
+ Remove the macros from the private header file.
+
+2021-04-03 Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de>
+
+ * Makefile.am, check/Makefile.am, doc/Makefile.am,
+ lib/Makefile.am: Include $(top_builddir)/include in include paths
+ for the autoconf-generated header file lightning.h.
+
+2021-04-03 Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de>
+
+ * doc/.gitignore: Add version.texi to list of ignored files.
+ * doc/version.texi: Remove file from version control.
+
+2020-18-04 Paulo Andrade <pcpa@gnu.org>
+
+ * lib/jit_x86-cpu.c, lib/jit_x86.c: Implement %rip relative
+ calls and jumps on x86_64. Currently very conservative, assuming
+ a jit block can be larger than 2G, so, if a jump or call is in
+ the same jit generation, but target is unknown, use an indirect
+ branch (could have an option to assume a jit code block is
+ never larger than 2G). Also a deoptimization is that now does
+ not always generate ip relative jmpi; previously implicitly
+ assumed jmpi would never be larger than 2G. Overall still an
+ optimization.
+