1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Add support for C16_C16 instruction words

* module/language/bytecode.scm (compute-instruction-arity):
* module/system/vm/assembler.scm (pack-u16-u16, expand):
* module/system/vm/disassembler.scm (disassembler):
* libguile/instructions.c (FOR_EACH_INSTRUCTION_WORD_TYPE): Add C16_C16.
This commit is contained in:
Andy Wingo 2017-10-24 21:11:20 +02:00
parent 214e887dbd
commit 808000034e
4 changed files with 18 additions and 5 deletions

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2001, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
/* Copyright (C) 2001, 2009, 2010, 2011, 2012, 2013, 2017 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@ -65,7 +65,8 @@ SCM_SYMBOL (sym_bang, "!");
M(B1_X7_C24) \
M(B1_X7_S24) \
M(B1_X7_F24) \
M(B1_X31)
M(B1_X31) \
M(C16_C16)
#define TYPE_WIDTH 6