aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-11-20 03:15:10 +0000
committerDJ Delorie <dj@redhat.com>2002-11-20 03:15:10 +0000
commit193eb15dbaa0b2c9bf31134ed7be6a417b57b6e8 (patch)
tree5564e57535f491751d5051bee0db0aca3610c070 /opcodes
parentc8014bda548965dea93a3d840dcace72bc8d3620 (diff)
downloadgdb-193eb15dbaa0b2c9bf31134ed7be6a417b57b6e8.zip
gdb-193eb15dbaa0b2c9bf31134ed7be6a417b57b6e8.tar.gz
gdb-193eb15dbaa0b2c9bf31134ed7be6a417b57b6e8.tar.bz2
* xstormy16-desc.c: Regenerate.
* xstormy16-opc.c: Regenerate. * xstormy16-opc.h: Regenerate.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/xstormy16-desc.c15
-rw-r--r--opcodes/xstormy16-opc.c18
-rw-r--r--opcodes/xstormy16-opc.h6
4 files changed, 42 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 56f62d8..502bb56 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-15 DJ Delorie <dj@redhat.com>
+
+ * xstormy16-desc.c: Regenerate.
+ * xstormy16-opc.c: Regenerate.
+ * xstormy16-opc.h: Regenerate.
+
2002-11-18 Klee Dienes <kdienes@apple.com>
* avr-dis.c: Include libiberty.h (for xmalloc).
diff --git a/opcodes/xstormy16-desc.c b/opcodes/xstormy16-desc.c
index 0c50625..83a3b10 100644
--- a/opcodes/xstormy16-desc.c
+++ b/opcodes/xstormy16-desc.c
@@ -1099,6 +1099,21 @@ static const CGEN_IBASE xstormy16_cgen_insn_table[MAX_INSNS] =
XSTORMY16_INSN_DIV, "div", "div", 16,
{ 0, { (1<<MACH_BASE) } }
},
+/* sdiv */
+ {
+ XSTORMY16_INSN_SDIV, "sdiv", "sdiv", 16,
+ { 0, { (1<<MACH_BASE) } }
+ },
+/* sdivlh */
+ {
+ XSTORMY16_INSN_SDIVLH, "sdivlh", "sdivlh", 16,
+ { 0, { (1<<MACH_BASE) } }
+ },
+/* divlh */
+ {
+ XSTORMY16_INSN_DIVLH, "divlh", "divlh", 16,
+ { 0, { (1<<MACH_BASE) } }
+ },
/* nop */
{
XSTORMY16_INSN_NOP, "nop", "nop", 16,
diff --git a/opcodes/xstormy16-opc.c b/opcodes/xstormy16-opc.c
index 8c6d7d3..363b2cb 100644
--- a/opcodes/xstormy16-opc.c
+++ b/opcodes/xstormy16-opc.c
@@ -892,6 +892,24 @@ static const CGEN_OPCODE xstormy16_cgen_insn_opcode_table[MAX_INSNS] =
{ { MNEM, 0 } },
& ifmt_iret, { 0xc0 }
},
+/* sdiv */
+ {
+ { 0, 0, 0, 0 },
+ { { MNEM, 0 } },
+ & ifmt_iret, { 0xc8 }
+ },
+/* sdivlh */
+ {
+ { 0, 0, 0, 0 },
+ { { MNEM, 0 } },
+ & ifmt_iret, { 0xe0 }
+ },
+/* divlh */
+ {
+ { 0, 0, 0, 0 },
+ { { MNEM, 0 } },
+ & ifmt_iret, { 0xe8 }
+ },
/* nop */
{
{ 0, 0, 0, 0 },
diff --git a/opcodes/xstormy16-opc.h b/opcodes/xstormy16-opc.h
index 337afec..fbe7fe1 100644
--- a/opcodes/xstormy16-opc.h
+++ b/opcodes/xstormy16-opc.h
@@ -66,9 +66,9 @@ typedef enum cgen_insn_type {
, XSTORMY16_INSN_BGR, XSTORMY16_INSN_BR, XSTORMY16_INSN_JMP, XSTORMY16_INSN_JMPF
, XSTORMY16_INSN_CALLRGR, XSTORMY16_INSN_CALLRIMM, XSTORMY16_INSN_CALLGR, XSTORMY16_INSN_CALLFIMM
, XSTORMY16_INSN_ICALLRGR, XSTORMY16_INSN_ICALLGR, XSTORMY16_INSN_ICALLFIMM, XSTORMY16_INSN_IRET
- , XSTORMY16_INSN_RET, XSTORMY16_INSN_MUL, XSTORMY16_INSN_DIV, XSTORMY16_INSN_NOP
- , XSTORMY16_INSN_HALT, XSTORMY16_INSN_HOLD, XSTORMY16_INSN_HOLDX, XSTORMY16_INSN_BRK
- , XSTORMY16_INSN_SYSCALL
+ , XSTORMY16_INSN_RET, XSTORMY16_INSN_MUL, XSTORMY16_INSN_DIV, XSTORMY16_INSN_SDIV
+ , XSTORMY16_INSN_SDIVLH, XSTORMY16_INSN_DIVLH, XSTORMY16_INSN_NOP, XSTORMY16_INSN_HALT
+ , XSTORMY16_INSN_HOLD, XSTORMY16_INSN_HOLDX, XSTORMY16_INSN_BRK, XSTORMY16_INSN_SYSCALL
} CGEN_INSN_TYPE;
/* Index of `invalid' insn place holder. */