| OLD | NEW |
| 1 /* alpha-opc.c -- Alpha AXP opcode list | 1 /* alpha-opc.c -- Alpha AXP opcode list |
| 2 Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007 | 2 Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007, |
| 3 Free Software Foundation, Inc. | 3 2012 Free Software Foundation, Inc. |
| 4 Contributed by Richard Henderson <rth@cygnus.com>, | 4 Contributed by Richard Henderson <rth@cygnus.com>, |
| 5 patterned after the PPC opcode handling written by Ian Lance Taylor. | 5 patterned after the PPC opcode handling written by Ian Lance Taylor. |
| 6 | 6 |
| 7 This file is part of libopcodes. | 7 This file is part of libopcodes. |
| 8 | 8 |
| 9 This library is free software; you can redistribute it and/or modify | 9 This library is free software; you can redistribute it and/or modify |
| 10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
| 11 the Free Software Foundation; either version 3, or (at your option) | 11 the Free Software Foundation; either version 3, or (at your option) |
| 12 any later version. | 12 any later version. |
| 13 | 13 |
| 14 It is distributed in the hope that it will be useful, but WITHOUT | 14 It is distributed in the hope that it will be useful, but WITHOUT |
| 15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | 16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| 17 License for more details. | 17 License for more details. |
| 18 | 18 |
| 19 You should have received a copy of the GNU General Public License | 19 You should have received a copy of the GNU General Public License |
| 20 along with this file; see the file COPYING. If not, write to the | 20 along with this file; see the file COPYING. If not, write to the |
| 21 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA | 21 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA |
| 22 02110-1301, USA. */ | 22 02110-1301, USA. */ |
| 23 | 23 |
| 24 #include "sysdep.h" |
| 24 #include <stdio.h> | 25 #include <stdio.h> |
| 25 #include "sysdep.h" | |
| 26 #include "opcode/alpha.h" | 26 #include "opcode/alpha.h" |
| 27 #include "bfd.h" | 27 #include "bfd.h" |
| 28 #include "opintl.h" | 28 #include "opintl.h" |
| 29 | 29 |
| 30 /* This file holds the Alpha AXP opcode table. The opcode table includes | 30 /* This file holds the Alpha AXP opcode table. The opcode table includes |
| 31 almost all of the extended instruction mnemonics. This permits the | 31 almost all of the extended instruction mnemonics. This permits the |
| 32 disassembler to use them, and simplifies the assembler logic, at the | 32 disassembler to use them, and simplifies the assembler logic, at the |
| 33 cost of increasing the table size. The table is strictly constant | 33 cost of increasing the table size. The table is strictly constant |
| 34 data, so the compiler should be able to put it in the text segment. | 34 data, so the compiler should be able to put it in the text segment. |
| 35 | 35 |
| (...skipping 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1493 { "beq", BRA(0x39), BASE, ARG_BRA }, | 1493 { "beq", BRA(0x39), BASE, ARG_BRA }, |
| 1494 { "blt", BRA(0x3A), BASE, ARG_BRA }, | 1494 { "blt", BRA(0x3A), BASE, ARG_BRA }, |
| 1495 { "ble", BRA(0x3B), BASE, ARG_BRA }, | 1495 { "ble", BRA(0x3B), BASE, ARG_BRA }, |
| 1496 { "blbs", BRA(0x3C), BASE, ARG_BRA }, | 1496 { "blbs", BRA(0x3C), BASE, ARG_BRA }, |
| 1497 { "bne", BRA(0x3D), BASE, ARG_BRA }, | 1497 { "bne", BRA(0x3D), BASE, ARG_BRA }, |
| 1498 { "bge", BRA(0x3E), BASE, ARG_BRA }, | 1498 { "bge", BRA(0x3E), BASE, ARG_BRA }, |
| 1499 { "bgt", BRA(0x3F), BASE, ARG_BRA }, | 1499 { "bgt", BRA(0x3F), BASE, ARG_BRA }, |
| 1500 }; | 1500 }; |
| 1501 | 1501 |
| 1502 const unsigned alpha_num_opcodes = sizeof(alpha_opcodes)/sizeof(*alpha_opcodes); | 1502 const unsigned alpha_num_opcodes = sizeof(alpha_opcodes)/sizeof(*alpha_opcodes); |
| OLD | NEW |