OLD | NEW |
1 /* mips-opc.c -- MIPS opcode list. | 1 /* mips-opc.c -- MIPS opcode list. |
2 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 | 2 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
3 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 3 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 |
| 4 Free Software Foundation, Inc. |
4 Contributed by Ralph Campbell and OSF | 5 Contributed by Ralph Campbell and OSF |
5 Commented and modified by Ian Lance Taylor, Cygnus Support | 6 Commented and modified by Ian Lance Taylor, Cygnus Support |
6 Extended for MIPS32 support by Anders Norlander, and by SiByte, Inc. | 7 Extended for MIPS32 support by Anders Norlander, and by SiByte, Inc. |
7 MIPS-3D, MDMX, and MIPS32 Release 2 support added by Broadcom | 8 MIPS-3D, MDMX, and MIPS32 Release 2 support added by Broadcom |
8 Corporation (SiByte). | 9 Corporation (SiByte). |
9 | 10 |
10 This file is part of the GNU opcodes library. | 11 This file is part of the GNU opcodes library. |
11 | 12 |
12 This library is free software; you can redistribute it and/or modify | 13 This library is free software; you can redistribute it and/or modify |
13 it under the terms of the GNU General Public License as published by | 14 it under the terms of the GNU General Public License as published by |
14 the Free Software Foundation; either version 3, or (at your option) | 15 the Free Software Foundation; either version 3, or (at your option) |
15 any later version. | 16 any later version. |
16 | 17 |
17 It is distributed in the hope that it will be useful, but WITHOUT | 18 It is distributed in the hope that it will be useful, but WITHOUT |
18 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
19 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | 20 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
20 License for more details. | 21 License for more details. |
21 | 22 |
22 You should have received a copy of the GNU General Public License | 23 You should have received a copy of the GNU General Public License |
23 along with this file; see the file COPYING. If not, write to the | 24 along with this file; see the file COPYING. If not, write to the |
24 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, | 25 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, |
25 MA 02110-1301, USA. */ | 26 MA 02110-1301, USA. */ |
26 | 27 |
| 28 #include "sysdep.h" |
27 #include <stdio.h> | 29 #include <stdio.h> |
28 #include "sysdep.h" | |
29 #include "opcode/mips.h" | 30 #include "opcode/mips.h" |
30 | 31 |
31 /* Short hand so the lines aren't too long. */ | 32 /* Short hand so the lines aren't too long. */ |
32 | 33 |
33 #define LDD INSN_LOAD_MEMORY_DELAY | 34 #define LDD INSN_LOAD_MEMORY_DELAY |
34 #define LCD INSN_LOAD_COPROC_DELAY | 35 #define LCD INSN_LOAD_COPROC_DELAY |
35 #define UBD INSN_UNCOND_BRANCH_DELAY | 36 #define UBD INSN_UNCOND_BRANCH_DELAY |
36 #define CBD INSN_COND_BRANCH_DELAY | 37 #define CBD INSN_COND_BRANCH_DELAY |
37 #define COD INSN_COPROC_MOVE_DELAY | 38 #define COD INSN_COPROC_MOVE_DELAY |
38 #define CLD INSN_COPROC_MEMORY_DELAY | 39 #define CLD INSN_COPROC_MEMORY_DELAY |
(...skipping 2081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2120 #define MIPS_NUM_OPCODES \ | 2121 #define MIPS_NUM_OPCODES \ |
2121 ((sizeof mips_builtin_opcodes) / (sizeof (mips_builtin_opcodes[0]))) | 2122 ((sizeof mips_builtin_opcodes) / (sizeof (mips_builtin_opcodes[0]))) |
2122 const int bfd_mips_num_builtin_opcodes = MIPS_NUM_OPCODES; | 2123 const int bfd_mips_num_builtin_opcodes = MIPS_NUM_OPCODES; |
2123 | 2124 |
2124 /* const removed from the following to allow for dynamic extensions to the | 2125 /* const removed from the following to allow for dynamic extensions to the |
2125 * built-in instruction set. */ | 2126 * built-in instruction set. */ |
2126 struct mips_opcode *mips_opcodes = | 2127 struct mips_opcode *mips_opcodes = |
2127 (struct mips_opcode *) mips_builtin_opcodes; | 2128 (struct mips_opcode *) mips_builtin_opcodes; |
2128 int bfd_mips_num_opcodes = MIPS_NUM_OPCODES; | 2129 int bfd_mips_num_opcodes = MIPS_NUM_OPCODES; |
2129 #undef MIPS_NUM_OPCODES | 2130 #undef MIPS_NUM_OPCODES |
OLD | NEW |