aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1998-03-03 16:53:41 +0000
committerGavin Romig-Koch <gavin@redhat.com>1998-03-03 16:53:41 +0000
commit779b65bfdb86f6d233b3e9f1b412f405cdfeef73 (patch)
tree9d86974cf7ebc7270071f82535757135ec935806 /opcodes
parent49e122ae8d12658b33b5fc52f241eb9e87aa3374 (diff)
downloadgdb-779b65bfdb86f6d233b3e9f1b412f405cdfeef73.zip
gdb-779b65bfdb86f6d233b3e9f1b412f405cdfeef73.tar.gz
gdb-779b65bfdb86f6d233b3e9f1b412f405cdfeef73.tar.bz2
* mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
* mips-opc.c ("mac","dmac") : Added 4320 insns.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/.Sanitize28
-rw-r--r--opcodes/ChangeLog7
-rw-r--r--opcodes/mips-opc.c7
3 files changed, 42 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index 9cd333c..b633ed2 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -238,6 +238,34 @@ else
done
fi
+vr4320_files="ChangeLog mips-opc.c mips-dis.c"
+if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
+ for i in $vr4320_files ; do
+ if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr4320 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $vr4320_files ; do
+ if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr4320\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
+
vr5400_files="ChangeLog mips-opc.c mips-dis.c"
if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
for i in $vr5400_files ; do
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index bf5345e..939cdb8 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,10 @@
+start-sanitize-vr4320
+Tue Mar 3 11:47:58 1998 Gavin Koch <gavin@cygnus.com>
+
+ * mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
+ * mips-opc.c ("mac","dmac") : Added 4320 insns.
+
+end-sanitize-vr4320
Sat Feb 28 16:02:34 1998 Nick Clifton <nickc@cygnus.com>
* arm-dis.c (print_insn_big_arm, print_insn_little_arm): Do not
diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
index 7cf2e1a..e7de688 100644
--- a/opcodes/mips-opc.c
+++ b/opcodes/mips-opc.c
@@ -79,6 +79,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
/* start-sanitize-tx49 */
#define T4 INSN_4900
/* end-sanitize-tx49 */
+/* start-sanitize-vr4320 */
+#define N4 INSN_4320
+/* end-sanitize-vr4320 */
/* start-sanitize-vr5400 */
#define N5 INSN_5400
/* end-sanitize-vr5400 */
@@ -520,6 +523,10 @@ const struct mips_opcode mips_builtin_opcodes[] = {
{"lwu", "t,o(b)", 0x9c000000, 0xfc000000, LDD|RD_b|WR_t, I3 },
{"lwu", "t,A(b)", 0, (int) M_LWU_AB, INSN_MACRO, I3 },
{"lwxc1", "D,t(b)", 0x4c000000, 0xfc00f83f, LDD|WR_D|RD_t|RD_b, I4 },
+ /* start-sanitize-vr4320 */
+{"mac", "s,t", 0x00000028, 0xfc00ffff, RD_s|RD_t|MOD_HILO, N4},
+{"dmac", "s,t", 0x00000029, 0xfc00ffff, RD_s|RD_t|WR_LO, N4},
+ /* end-sanitize-vr4320 */
/* start-sanitize-vr5400 */
{"macc", "d,s,t", 0x00000158, 0xfc0007ff, RD_s|RD_t|MOD_HILO|WR_d, N5 },
{"maccu", "d,s,t", 0x00000159, 0xfc0007ff, RD_s|RD_t|MOD_HILO|WR_d, N5 },