This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Patches to add more PALcode operations to the Alpha disassembler
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: Patches to add more PALcode operations to the Alpha disassembler
- From: Guy Harris <guy at netapp dot com>
- Date: Tue, 25 Apr 2000 18:32:39 -0700 (PDT)
"opcodes/alpha-opc.c" was missing some PALcode operations; I've attached
a ChangeLog and a patch to add them.
2000-04-25 Guy Harris <guy@netapp.com>
* alpha-opc.c: add some additional PALcode operations.
Index: opcodes/alpha-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/alpha-opc.c,v
retrieving revision 1.4
diff -c -3 -p -r1.4 alpha-opc.c
*** alpha-opc.c 2000/04/14 04:16:58 1.4
--- alpha-opc.c 2000/04/26 01:29:37
***************
*** 40,48 ****
version 2.
The information for the post-ev5 architecture extensions BWX, CIX and
! MAX came from version 3 of this same document, which is also available
! on-line at http://ftp.digital.com/pub/Digital/info/semiconductor
! /literature/alphahb2.pdf
The information for the EV4 PALcode instructions was compiled from
_DECchip 21064 and DECchip 21064A Alpha AXP Microprocessors Hardware
--- 40,49 ----
version 2.
The information for the post-ev5 architecture extensions BWX, CIX and
! MAX, and for the Digital UNIX PALcode calls, came from version 4 of
! this same document, which is also available on-line at
! http://ftp.digital.com/pub/Digital/info/semiconductor/literature/
! alphaahb.pdf
The information for the EV4 PALcode instructions was compiled from
_DECchip 21064 and DECchip 21064A Alpha AXP Microprocessors Hardware
*************** extract_ev6hwjhint(insn, invalid)
*** 531,541 ****
--- 532,571 ----
const struct alpha_opcode alpha_opcodes[] = {
{ "halt", SPCD(0x00,0x0000), BASE, ARG_NONE },
+ { "cflush", SPCD(0x00,0x0001), BASE, ARG_NONE },
{ "draina", SPCD(0x00,0x0002), BASE, ARG_NONE },
+ { "cserve", SPCD(0x00,0x0009), BASE, ARG_NONE },
+ { "swppal", SPCD(0x00,0x000A), BASE, ARG_NONE },
+ { "wripir", SPCD(0x00,0x000D), BASE, ARG_NONE },
+ { "rdmces", SPCD(0x00,0x0010), BASE, ARG_NONE },
+ { "wrmces", SPCD(0x00,0x0011), BASE, ARG_NONE },
+ { "wrfen", SPCD(0x00,0x002B), BASE, ARG_NONE },
+ { "wrvptptr", SPCD(0x00,0x002D), BASE, ARG_NONE },
+ { "swpctx", SPCD(0x00,0x0030), BASE, ARG_NONE },
+ { "wrval", SPCD(0x00,0x0031), BASE, ARG_NONE },
+ { "rdval", SPCD(0x00,0x0032), BASE, ARG_NONE },
+ { "tbi", SPCD(0x00,0x0033), BASE, ARG_NONE },
+ { "wrent", SPCD(0x00,0x0034), BASE, ARG_NONE },
+ { "swpipl", SPCD(0x00,0x0035), BASE, ARG_NONE },
+ { "rdps", SPCD(0x00,0x0036), BASE, ARG_NONE },
+ { "wrkgp", SPCD(0x00,0x0037), BASE, ARG_NONE },
+ { "wrusp", SPCD(0x00,0x0038), BASE, ARG_NONE },
+ { "wrperfmon", SPCD(0x00,0x0039), BASE, ARG_NONE },
+ { "rdusp", SPCD(0x00,0x003A), BASE, ARG_NONE },
+ { "whami", SPCD(0x00,0x003C), BASE, ARG_NONE },
+ { "retsys", SPCD(0x00,0x003D), BASE, ARG_NONE },
+ { "wtint", SPCD(0x00,0x003E), BASE, ARG_NONE },
+ { "rti", SPCD(0x00,0x003F), BASE, ARG_NONE },
{ "bpt", SPCD(0x00,0x0080), BASE, ARG_NONE },
+ { "bugchk", SPCD(0x00,0x0081), BASE, ARG_NONE },
{ "callsys", SPCD(0x00,0x0083), BASE, ARG_NONE },
{ "chmk", SPCD(0x00,0x0083), BASE, ARG_NONE },
{ "imb", SPCD(0x00,0x0086), BASE, ARG_NONE },
+ { "urti", SPCD(0x00,0x0092), BASE, ARG_NONE },
+ { "rdunique", SPCD(0x00,0x009E), BASE, ARG_NONE },
+ { "wrunique", SPCD(0x00,0x009F), BASE, ARG_NONE },
+ { "gentrap", SPCD(0x00,0x00AA), BASE, ARG_NONE },
+ { "clrfen", SPCD(0x00,0x00AE), BASE, ARG_NONE },
{ "call_pal", PCD(0x00), BASE, ARG_PCD },
{ "pal", PCD(0x00), BASE, ARG_PCD }, /* alias */