| OLD | NEW |
| 1 /* ppc.h -- Header file for PowerPC opcode table | 1 /* ppc.h -- Header file for PowerPC opcode table |
| 2 Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | 2 Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
| 3 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 2007, 2008, 2009, 2010, 2012 Free Software Foundation, Inc. |
| 4 Written by Ian Lance Taylor, Cygnus Support | 4 Written by Ian Lance Taylor, Cygnus Support |
| 5 | 5 |
| 6 This file is part of GDB, GAS, and the GNU binutils. | 6 This file is part of GDB, GAS, and the GNU binutils. |
| 7 | 7 |
| 8 GDB, GAS, and the GNU binutils are free software; you can redistribute | 8 GDB, GAS, and the GNU binutils are free software; you can redistribute |
| 9 them and/or modify them under the terms of the GNU General Public | 9 them and/or modify them under the terms of the GNU General Public |
| 10 License as published by the Free Software Foundation; either version 3, | 10 License as published by the Free Software Foundation; either version 3, |
| 11 or (at your option) any later version. | 11 or (at your option) any later version. |
| 12 | 12 |
| 13 GDB, GAS, and the GNU binutils are distributed in the hope that they | 13 GDB, GAS, and the GNU binutils are distributed in the hope that they |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 operand table. They appear in the order which the operands must | 58 operand table. They appear in the order which the operands must |
| 59 appear in assembly code, and are terminated by a zero. */ | 59 appear in assembly code, and are terminated by a zero. */ |
| 60 unsigned char operands[8]; | 60 unsigned char operands[8]; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 /* The table itself is sorted by major opcode number, and is otherwise | 63 /* The table itself is sorted by major opcode number, and is otherwise |
| 64 in the order in which the disassembler should consider | 64 in the order in which the disassembler should consider |
| 65 instructions. */ | 65 instructions. */ |
| 66 extern const struct powerpc_opcode powerpc_opcodes[]; | 66 extern const struct powerpc_opcode powerpc_opcodes[]; |
| 67 extern const int powerpc_num_opcodes; | 67 extern const int powerpc_num_opcodes; |
| 68 extern const struct powerpc_opcode vle_opcodes[]; |
| 69 extern const int vle_num_opcodes; |
| 68 | 70 |
| 69 /* Values defined for the flags field of a struct powerpc_opcode. */ | 71 /* Values defined for the flags field of a struct powerpc_opcode. */ |
| 70 | 72 |
| 71 /* Opcode is defined for the PowerPC architecture. */ | 73 /* Opcode is defined for the PowerPC architecture. */ |
| 72 #define PPC_OPCODE_PPC 1 | 74 #define PPC_OPCODE_PPC 1 |
| 73 | 75 |
| 74 /* Opcode is defined for the POWER (RS/6000) architecture. */ | 76 /* Opcode is defined for the POWER (RS/6000) architecture. */ |
| 75 #define PPC_OPCODE_POWER 2 | 77 #define PPC_OPCODE_POWER 2 |
| 76 | 78 |
| 77 /* Opcode is defined for the POWER2 (Rios 2) architecture. */ | 79 /* Opcode is defined for the POWER2 (Rios 2) architecture. */ |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 | 166 |
| 165 /* Opcode is supported by A2. */ | 167 /* Opcode is supported by A2. */ |
| 166 #define PPC_OPCODE_A2 0x20000000 | 168 #define PPC_OPCODE_A2 0x20000000 |
| 167 | 169 |
| 168 /* Opcode is supported by PowerPC 476 processor. */ | 170 /* Opcode is supported by PowerPC 476 processor. */ |
| 169 #define PPC_OPCODE_476 0x40000000 | 171 #define PPC_OPCODE_476 0x40000000 |
| 170 | 172 |
| 171 /* Opcode is supported by AppliedMicro Titan core */ | 173 /* Opcode is supported by AppliedMicro Titan core */ |
| 172 #define PPC_OPCODE_TITAN 0x80000000 | 174 #define PPC_OPCODE_TITAN 0x80000000 |
| 173 | 175 |
error: old chunk mismatch |
None
| OLD | NEW |