This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[m68k] Missing opcode for ColdFire fdsqrtd
- From: Paul Brook <paul at codesourcery dot com>
- To: binutils at sourceware dot org
- Date: Thu, 5 Jan 2006 16:27:32 +0000
- Subject: [m68k] Missing opcode for ColdFire fdsqrtd
The libopcodes m68k-opc.c is missing an entry for the ColdFire fdsqrtd
instruction. Without this gas rejects the <ea>y, FPx form.
The patch below adds the missing entry.
Tested with cross to m68k-elf.
Ok?
Paul
2006-01-05 Paul Brook <paul@codesourcery.com>
* m68k-opc.c (m68k_opcodes): Add missing ColdFire fdsqrtd entry.
Index: opcodes/m68k-opc.c
===================================================================
RCS file: /var/cvsroot/src-cvs/src/opcodes/m68k-opc.c,v
retrieving revision 1.15
diff -u -p -r1.15 m68k-opc.c
--- opcodes/m68k-opc.c 23 Jun 2005 11:18:26 -0000 1.15
+++ opcodes/m68k-opc.c 5 Jan 2006 16:06:42 -0000
@@ -1206,6 +1206,7 @@ const struct m68k_opcode m68k_opcodes[]
{"fdsqrtd", 4, two(0xF000, 0x0045), two(0xF1C0, 0xE07F), "IiF8F7", cfloat },
{"fdsqrtd", 4, two(0xF000, 0x0045), two(0xF1C0, 0xE07F), "IiFt", cfloat },
{"fdsqrtd", 4, two(0xF000, 0x5445), two(0xF1C0, 0xFC7F), "Ii;FF7",
m68040up },
+{"fdsqrtd", 4, two(0xF000, 0x5445), two(0xF1C0, 0xFC7F), "IiwsF7", cfloat },
{"fdsqrtl", 4, two(0xF000, 0x4045), two(0xF1C0, 0xFC7F), "Ii;lF7",
m68040up },
{"fdsqrtl", 4, two(0xF000, 0x4045), two(0xF1C0, 0xFC7F), "IibsF7", cfloat },
{"fdsqrtp", 4, two(0xF000, 0x4C45), two(0xF1C0, 0xFC7F), "Ii;pF7",
m68040up },