diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-12-02 21:58:19 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-12-02 21:58:19 +0000 |
commit | 330be08fa95d5597c27d0b8329b644642ac642b1 (patch) | |
tree | dd1f9fc0caf43ce35a8e094fd3097a5fe8bc710d /opcodes/ip2k-opc.h | |
parent | 9ced5a7df0be43d3b880b863d26e7fafc49c5f60 (diff) | |
download | binutils-redhat-330be08fa95d5597c27d0b8329b644642ac642b1.tar.gz |
* cgen-dis.in: Include libiberty.h.
* fr30-desc.c: Regenerate.
* fr30-dis.c: Regenerate.
* frv-desc.c: Regenerate.
* frv-dis.c: Regenerate.
* ip2k-asm.c: Regenerate.
* ip2k-desc.c: Regenerate.
* ip2k-dis.c: Regenerate.
* ip2k-opc.c: Regenerate.
* ip2k-opc.h: Regenerate.
* m32r-desc.c: Regenerate.
* m32r-dis.c: Regenerate.
* openrisc-desc.c: Regenerate.
* openrisc-dis.c: Regenerate.
* xstormy16-asm.c: Regenerate.
* xstormy16-desc.c: Regenerate.
* xstormy16-dis.c: Regenerate.
Diffstat (limited to 'opcodes/ip2k-opc.h')
-rw-r--r-- | opcodes/ip2k-opc.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/opcodes/ip2k-opc.h b/opcodes/ip2k-opc.h index 0f8df98491..2f8a2e13ee 100644 --- a/opcodes/ip2k-opc.h +++ b/opcodes/ip2k-opc.h @@ -41,24 +41,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #define CGEN_ASM_HASH_SIZE 127 #define CGEN_ASM_HASH(insn) ip2k_asm_hash(insn) -extern unsigned int ip2k_asm_hash (const char *insn); - - -/* Special check to ensure that instruction exists for given machine. */ -static int -ip2k_cgen_insn_supported (cd, insn) - CGEN_CPU_DESC cd; - CGEN_INSN *insn; -{ - int machs = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_MACH); - - /* No mach attribute? Assume it's supported for all machs. */ - if (machs == 0) - return 1; - - return ((machs & cd->machs) != 0); -} - +extern unsigned int ip2k_asm_hash PARAMS ((const char *insn)); +extern int ip2k_cgen_insn_supported + PARAMS ((CGEN_CPU_DESC, const CGEN_INSN *)); /* -- opc.c */ /* Enum declaration for ip2k instruction types. */ |