1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-19 18:20:22 +02:00
guile/module/language/cps
Andy Wingo 8f18b71b7a Remove add1 and sub1
* libguile/vm-engine.c: Remove add1 and sub1 instructions.  Will replace
  with add/immediate and sub/immediate.
* module/language/tree-il/peval.scm (peval): If we reify a new
  <primcall>, expand it.  Removes 1- and similar primcalls.
* module/language/tree-il/primitives.scm: Don't specialize (+ x 1) to 1+.
  (expand-primcall): New export, does a single primcall expansion.
  (expand-primitives): Use the new helper.
* module/language/cps/effects-analysis.scm:
* module/language/cps/primitives.scm:
* module/language/cps/types.scm:
* module/system/vm/assembler.scm: Remove support for add1 and sub1 CPS
  primitives.
* test-suite/tests/peval.test ("partial evaluation"): Adapt tests that
  expect 1+/1- to expect +/-.
2015-12-01 11:30:55 +01:00
..
closure-conversion.scm Fix miscompilation of closures allocated as vectors 2015-11-11 16:30:59 +01:00
compile-bytecode.scm Add instructions to branch on u64 comparisons 2015-12-01 11:30:54 +01:00
constructors.scm Add missing files 2015-07-22 18:27:37 +02:00
contification.scm Replace return primcalls with $values 2015-10-28 11:11:23 +00:00
cse.scm Add low-level support for unboxed 64-bit unsigned ints 2015-12-01 11:30:54 +01:00
dce.scm Factor out compute-effects/elide-type-checks from dce.scm 2015-07-24 11:39:18 +02:00
effects-analysis.scm Remove add1 and sub1 2015-12-01 11:30:55 +01:00
elide-values.scm Add missing files 2015-07-22 18:27:37 +02:00
intmap.scm Fix intmap-ref bug 2015-06-05 00:34:05 +02:00
intset.scm intset-intersect bugfix 2015-07-22 16:59:47 +02:00
licm.scm Loop-invariant code motion 2015-07-24 16:50:58 +02:00
optimize.scm Add new pass to specialize "add" into "fadd" where possible 2015-11-11 10:21:43 +01:00
peel-loops.scm Loop peeling 2015-07-27 13:45:23 +02:00
primitives.scm Remove add1 and sub1 2015-12-01 11:30:55 +01:00
prune-bailouts.scm Add missing files 2015-07-22 18:27:37 +02:00
prune-top-level-scopes.scm Add missing files 2015-07-22 18:27:37 +02:00
reify-primitives.scm Add missing files 2015-07-22 18:27:37 +02:00
renumber.scm Add missing files 2015-07-22 18:27:37 +02:00
rotate-loops.scm Simplify rotate-loops.scm 2015-07-27 12:59:09 +02:00
self-references.scm Add missing files 2015-07-22 18:27:37 +02:00
simplify.scm Add missing files 2015-07-22 18:27:37 +02:00
slot-allocation.scm Add unsigned 64-bit arithmetic operators: uadd, usub, umul 2015-12-01 11:30:55 +01:00
spec.scm Add missing files 2015-07-22 18:27:37 +02:00
specialize-numbers.scm Specialize u64 arithmetic 2015-12-01 11:30:55 +01:00
specialize-primcalls.scm Add missing files 2015-07-22 18:27:37 +02:00
split-rec.scm Add missing files 2015-07-22 18:27:37 +02:00
type-checks.scm Factor out compute-effects/elide-type-checks from dce.scm 2015-07-24 11:39:18 +02:00
type-fold.scm Add instructions to branch on u64 comparisons 2015-12-01 11:30:54 +01:00
types.scm Remove add1 and sub1 2015-12-01 11:30:55 +01:00
utils.scm solve-flow-equations tweak 2015-07-27 13:25:38 +02:00
verify.scm Replace return primcalls with $values 2015-10-28 11:11:23 +00:00
with-cps.scm Add missing files 2015-07-22 18:27:37 +02:00