This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, moxie] Add new sign-extension instructions


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" },


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]