| OLD | NEW |
| 1 /* CGEN generic opcode support. | 1 /* CGEN generic opcode support. |
| 2 | 2 |
| 3 Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2007, 2009 | 3 Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2007, 2009, |
| 4 Free Software Foundation, Inc. | 4 2012 Free Software Foundation, Inc. |
| 5 | 5 |
| 6 This file is part of libopcodes. | 6 This file is part of libopcodes. |
| 7 | 7 |
| 8 This library is free software; you can redistribute it and/or modify | 8 This library is free software; you can redistribute it and/or modify |
| 9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
| 10 the Free Software Foundation; either version 3, or (at your option) | 10 the Free Software Foundation; either version 3, or (at your option) |
| 11 any later version. | 11 any later version. |
| 12 | 12 |
| 13 It is distributed in the hope that it will be useful, but WITHOUT | 13 It is distributed in the hope that it will be useful, but WITHOUT |
| 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | 15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| 16 License for more details. | 16 License for more details. |
| 17 | 17 |
| 18 You should have received a copy of the GNU General Public License along | 18 You should have received a copy of the GNU General Public License along |
| 19 with this program; if not, write to the Free Software Foundation, Inc., | 19 with this program; if not, write to the Free Software Foundation, Inc., |
| 20 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ | 20 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ |
| 21 | 21 |
| 22 #include "sysdep.h" |
| 22 #include "alloca-conf.h" | 23 #include "alloca-conf.h" |
| 23 #include "sysdep.h" | |
| 24 #include <stdio.h> | 24 #include <stdio.h> |
| 25 #include "ansidecl.h" | 25 #include "ansidecl.h" |
| 26 #include "libiberty.h" | 26 #include "libiberty.h" |
| 27 #include "safe-ctype.h" | 27 #include "safe-ctype.h" |
| 28 #include "bfd.h" | 28 #include "bfd.h" |
| 29 #include "symcat.h" | 29 #include "symcat.h" |
| 30 #include "opcode/cgen.h" | 30 #include "opcode/cgen.h" |
| 31 | 31 |
| 32 static unsigned int hash_keyword_name | 32 static unsigned int hash_keyword_name |
| 33 (const CGEN_KEYWORD *, const char *, int); | 33 (const CGEN_KEYWORD *, const char *, int); |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 { | 609 { |
| 610 cd->signed_overflow_ok_p = 0; | 610 cd->signed_overflow_ok_p = 0; |
| 611 } | 611 } |
| 612 | 612 |
| 613 /* Will an error message be generated if a signed field in an instruction overfl
ows ? */ | 613 /* Will an error message be generated if a signed field in an instruction overfl
ows ? */ |
| 614 unsigned int | 614 unsigned int |
| 615 cgen_signed_overflow_ok_p (CGEN_CPU_DESC cd) | 615 cgen_signed_overflow_ok_p (CGEN_CPU_DESC cd) |
| 616 { | 616 { |
| 617 return cd->signed_overflow_ok_p; | 617 return cd->signed_overflow_ok_p; |
| 618 } | 618 } |
| OLD | NEW |