add bytevector ops to the vm
authorAndy Wingo <wingo@pobox.com>
Wed, 24 Jun 2009 21:49:11 +0000 (23:49 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 26 Jun 2009 10:42:10 +0000 (12:42 +0200)
commite6eb2467164de264c313af92d488144d2cdae94c
tree0c753cb23b1a9e269ca6b173f98dae14bb460265
parentcaa92f5e951528c1ea31b2eea8b388e9888fa19e
add bytevector ops to the vm

* libguile/instructions.h (SCM_VM_NUM_INSTRUCTIONS): Enlarge to 255. Not
  sure what performance effects this will have.

* libguile/vm-engine.c: Add new error case, vm_error_not_a_bytevector.

* libguile/vm-engine.h: Don't assign specific registers for i386. Having
  added the new VM vector ops, GCC 4.4 is erroring for me now.

* libguile/vm-i-scheme.c: Add bytevector-specific ops to the VM.
  We don't actually use them yet, though.
libguile/instructions.h
libguile/vm-engine.c
libguile/vm-engine.h
libguile/vm-i-scheme.c