X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=opcodes%2Fmt-opc.c;h=19eccdfa56b8bd3b83af64d05461e6aea35179e4;hb=6384fd9e1d3f8e692c8686a104caec23cf2fc05f;hp=498eeacbc6ffb7946852f60d5bd15f2a3975a927;hpb=37ec92403b4d32b349d239339a1b829cef29f2a2;p=binutils-gdb.git diff --git a/opcodes/mt-opc.c b/opcodes/mt-opc.c index 498eeacbc6f..19eccdfa56b 100644 --- a/opcodes/mt-opc.c +++ b/opcodes/mt-opc.c @@ -1,8 +1,9 @@ +/* DO NOT EDIT! -*- buffer-read-only: t -*- vi:set ro: */ /* Instruction opcode table for mt. THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996-2010 Free Software Foundation, Inc. +Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -43,7 +44,7 @@ mt_cgen_insn_supported (CGEN_CPU_DESC cd, const CGEN_INSN *insn) /* No mach attribute? Assume it's supported for all machs. */ if (machs == 0) return 1; - + return ((machs & cd->machs) != 0); } @@ -813,15 +814,13 @@ static const CGEN_OPCODE mt_cgen_macro_insn_opcode_table[] = Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */ static int -asm_hash_insn_p (insn) - const CGEN_INSN *insn ATTRIBUTE_UNUSED; +asm_hash_insn_p (const CGEN_INSN *insn ATTRIBUTE_UNUSED) { return CGEN_ASM_HASH_P (insn); } static int -dis_hash_insn_p (insn) - const CGEN_INSN *insn; +dis_hash_insn_p (const CGEN_INSN *insn) { /* If building the hash table and the NO-DIS attribute is present, ignore. */ @@ -853,8 +852,7 @@ dis_hash_insn_p (insn) Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */ static unsigned int -asm_hash_insn (mnem) - const char * mnem; +asm_hash_insn (const char *mnem) { return CGEN_ASM_HASH (mnem); } @@ -863,9 +861,8 @@ asm_hash_insn (mnem) VALUE is the first base_insn_bitsize bits as an int in host order. */ static unsigned int -dis_hash_insn (buf, value) - const char * buf ATTRIBUTE_UNUSED; - CGEN_INSN_INT value ATTRIBUTE_UNUSED; +dis_hash_insn (const char *buf ATTRIBUTE_UNUSED, + CGEN_INSN_INT value ATTRIBUTE_UNUSED) { return CGEN_DIS_HASH (buf, value); }