1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00
guile/module/language
Andy Wingo 782a82eed1 add ability to compile uniform arrays
* module/rnrs/bytevector.scm (rnrs):
* libguile/bytevectors.h:
* libguile/bytevectors.c (scm_uniform_array_to_bytevector): New function.

* libguile/unif.h:
* libguile/unif.c (scm_from_contiguous_typed_array): New function.

* libguile/vm-i-loader.c (load-array): New instruction, for loading byte
  data into uniform vectors. Currently it copies out the data, though in
  the future we could avoid that.

* module/language/assembly.scm (align-code): New exported function,
  aligns code on some boundary.
  (align-program): Use align-code.

* module/language/assembly/compile-bytecode.scm (write-bytecode): Support
  the load-array instruction.

* module/language/glil/compile-assembly.scm (dump-object): Dump uniform
  arrays. Neat :)
2009-06-05 16:31:38 +02:00
..
assembly add ability to compile uniform arrays 2009-06-05 16:31:38 +02:00
bytecode compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
ecmascript update docs, clean up VM vestiges, macro docs, fix (/ a b c) 2009-05-24 13:09:01 +02:00
elisp remove .cvsignore files 2008-11-10 12:17:18 +01:00
ghil tree-il -> glil compiler works now, at least in initial tests 2009-05-15 23:44:14 +02:00
glil add ability to compile uniform arrays 2009-06-05 16:31:38 +02:00
objcode compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
r5rs remove GPKG.def files 2009-01-29 21:12:00 +01:00
scheme update docs, clean up VM vestiges, macro docs, fix (/ a b c) 2009-05-24 13:09:01 +02:00
tree-il update docs, clean up VM vestiges, macro docs, fix (/ a b c) 2009-05-24 13:09:01 +02:00
value Aggregate makefiles for module/system' and module/language'. 2009-02-24 23:54:16 +01:00
assembly.scm add ability to compile uniform arrays 2009-06-05 16:31:38 +02:00
ghil.scm support expression-by-expression compilation 2009-04-16 17:49:59 +02:00
glil.scm tree-il -> glil compiler works now, at least in initial tests 2009-05-15 23:44:14 +02:00
objcode.scm static opcodes; refactor program/objcode division; use new assembly pipeline 2009-01-29 21:12:00 +01:00
tree-il.scm update docs, clean up VM vestiges, macro docs, fix (/ a b c) 2009-05-24 13:09:01 +02:00