This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Patch, moxie] Add new sign-extension instructions
- From: Anthony Green <green at moxielogic dot com>
- To: binutils at sourceware dot org
- Date: Wed, 02 Apr 2014 20:04:03 -0400
- Subject: [Patch, moxie] Add new sign-extension instructions
- Authentication-results: sourceware.org; auth=none
I'm about to commit the following patch, which adds new sign-extension
instructions to the moxie port.
AG
2014-04-02 Anthony Green <green@moxielogic.com>
* moxie-opc.c (moxie_form1_opc_info): Add sign-extension
instructions, sex.b and sex.s.
diff --git a/opcodes/moxie-opc.c b/opcodes/moxie-opc.c
index 50fb2d8..ffc5d19 100644
--- a/opcodes/moxie-opc.c
+++ b/opcodes/moxie-opc.c
@@ -68,8 +68,8 @@ const moxie_opc_info_t moxie_form1_opc_info[128] =
{ 0x0d, MOXIE_F1_AiB4, "sto.l" },
{ 0x0e, MOXIE_F1_AB, "cmp" },
{ 0x0f, MOXIE_F1_NARG, "nop" },
- { 0x10, MOXIE_BAD, "bad" },
- { 0x11, MOXIE_BAD, "bad" },
+ { 0x10, MOXIE_F1_AB, "sex.b" },
+ { 0x11, MOXIE_F1_AB, "sex.s" },
{ 0x12, MOXIE_BAD, "bad" },
{ 0x13, MOXIE_BAD, "bad" },
{ 0x14, MOXIE_BAD, "bad" },