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] Add fido support (Part 4/n)


Hi,

Attached is the fourth in a series of patches to add fido support to
binutils.

This patch implments two new instructions for fido.  I'm going to post
a separate patch to add a testcase for the new instructions.

Tested by building binutils.  OK to apply?

Kazu Hirata

opcodes/
2006-12-25  Kazu Hirata  <kazu@codesourcery.com>

	* config/tc-m68k.c (m68k_opcodes): Add sleep and trapx.

Index: opcodes/m68k-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/m68k-opc.c,v
retrieving revision 1.20
diff -u -d -p -r1.20 m68k-opc.c
--- opcodes/m68k-opc.c	16 Nov 2006 07:22:25 -0000	1.20
+++ opcodes/m68k-opc.c	25 Dec 2006 22:41:40 -0000
@@ -2089,6 +2089,8 @@ const struct m68k_opcode m68k_opcodes[] 
 {"svs", 2,	one(0054700),	one(0177700), "$s", m68000up },
 {"svs", 2,	one(0054700),	one(0177770), "Ds", mcfisa_a },
 
+{"sleep", 2,	one(0047170),	one(0177777), "", fido_a },
+
 {"stop", 4,	one(0047162),	one(0177777), "#w", m68000up | mcfisa_a },
 
 {"strldsr", 4, two(0040347,0043374), two(0177777,0177777), "#w", mcfisa_aa},
@@ -2156,6 +2158,8 @@ TBL("tblunb", "tblunw", "tblunl", 0, 0),
 
 {"trap", 2,	one(0047100),	one(0177760), "Ts", m68000up | mcfisa_a },
 
+{"trapx", 2,	one(0047060),	one(0177760), "Ts", fido_a },
+
 {"tstb", 2,	one(0045000),	one(0177700), ";b", m68020up|cpu32|mcfisa_a },
 {"tstb", 2,	one(0045000),	one(0177700), "$b", m68000up },
 {"tstw", 2,	one(0045100),	one(0177700), "*w", m68020up|cpu32|mcfisa_a },


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