diff options
author | Nick Clifton <nickc@redhat.com> | 2005-02-15 12:52:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-02-15 12:52:03 +0000 |
commit | bf143b25e9fc72d76625cbc229ef804b9ef42bae (patch) | |
tree | 0800c782c2d777a4039d7601001745a471c76a3b | |
parent | 7b347e436d891e39488be78a0e7fccb51de7b3c0 (diff) | |
download | binutils-bf143b25e9fc72d76625cbc229ef804b9ef42bae.tar.gz binutils-bf143b25e9fc72d76625cbc229ef804b9ef42bae.tar.bz2 binutils-bf143b25e9fc72d76625cbc229ef804b9ef42bae.zip |
Fix compile time warning messages
36 files changed, 667 insertions, 662 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 8fe1b304e21..fb68c8e6994 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,45 @@ +2005-02-15 Nick Clifton <nickc@redhat.com> + + * cgen-dis.in (print_address): Add an ATTRIBUTE_UNUSED to prevent + compile time warnings. + (print_keyword): Likewise. + (default_print_insn): Likewise. + + * fr30-desc.c: Regenerated. + * fr30-desc.h: Regenerated. + * fr30-dis.c: Regenerated. + * fr30-opc.c: Regenerated. + * fr30-opc.h: Regenerated. + * frv-desc.c: Regenerated. + * frv-dis.c: Regenerated. + * frv-opc.c: Regenerated. + * ip2k-asm.c: Regenerated. + * ip2k-desc.c: Regenerated. + * ip2k-desc.h: Regenerated. + * ip2k-dis.c: Regenerated. + * ip2k-opc.c: Regenerated. + * ip2k-opc.h: Regenerated. + * iq2000-desc.c: Regenerated. + * iq2000-dis.c: Regenerated. + * iq2000-opc.c: Regenerated. + * m32r-asm.c: Regenerated. + * m32r-desc.c: Regenerated. + * m32r-desc.h: Regenerated. + * m32r-dis.c: Regenerated. + * m32r-opc.c: Regenerated. + * m32r-opc.h: Regenerated. + * m32r-opinst.c: Regenerated. + * openrisc-desc.c: Regenerated. + * openrisc-desc.h: Regenerated. + * openrisc-dis.c: Regenerated. + * openrisc-opc.c: Regenerated. + * openrisc-opc.h: Regenerated. + * xstormy16-desc.c: Regenerated. + * xstormy16-desc.h: Regenerated. + * xstormy16-dis.c: Regenerated. + * xstormy16-opc.c: Regenerated. + * xstormy16-opc.h: Regenerated. + 2005-02-14 H.J. Lu <hongjiu.lu@intel.com> * dis-buf.c (perror_memory): Use sprintf_vma to print out diff --git a/opcodes/cgen-dis.in b/opcodes/cgen-dis.in index 1a3c0fa59d6..81525e3a468 100644 --- a/opcodes/cgen-dis.in +++ b/opcodes/cgen-dis.in @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-dis.in isn't -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. @@ -43,15 +43,15 @@ along with this program; if not, write to the Free Software Foundation, Inc., static void print_normal (CGEN_CPU_DESC, void *, long, unsigned int, bfd_vma, int); static void print_address - (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int); + (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int) ATTRIBUTE_UNUSED; static void print_keyword - (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int); + (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int) ATTRIBUTE_UNUSED; static void print_insn_normal (CGEN_CPU_DESC, void *, const CGEN_INSN *, CGEN_FIELDS *, bfd_vma, int); static int print_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, unsigned); static int default_print_insn - (CGEN_CPU_DESC, bfd_vma, disassemble_info *); + (CGEN_CPU_DESC, bfd_vma, disassemble_info *) ATTRIBUTE_UNUSED; static int read_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, int, CGEN_EXTRACT_INFO *, unsigned long *); diff --git a/opcodes/fr30-desc.c b/opcodes/fr30-desc.c index 3309d54cf03..7cc2a243554 100644 --- a/opcodes/fr30-desc.c +++ b/opcodes/fr30-desc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -43,7 +43,7 @@ static const CGEN_ATTR_ENTRY bool_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY MACH_attr[] = +static const CGEN_ATTR_ENTRY MACH_attr[] ATTRIBUTE_UNUSED = { { "base", MACH_BASE }, { "fr30", MACH_FR30 }, @@ -51,7 +51,7 @@ static const CGEN_ATTR_ENTRY MACH_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY ISA_attr[] = +static const CGEN_ATTR_ENTRY ISA_attr[] ATTRIBUTE_UNUSED = { { "fr30", ISA_FR30 }, { "max", ISA_MAX }, diff --git a/opcodes/fr30-desc.h b/opcodes/fr30-desc.h index 35d0de70820..64cf46989d0 100644 --- a/opcodes/fr30-desc.h +++ b/opcodes/fr30-desc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -267,6 +267,7 @@ extern CGEN_KEYWORD fr30_cgen_opval_h_r13; extern CGEN_KEYWORD fr30_cgen_opval_h_r14; extern CGEN_KEYWORD fr30_cgen_opval_h_r15; +extern const CGEN_HW_ENTRY fr30_cgen_hw_table[]; diff --git a/opcodes/fr30-dis.c b/opcodes/fr30-dis.c index 0b99a4af395..400651b90c4 100644 --- a/opcodes/fr30-dis.c +++ b/opcodes/fr30-dis.c @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-dis.in isn't -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. @@ -43,15 +43,15 @@ along with this program; if not, write to the Free Software Foundation, Inc., static void print_normal (CGEN_CPU_DESC, void *, long, unsigned int, bfd_vma, int); static void print_address - (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int); + (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int) ATTRIBUTE_UNUSED; static void print_keyword - (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int); + (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int) ATTRIBUTE_UNUSED; static void print_insn_normal (CGEN_CPU_DESC, void *, const CGEN_INSN *, CGEN_FIELDS *, bfd_vma, int); static int print_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, unsigned); static int default_print_insn - (CGEN_CPU_DESC, bfd_vma, disassemble_info *); + (CGEN_CPU_DESC, bfd_vma, disassemble_info *) ATTRIBUTE_UNUSED; static int read_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, int, CGEN_EXTRACT_INFO *, unsigned long *); diff --git a/opcodes/fr30-opc.c b/opcodes/fr30-opc.c index 34c51566369..e23a714165a 100644 --- a/opcodes/fr30-opc.c +++ b/opcodes/fr30-opc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -45,123 +45,123 @@ static unsigned int dis_hash_insn PARAMS ((const char *, CGEN_INSN_INT)); #else #define F(f) & fr30_cgen_ifld_table[FR30_/**/f] #endif -static const CGEN_IFMT ifmt_empty = { +static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = { 0, 0, 0x0, { { 0 } } }; -static const CGEN_IFMT ifmt_add = { +static const CGEN_IFMT ifmt_add ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RJ) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_addi = { +static const CGEN_IFMT ifmt_addi ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_U4) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_add2 = { +static const CGEN_IFMT ifmt_add2 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_M4) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_div0s = { +static const CGEN_IFMT ifmt_div0s ATTRIBUTE_UNUSED = { 16, 16, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_div3 = { +static const CGEN_IFMT ifmt_div3 ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_OP4) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldi8 = { +static const CGEN_IFMT ifmt_ldi8 ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_I8) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldi20 = { +static const CGEN_IFMT ifmt_ldi20 ATTRIBUTE_UNUSED = { 16, 32, 0xff00, { { F (F_OP1) }, { F (F_I20) }, { F (F_OP2) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldi32 = { +static const CGEN_IFMT ifmt_ldi32 ATTRIBUTE_UNUSED = { 16, 48, 0xfff0, { { F (F_OP1) }, { F (F_I32) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldr14 = { +static const CGEN_IFMT ifmt_ldr14 ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_DISP10) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldr14uh = { +static const CGEN_IFMT ifmt_ldr14uh ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_DISP9) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldr14ub = { +static const CGEN_IFMT ifmt_ldr14ub ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_DISP8) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldr15 = { +static const CGEN_IFMT ifmt_ldr15 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_UDISP6) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldr15dr = { +static const CGEN_IFMT ifmt_ldr15dr ATTRIBUTE_UNUSED = { 16, 16, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RS2) }, { 0 } } }; -static const CGEN_IFMT ifmt_movdr = { +static const CGEN_IFMT ifmt_movdr ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RS1) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_call = { +static const CGEN_IFMT ifmt_call ATTRIBUTE_UNUSED = { 16, 16, 0xf800, { { F (F_OP1) }, { F (F_OP5) }, { F (F_REL12) }, { 0 } } }; -static const CGEN_IFMT ifmt_int = { +static const CGEN_IFMT ifmt_int ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_U8) }, { 0 } } }; -static const CGEN_IFMT ifmt_brad = { +static const CGEN_IFMT ifmt_brad ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_CC) }, { F (F_REL9) }, { 0 } } }; -static const CGEN_IFMT ifmt_dmovr13 = { +static const CGEN_IFMT ifmt_dmovr13 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_DIR10) }, { 0 } } }; -static const CGEN_IFMT ifmt_dmovr13h = { +static const CGEN_IFMT ifmt_dmovr13h ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_DIR9) }, { 0 } } }; -static const CGEN_IFMT ifmt_dmovr13b = { +static const CGEN_IFMT ifmt_dmovr13b ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_DIR8) }, { 0 } } }; -static const CGEN_IFMT ifmt_copop = { +static const CGEN_IFMT ifmt_copop ATTRIBUTE_UNUSED = { 16, 32, 0xfff0, { { F (F_OP1) }, { F (F_CCC) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_CRJ) }, { F (F_U4C) }, { F (F_CRI) }, { 0 } } }; -static const CGEN_IFMT ifmt_copld = { +static const CGEN_IFMT ifmt_copld ATTRIBUTE_UNUSED = { 16, 32, 0xfff0, { { F (F_OP1) }, { F (F_CCC) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RJC) }, { F (F_U4C) }, { F (F_CRI) }, { 0 } } }; -static const CGEN_IFMT ifmt_copst = { +static const CGEN_IFMT ifmt_copst ATTRIBUTE_UNUSED = { 16, 32, 0xfff0, { { F (F_OP1) }, { F (F_CCC) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_CRJ) }, { F (F_U4C) }, { F (F_RIC) }, { 0 } } }; -static const CGEN_IFMT ifmt_addsp = { +static const CGEN_IFMT ifmt_addsp ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_S10) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldm0 = { +static const CGEN_IFMT ifmt_ldm0 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_LOW_LD) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldm1 = { +static const CGEN_IFMT ifmt_ldm1 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_HI_LD) }, { 0 } } }; -static const CGEN_IFMT ifmt_stm0 = { +static const CGEN_IFMT ifmt_stm0 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_LOW_ST) }, { 0 } } }; -static const CGEN_IFMT ifmt_stm1 = { +static const CGEN_IFMT ifmt_stm1 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_HI_ST) }, { 0 } } }; -static const CGEN_IFMT ifmt_enter = { +static const CGEN_IFMT ifmt_enter ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_U10) }, { 0 } } }; @@ -1192,15 +1192,15 @@ static const CGEN_OPCODE fr30_cgen_insn_opcode_table[MAX_INSNS] = #else #define F(f) & fr30_cgen_ifld_table[FR30_/**/f] #endif -static const CGEN_IFMT ifmt_ldi8m = { +static const CGEN_IFMT ifmt_ldi8m ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_I8) }, { F (F_RI) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldi20m = { +static const CGEN_IFMT ifmt_ldi20m ATTRIBUTE_UNUSED = { 16, 32, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RI) }, { F (F_I20) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldi32m = { +static const CGEN_IFMT ifmt_ldi32m ATTRIBUTE_UNUSED = { 16, 48, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RI) }, { F (F_I32) }, { 0 } } }; diff --git a/opcodes/fr30-opc.h b/opcodes/fr30-opc.h index bfa2427626e..f8d46193b1b 100644 --- a/opcodes/fr30-opc.h +++ b/opcodes/fr30-opc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. diff --git a/opcodes/frv-desc.c b/opcodes/frv-desc.c index af49bd0faae..ad127b8dce4 100644 --- a/opcodes/frv-desc.c +++ b/opcodes/frv-desc.c @@ -43,7 +43,7 @@ static const CGEN_ATTR_ENTRY bool_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY MACH_attr[] = +static const CGEN_ATTR_ENTRY MACH_attr[] ATTRIBUTE_UNUSED = { { "base", MACH_BASE }, { "frv", MACH_FRV }, @@ -57,14 +57,14 @@ static const CGEN_ATTR_ENTRY MACH_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY ISA_attr[] = +static const CGEN_ATTR_ENTRY ISA_attr[] ATTRIBUTE_UNUSED = { { "frv", ISA_FRV }, { "max", ISA_MAX }, { 0, 0 } }; -static const CGEN_ATTR_ENTRY UNIT_attr[] = +static const CGEN_ATTR_ENTRY UNIT_attr[] ATTRIBUTE_UNUSED = { { "NIL", UNIT_NIL }, { "I0", UNIT_I0 }, @@ -97,7 +97,7 @@ static const CGEN_ATTR_ENTRY UNIT_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY FR400_MAJOR_attr[] = +static const CGEN_ATTR_ENTRY FR400_MAJOR_attr[] ATTRIBUTE_UNUSED = { { "NONE", FR400_MAJOR_NONE }, { "I_1", FR400_MAJOR_I_1 }, @@ -118,7 +118,7 @@ static const CGEN_ATTR_ENTRY FR400_MAJOR_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY FR450_MAJOR_attr[] = +static const CGEN_ATTR_ENTRY FR450_MAJOR_attr[] ATTRIBUTE_UNUSED = { { "NONE", FR450_MAJOR_NONE }, { "I_1", FR450_MAJOR_I_1 }, @@ -143,7 +143,7 @@ static const CGEN_ATTR_ENTRY FR450_MAJOR_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY FR500_MAJOR_attr[] = +static const CGEN_ATTR_ENTRY FR500_MAJOR_attr[] ATTRIBUTE_UNUSED = { { "NONE", FR500_MAJOR_NONE }, { "I_1", FR500_MAJOR_I_1 }, @@ -179,7 +179,7 @@ static const CGEN_ATTR_ENTRY FR500_MAJOR_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY FR550_MAJOR_attr[] = +static const CGEN_ATTR_ENTRY FR550_MAJOR_attr[] ATTRIBUTE_UNUSED = { { "NONE", FR550_MAJOR_NONE }, { "I_1", FR550_MAJOR_I_1 }, diff --git a/opcodes/frv-dis.c b/opcodes/frv-dis.c index 87b067006e4..6c94a65f5e4 100644 --- a/opcodes/frv-dis.c +++ b/opcodes/frv-dis.c @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-dis.in isn't -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. @@ -43,15 +43,15 @@ along with this program; if not, write to the Free Software Foundation, Inc., static void print_normal (CGEN_CPU_DESC, void *, long, unsigned int, bfd_vma, int); static void print_address - (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int); + (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int) ATTRIBUTE_UNUSED; static void print_keyword - (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int); + (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int) ATTRIBUTE_UNUSED; static void print_insn_normal (CGEN_CPU_DESC, void *, const CGEN_INSN *, CGEN_FIELDS *, bfd_vma, int); static int print_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, unsigned); static int default_print_insn - (CGEN_CPU_DESC, bfd_vma, disassemble_info *); + (CGEN_CPU_DESC, bfd_vma, disassemble_info *) ATTRIBUTE_UNUSED; static int read_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, int, CGEN_EXTRACT_INFO *, unsigned long *); diff --git a/opcodes/frv-opc.c b/opcodes/frv-opc.c index f7d9358268c..0a293dc1ad0 100644 --- a/opcodes/frv-opc.c +++ b/opcodes/frv-opc.c @@ -912,611 +912,611 @@ static unsigned int dis_hash_insn PARAMS ((const char *, CGEN_INSN_INT)); #else #define F(f) & frv_cgen_ifld_table[FRV_/**/f] #endif -static const CGEN_IFMT ifmt_empty = { +static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = { 0, 0, 0x0, { { 0 } } }; -static const CGEN_IFMT ifmt_add = { +static const CGEN_IFMT ifmt_add ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_ICCI_1_NULL) }, { F (F_OPE2) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_not = { +static const CGEN_IFMT ifmt_not ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_ICCI_1_NULL) }, { F (F_OPE2) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_smul = { +static const CGEN_IFMT ifmt_smul ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_ICCI_1_NULL) }, { F (F_OPE2) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_smu = { +static const CGEN_IFMT ifmt_smu ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0fc0, { { F (F_PACK) }, { F (F_RD_NULL) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_slass = { +static const CGEN_IFMT ifmt_slass ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_scutss = { +static const CGEN_IFMT ifmt_scutss ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cadd = { +static const CGEN_IFMT ifmt_cadd ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cnot = { +static const CGEN_IFMT ifmt_cnot ATTRIBUTE_UNUSED = { 32, 32, 0x1fff0c0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_csmul = { +static const CGEN_IFMT ifmt_csmul ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_addcc = { +static const CGEN_IFMT ifmt_addcc ATTRIBUTE_UNUSED = { 32, 32, 0x1fc03c0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_ICCI_1) }, { F (F_OPE2) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_smulcc = { +static const CGEN_IFMT ifmt_smulcc ATTRIBUTE_UNUSED = { 32, 32, 0x1fc03c0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_ICCI_1) }, { F (F_OPE2) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_addi = { +static const CGEN_IFMT ifmt_addi ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_smuli = { +static const CGEN_IFMT ifmt_smuli ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_addicc = { +static const CGEN_IFMT ifmt_addicc ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_ICCI_1) }, { F (F_S10) }, { 0 } } }; -static const CGEN_IFMT ifmt_smulicc = { +static const CGEN_IFMT ifmt_smulicc ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_ICCI_1) }, { F (F_S10) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmpb = { +static const CGEN_IFMT ifmt_cmpb ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc03c0, { { F (F_PACK) }, { F (F_GRK_NULL) }, { F (F_OP) }, { F (F_GRI) }, { F (F_ICCI_1) }, { F (F_OPE2) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_setlo = { +static const CGEN_IFMT ifmt_setlo ATTRIBUTE_UNUSED = { 32, 32, 0x1ff0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_MISC_NULL_4) }, { F (F_U16) }, { 0 } } }; -static const CGEN_IFMT ifmt_sethi = { +static const CGEN_IFMT ifmt_sethi ATTRIBUTE_UNUSED = { 32, 32, 0x1ff0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_MISC_NULL_4) }, { F (F_U16) }, { 0 } } }; -static const CGEN_IFMT ifmt_setlos = { +static const CGEN_IFMT ifmt_setlos ATTRIBUTE_UNUSED = { 32, 32, 0x1ff0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_MISC_NULL_4) }, { F (F_S16) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldbf = { +static const CGEN_IFMT ifmt_ldbf ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldc = { +static const CGEN_IFMT ifmt_ldc ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_CPRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldd = { +static const CGEN_IFMT ifmt_ldd ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_lddf = { +static const CGEN_IFMT ifmt_lddf ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_lddc = { +static const CGEN_IFMT ifmt_lddc ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_CPRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldsbi = { +static const CGEN_IFMT ifmt_ldsbi ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldbfi = { +static const CGEN_IFMT ifmt_ldbfi ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_lddi = { +static const CGEN_IFMT ifmt_lddi ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_lddfi = { +static const CGEN_IFMT ifmt_lddfi ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_cldbf = { +static const CGEN_IFMT ifmt_cldbf ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_clddf = { +static const CGEN_IFMT ifmt_clddf ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_movgf = { +static const CGEN_IFMT ifmt_movgf ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmovgf = { +static const CGEN_IFMT ifmt_cmovgf ATTRIBUTE_UNUSED = { 32, 32, 0x1fff0c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_movgs = { +static const CGEN_IFMT ifmt_movgs ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_OP) }, { F (F_SPR) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_bra = { +static const CGEN_IFMT ifmt_bra ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0000, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_LABEL16) }, { 0 } } }; -static const CGEN_IFMT ifmt_bno = { +static const CGEN_IFMT ifmt_bno ATTRIBUTE_UNUSED = { 32, 32, 0x7ffcffff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_LABEL16_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_beq = { +static const CGEN_IFMT ifmt_beq ATTRIBUTE_UNUSED = { 32, 32, 0x79fc0000, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2) }, { F (F_OP) }, { F (F_HINT) }, { F (F_LABEL16) }, { 0 } } }; -static const CGEN_IFMT ifmt_fbra = { +static const CGEN_IFMT ifmt_fbra ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0000, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_LABEL16) }, { 0 } } }; -static const CGEN_IFMT ifmt_fbno = { +static const CGEN_IFMT ifmt_fbno ATTRIBUTE_UNUSED = { 32, 32, 0x7ffcffff, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_LABEL16_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_fbne = { +static const CGEN_IFMT ifmt_fbne ATTRIBUTE_UNUSED = { 32, 32, 0x79fc0000, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2) }, { F (F_OP) }, { F (F_HINT) }, { F (F_LABEL16) }, { 0 } } }; -static const CGEN_IFMT ifmt_bctrlr = { +static const CGEN_IFMT ifmt_bctrlr ATTRIBUTE_UNUSED = { 32, 32, 0x7ffcefff, { { F (F_PACK) }, { F (F_COND_NULL) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_bralr = { +static const CGEN_IFMT ifmt_bralr ATTRIBUTE_UNUSED = { 32, 32, 0x7ffcffff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_bnolr = { +static const CGEN_IFMT ifmt_bnolr ATTRIBUTE_UNUSED = { 32, 32, 0x7ffcffff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_beqlr = { +static const CGEN_IFMT ifmt_beqlr ATTRIBUTE_UNUSED = { 32, 32, 0x79fcffff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_fbralr = { +static const CGEN_IFMT ifmt_fbralr ATTRIBUTE_UNUSED = { 32, 32, 0x7ffcffff, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_fbnolr = { +static const CGEN_IFMT ifmt_fbnolr ATTRIBUTE_UNUSED = { 32, 32, 0x7ffcffff, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_fbeqlr = { +static const CGEN_IFMT ifmt_fbeqlr ATTRIBUTE_UNUSED = { 32, 32, 0x79fcffff, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_bcralr = { +static const CGEN_IFMT ifmt_bcralr ATTRIBUTE_UNUSED = { 32, 32, 0x7ffcefff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_bceqlr = { +static const CGEN_IFMT ifmt_bceqlr ATTRIBUTE_UNUSED = { 32, 32, 0x79fcefff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_fcbralr = { +static const CGEN_IFMT ifmt_fcbralr ATTRIBUTE_UNUSED = { 32, 32, 0x7ffcefff, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_fcbeqlr = { +static const CGEN_IFMT ifmt_fcbeqlr ATTRIBUTE_UNUSED = { 32, 32, 0x79fcefff, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_jmpl = { +static const CGEN_IFMT ifmt_jmpl ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0fc0, { { F (F_PACK) }, { F (F_MISC_NULL_1) }, { F (F_LI_OFF) }, { F (F_OP) }, { F (F_GRI) }, { F (F_MISC_NULL_2) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_calll = { +static const CGEN_IFMT ifmt_calll ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0fc0, { { F (F_PACK) }, { F (F_MISC_NULL_1) }, { F (F_LI_ON) }, { F (F_OP) }, { F (F_GRI) }, { F (F_MISC_NULL_2) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_jmpil = { +static const CGEN_IFMT ifmt_jmpil ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0000, { { F (F_PACK) }, { F (F_MISC_NULL_1) }, { F (F_LI_OFF) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_callil = { +static const CGEN_IFMT ifmt_callil ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0000, { { F (F_PACK) }, { F (F_MISC_NULL_1) }, { F (F_LI_ON) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_call = { +static const CGEN_IFMT ifmt_call ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_OP) }, { F (F_LABEL24) }, { 0 } } }; -static const CGEN_IFMT ifmt_rett = { +static const CGEN_IFMT ifmt_rett ATTRIBUTE_UNUSED = { 32, 32, 0x7dffffff, { { F (F_PACK) }, { F (F_MISC_NULL_1) }, { F (F_DEBUG) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_rei = { +static const CGEN_IFMT ifmt_rei ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0fff, { { F (F_PACK) }, { F (F_RD_NULL) }, { F (F_OP) }, { F (F_EIR) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_tra = { +static const CGEN_IFMT ifmt_tra ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0fc0, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_GRI) }, { F (F_MISC_NULL_3) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_tno = { +static const CGEN_IFMT ifmt_tno ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_GRI_NULL) }, { F (F_MISC_NULL_3) }, { F (F_OPE4) }, { F (F_GRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_teq = { +static const CGEN_IFMT ifmt_teq ATTRIBUTE_UNUSED = { 32, 32, 0x79fc0fc0, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2) }, { F (F_OP) }, { F (F_GRI) }, { F (F_MISC_NULL_3) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_ftra = { +static const CGEN_IFMT ifmt_ftra ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0fc0, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2_NULL) }, { F (F_OP) }, { F (F_GRI) }, { F (F_MISC_NULL_3) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_ftno = { +static const CGEN_IFMT ifmt_ftno ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2_NULL) }, { F (F_OP) }, { F (F_GRI_NULL) }, { F (F_MISC_NULL_3) }, { F (F_OPE4) }, { F (F_GRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_ftne = { +static const CGEN_IFMT ifmt_ftne ATTRIBUTE_UNUSED = { 32, 32, 0x79fc0fc0, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2) }, { F (F_OP) }, { F (F_GRI) }, { F (F_MISC_NULL_3) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_tira = { +static const CGEN_IFMT ifmt_tira ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0000, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_tino = { +static const CGEN_IFMT ifmt_tino ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_GRI_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_tieq = { +static const CGEN_IFMT ifmt_tieq ATTRIBUTE_UNUSED = { 32, 32, 0x79fc0000, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_ftira = { +static const CGEN_IFMT ifmt_ftira ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0000, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_ftino = { +static const CGEN_IFMT ifmt_ftino ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2_NULL) }, { F (F_OP) }, { F (F_GRI_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_ftine = { +static const CGEN_IFMT ifmt_ftine ATTRIBUTE_UNUSED = { 32, 32, 0x79fc0000, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_FCCI_2) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_break = { +static const CGEN_IFMT ifmt_break ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_RD_NULL) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_MISC_NULL_3) }, { F (F_OPE4) }, { F (F_GRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_andcr = { +static const CGEN_IFMT ifmt_andcr ATTRIBUTE_UNUSED = { 32, 32, 0x71ff8ff8, { { F (F_PACK) }, { F (F_MISC_NULL_6) }, { F (F_CRK) }, { F (F_OP) }, { F (F_MISC_NULL_7) }, { F (F_CRI) }, { F (F_OPE1) }, { F (F_MISC_NULL_8) }, { F (F_CRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_notcr = { +static const CGEN_IFMT ifmt_notcr ATTRIBUTE_UNUSED = { 32, 32, 0x71fffff8, { { F (F_PACK) }, { F (F_MISC_NULL_6) }, { F (F_CRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_MISC_NULL_8) }, { F (F_CRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_ckra = { +static const CGEN_IFMT ifmt_ckra ATTRIBUTE_UNUSED = { 32, 32, 0x79ffffff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_CRJ_INT) }, { F (F_OP) }, { F (F_MISC_NULL_5) }, { F (F_ICCI_3_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_ckeq = { +static const CGEN_IFMT ifmt_ckeq ATTRIBUTE_UNUSED = { 32, 32, 0x79fffffc, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_CRJ_INT) }, { F (F_OP) }, { F (F_MISC_NULL_5) }, { F (F_ICCI_3) }, { 0 } } }; -static const CGEN_IFMT ifmt_fckra = { +static const CGEN_IFMT ifmt_fckra ATTRIBUTE_UNUSED = { 32, 32, 0x79fffffc, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_CRJ_FLOAT) }, { F (F_OP) }, { F (F_MISC_NULL_5) }, { F (F_FCCI_3) }, { 0 } } }; -static const CGEN_IFMT ifmt_cckra = { +static const CGEN_IFMT ifmt_cckra ATTRIBUTE_UNUSED = { 32, 32, 0x79fff0ff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_CRJ_INT) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_MISC_NULL_9) }, { F (F_ICCI_3_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_cckeq = { +static const CGEN_IFMT ifmt_cckeq ATTRIBUTE_UNUSED = { 32, 32, 0x79fff0fc, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_CRJ_INT) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_MISC_NULL_9) }, { F (F_ICCI_3) }, { 0 } } }; -static const CGEN_IFMT ifmt_cfckra = { +static const CGEN_IFMT ifmt_cfckra ATTRIBUTE_UNUSED = { 32, 32, 0x79fff0ff, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_CRJ_FLOAT) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_MISC_NULL_9) }, { F (F_FCCI_3_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_cfckne = { +static const CGEN_IFMT ifmt_cfckne ATTRIBUTE_UNUSED = { 32, 32, 0x79fff0fc, { { F (F_PACK) }, { F (F_FLT_CC) }, { F (F_CRJ_FLOAT) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_MISC_NULL_9) }, { F (F_FCCI_3) }, { 0 } } }; -static const CGEN_IFMT ifmt_cjmpl = { +static const CGEN_IFMT ifmt_cjmpl ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc00c0, { { F (F_PACK) }, { F (F_MISC_NULL_1) }, { F (F_LI_OFF) }, { F (F_OP) }, { F (F_GRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_ccalll = { +static const CGEN_IFMT ifmt_ccalll ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc00c0, { { F (F_PACK) }, { F (F_MISC_NULL_1) }, { F (F_LI_ON) }, { F (F_OP) }, { F (F_GRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_icei = { +static const CGEN_IFMT ifmt_icei ATTRIBUTE_UNUSED = { 32, 32, 0x7dfc0fc0, { { F (F_PACK) }, { F (F_MISC_NULL_1) }, { F (F_AE) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_icpl = { +static const CGEN_IFMT ifmt_icpl ATTRIBUTE_UNUSED = { 32, 32, 0x7dfc0fc0, { { F (F_PACK) }, { F (F_MISC_NULL_1) }, { F (F_LOCK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_icul = { +static const CGEN_IFMT ifmt_icul ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0fff, { { F (F_PACK) }, { F (F_RD_NULL) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_bar = { +static const CGEN_IFMT ifmt_bar ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_RD_NULL) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_GRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_lrai = { +static const CGEN_IFMT ifmt_lrai ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc7, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_LRAE) }, { F (F_LRAD) }, { F (F_LRAS) }, { F (F_LRA_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_tlbpr = { +static const CGEN_IFMT ifmt_tlbpr ATTRIBUTE_UNUSED = { 32, 32, 0x61fc0fc0, { { F (F_PACK) }, { F (F_TLBPR_NULL) }, { F (F_TLBPROPX) }, { F (F_TLBPRL) }, { F (F_OP) }, { F (F_GRI) }, { F (F_OPE1) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cop1 = { +static const CGEN_IFMT ifmt_cop1 ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0000, { { F (F_PACK) }, { F (F_CPRK) }, { F (F_OP) }, { F (F_CPRI) }, { F (F_S6_1) }, { F (F_CPRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_clrgr = { +static const CGEN_IFMT ifmt_clrgr ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffff, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_GRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_clrfr = { +static const CGEN_IFMT ifmt_clrfr ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffff, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_GRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_fitos = { +static const CGEN_IFMT ifmt_fitos ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_fstoi = { +static const CGEN_IFMT ifmt_fstoi ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_fitod = { +static const CGEN_IFMT ifmt_fitod ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_fdtoi = { +static const CGEN_IFMT ifmt_fdtoi ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cfitos = { +static const CGEN_IFMT ifmt_cfitos ATTRIBUTE_UNUSED = { 32, 32, 0x1fff0c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cfstoi = { +static const CGEN_IFMT ifmt_cfstoi ATTRIBUTE_UNUSED = { 32, 32, 0x1fff0c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_fmovs = { +static const CGEN_IFMT ifmt_fmovs ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_fmovd = { +static const CGEN_IFMT ifmt_fmovd ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cfmovs = { +static const CGEN_IFMT ifmt_cfmovs ATTRIBUTE_UNUSED = { 32, 32, 0x1fff0c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_fadds = { +static const CGEN_IFMT ifmt_fadds ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_faddd = { +static const CGEN_IFMT ifmt_faddd ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cfadds = { +static const CGEN_IFMT ifmt_cfadds ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_fcmps = { +static const CGEN_IFMT ifmt_fcmps ATTRIBUTE_UNUSED = { 32, 32, 0x79fc0fc0, { { F (F_PACK) }, { F (F_COND_NULL) }, { F (F_FCCI_2) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_fcmpd = { +static const CGEN_IFMT ifmt_fcmpd ATTRIBUTE_UNUSED = { 32, 32, 0x79fc0fc0, { { F (F_PACK) }, { F (F_COND_NULL) }, { F (F_FCCI_2) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cfcmps = { +static const CGEN_IFMT ifmt_cfcmps ATTRIBUTE_UNUSED = { 32, 32, 0x79fc00c0, { { F (F_PACK) }, { F (F_COND_NULL) }, { F (F_FCCI_2) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mhsetlos = { +static const CGEN_IFMT ifmt_mhsetlos ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_OPE1) }, { F (F_U12) }, { 0 } } }; -static const CGEN_IFMT ifmt_mhsethis = { +static const CGEN_IFMT ifmt_mhsethis ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_OPE1) }, { F (F_U12) }, { 0 } } }; -static const CGEN_IFMT ifmt_mhdsets = { +static const CGEN_IFMT ifmt_mhdsets ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_OPE1) }, { F (F_U12) }, { 0 } } }; -static const CGEN_IFMT ifmt_mhsetloh = { +static const CGEN_IFMT ifmt_mhsetloh ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffe0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_OPE1) }, { F (F_MISC_NULL_11) }, { F (F_S5) }, { 0 } } }; -static const CGEN_IFMT ifmt_mhsethih = { +static const CGEN_IFMT ifmt_mhsethih ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffe0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_OPE1) }, { F (F_MISC_NULL_11) }, { F (F_S5) }, { 0 } } }; -static const CGEN_IFMT ifmt_mhdseth = { +static const CGEN_IFMT ifmt_mhdseth ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffe0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_OPE1) }, { F (F_MISC_NULL_11) }, { F (F_S5) }, { 0 } } }; -static const CGEN_IFMT ifmt_mand = { +static const CGEN_IFMT ifmt_mand ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmand = { +static const CGEN_IFMT ifmt_cmand ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mnot = { +static const CGEN_IFMT ifmt_mnot ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmnot = { +static const CGEN_IFMT ifmt_cmnot ATTRIBUTE_UNUSED = { 32, 32, 0x1fff0c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_RS_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mrotli = { +static const CGEN_IFMT ifmt_mrotli ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_U6) }, { 0 } } }; -static const CGEN_IFMT ifmt_mcut = { +static const CGEN_IFMT ifmt_mcut ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_ACC40SI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mcuti = { +static const CGEN_IFMT ifmt_mcuti ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_ACC40SI) }, { F (F_OPE1) }, { F (F_S6) }, { 0 } } }; -static const CGEN_IFMT ifmt_mdcutssi = { +static const CGEN_IFMT ifmt_mdcutssi ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_ACC40SI) }, { F (F_OPE1) }, { F (F_S6) }, { 0 } } }; -static const CGEN_IFMT ifmt_mdrotli = { +static const CGEN_IFMT ifmt_mdrotli ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_S6) }, { 0 } } }; -static const CGEN_IFMT ifmt_mqsaths = { +static const CGEN_IFMT ifmt_mqsaths ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mcmpsh = { +static const CGEN_IFMT ifmt_mcmpsh ATTRIBUTE_UNUSED = { 32, 32, 0x79fc0fc0, { { F (F_PACK) }, { F (F_COND_NULL) }, { F (F_FCCK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mabshs = { +static const CGEN_IFMT ifmt_mabshs ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmqaddhss = { +static const CGEN_IFMT ifmt_cmqaddhss ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mqsllhi = { +static const CGEN_IFMT ifmt_mqsllhi ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_U6) }, { 0 } } }; -static const CGEN_IFMT ifmt_maddaccs = { +static const CGEN_IFMT ifmt_maddaccs ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fff, { { F (F_PACK) }, { F (F_ACC40SK) }, { F (F_OP) }, { F (F_ACC40SI) }, { F (F_OPE1) }, { F (F_ACCJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_mmulhs = { +static const CGEN_IFMT ifmt_mmulhs ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_ACC40SK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmmulhs = { +static const CGEN_IFMT ifmt_cmmulhs ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_ACC40SK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mqmulhs = { +static const CGEN_IFMT ifmt_mqmulhs ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_ACC40SK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmqmulhs = { +static const CGEN_IFMT ifmt_cmqmulhs ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_ACC40SK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mmachu = { +static const CGEN_IFMT ifmt_mmachu ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_ACC40UK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmmachu = { +static const CGEN_IFMT ifmt_cmmachu ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_ACC40UK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mqmachu = { +static const CGEN_IFMT ifmt_mqmachu ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_ACC40UK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmqmachu = { +static const CGEN_IFMT ifmt_cmqmachu ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_ACC40UK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmexpdhw = { +static const CGEN_IFMT ifmt_cmexpdhw ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_U6) }, { 0 } } }; -static const CGEN_IFMT ifmt_mexpdhd = { +static const CGEN_IFMT ifmt_mexpdhd ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_U6) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmexpdhd = { +static const CGEN_IFMT ifmt_cmexpdhd ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_U6) }, { 0 } } }; -static const CGEN_IFMT ifmt_munpackh = { +static const CGEN_IFMT ifmt_munpackh ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fff, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_mdunpackh = { +static const CGEN_IFMT ifmt_mdunpackh ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fff, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_mbtoh = { +static const CGEN_IFMT ifmt_mbtoh ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmbtoh = { +static const CGEN_IFMT ifmt_cmbtoh ATTRIBUTE_UNUSED = { 32, 32, 0x1fff0c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mhtob = { +static const CGEN_IFMT ifmt_mhtob ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmhtob = { +static const CGEN_IFMT ifmt_cmhtob ATTRIBUTE_UNUSED = { 32, 32, 0x1fff0c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmbtohe = { +static const CGEN_IFMT ifmt_cmbtohe ATTRIBUTE_UNUSED = { 32, 32, 0x1fff0c0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_FRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mnop = { +static const CGEN_IFMT ifmt_mnop ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_ACC40SK) }, { F (F_OP) }, { F (F_A) }, { F (F_MISC_NULL_10) }, { F (F_OPE1) }, { F (F_FRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_mclracc_0 = { +static const CGEN_IFMT ifmt_mclracc_0 ATTRIBUTE_UNUSED = { 32, 32, 0x1ffffff, { { F (F_PACK) }, { F (F_ACC40SK) }, { F (F_OP) }, { F (F_A) }, { F (F_MISC_NULL_10) }, { F (F_OPE1) }, { F (F_FRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_mrdacc = { +static const CGEN_IFMT ifmt_mrdacc ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fff, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_ACC40SI) }, { F (F_OPE1) }, { F (F_FRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_mrdaccg = { +static const CGEN_IFMT ifmt_mrdaccg ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fff, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_ACCGI) }, { F (F_OPE1) }, { F (F_FRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_mwtacc = { +static const CGEN_IFMT ifmt_mwtacc ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fff, { { F (F_PACK) }, { F (F_ACC40SK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_mwtaccg = { +static const CGEN_IFMT ifmt_mwtaccg ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fff, { { F (F_PACK) }, { F (F_ACCGK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_fnop = { +static const CGEN_IFMT ifmt_fnop ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_RD_NULL) }, { F (F_OP) }, { F (F_FRI_NULL) }, { F (F_OPE1) }, { F (F_FRJ_NULL) }, { 0 } } }; @@ -6015,31 +6015,31 @@ static const CGEN_OPCODE frv_cgen_insn_opcode_table[MAX_INSNS] = #else #define F(f) & frv_cgen_ifld_table[FRV_/**/f] #endif -static const CGEN_IFMT ifmt_nop = { +static const CGEN_IFMT ifmt_nop ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_ret = { +static const CGEN_IFMT ifmt_ret ATTRIBUTE_UNUSED = { 32, 32, 0x7fffffff, { { F (F_PACK) }, { F (F_INT_CC) }, { F (F_ICCI_2_NULL) }, { F (F_OP) }, { F (F_HINT) }, { F (F_OPE3) }, { F (F_CCOND_NULL) }, { F (F_S12_NULL) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmp = { +static const CGEN_IFMT ifmt_cmp ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc03c0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_ICCI_1) }, { F (F_OPE2) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmpi = { +static const CGEN_IFMT ifmt_cmpi ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc0000, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_ICCI_1) }, { F (F_S10) }, { 0 } } }; -static const CGEN_IFMT ifmt_ccmp = { +static const CGEN_IFMT ifmt_ccmp ATTRIBUTE_UNUSED = { 32, 32, 0x7ffc00c0, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; -static const CGEN_IFMT ifmt_mov = { +static const CGEN_IFMT ifmt_mov ATTRIBUTE_UNUSED = { 32, 32, 0x1fc0fff, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_D12) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmov = { +static const CGEN_IFMT ifmt_cmov ATTRIBUTE_UNUSED = { 32, 32, 0x1fc00ff, { { F (F_PACK) }, { F (F_GRK) }, { F (F_OP) }, { F (F_GRI) }, { F (F_CCI) }, { F (F_COND) }, { F (F_OPE4) }, { F (F_GRJ) }, { 0 } } }; diff --git a/opcodes/ip2k-asm.c b/opcodes/ip2k-asm.c index 593db9db03d..a0204d03233 100644 --- a/opcodes/ip2k-asm.c +++ b/opcodes/ip2k-asm.c @@ -54,7 +54,6 @@ static const char *name PARAMS ((CGEN_CPU_DESC, const char **, int, long *)) PARSE_FUNC_DECL (parse_fr); PARSE_FUNC_DECL (parse_addr16); -PARSE_FUNC_DECL (parse_addr16_p); PARSE_FUNC_DECL (parse_addr16_cjp); PARSE_FUNC_DECL (parse_lit8); PARSE_FUNC_DECL (parse_bit3); @@ -295,31 +294,6 @@ parse_addr16 (cd, strp, opindex, valuep) static const char * -parse_addr16_p (cd, strp, opindex, valuep) - CGEN_CPU_DESC cd; - const char **strp; - int opindex; - long *valuep; -{ - const char *errmsg; - enum cgen_parse_operand_result result_type; - bfd_reloc_code_real_type code = BFD_RELOC_IP2K_PAGE3; - bfd_vma value; - - errmsg = cgen_parse_address (cd, strp, opindex, code, - & result_type, & value); - if (errmsg == NULL) - { - if ( result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER ) - *valuep = (value >> 13) & 0x7; - else if ( result_type == CGEN_PARSE_OPERAND_RESULT_QUEUED ) - *valuep = value; - } - return errmsg; -} - - -static const char * parse_addr16_cjp (cd, strp, opindex, valuep) CGEN_CPU_DESC cd; const char **strp; diff --git a/opcodes/ip2k-desc.c b/opcodes/ip2k-desc.c index 0ab2cc5fa44..8095e347a4c 100644 --- a/opcodes/ip2k-desc.c +++ b/opcodes/ip2k-desc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -43,7 +43,7 @@ static const CGEN_ATTR_ENTRY bool_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY MACH_attr[] = +static const CGEN_ATTR_ENTRY MACH_attr[] ATTRIBUTE_UNUSED = { { "base", MACH_BASE }, { "ip2022", MACH_IP2022 }, @@ -52,7 +52,7 @@ static const CGEN_ATTR_ENTRY MACH_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY ISA_attr[] = +static const CGEN_ATTR_ENTRY ISA_attr[] ATTRIBUTE_UNUSED = { { "ip2k", ISA_IP2K }, { "max", ISA_MAX }, diff --git a/opcodes/ip2k-desc.h b/opcodes/ip2k-desc.h index 11220263b5c..bc007047f6b 100644 --- a/opcodes/ip2k-desc.h +++ b/opcodes/ip2k-desc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -245,6 +245,7 @@ extern const CGEN_ATTR_TABLE ip2k_cgen_insn_attr_table[]; /* Hardware decls. */ +extern const CGEN_HW_ENTRY ip2k_cgen_hw_table[]; diff --git a/opcodes/ip2k-dis.c b/opcodes/ip2k-dis.c index 00e764ccced..3abcd952fbe 100644 --- a/opcodes/ip2k-dis.c +++ b/opcodes/ip2k-dis.c @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-dis.in isn't -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. @@ -43,15 +43,15 @@ along with this program; if not, write to the Free Software Foundation, Inc., static void print_normal (CGEN_CPU_DESC, void *, long, unsigned int, bfd_vma, int); static void print_address - (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int); + (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int) ATTRIBUTE_UNUSED; static void print_keyword - (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int); + (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int) ATTRIBUTE_UNUSED; static void print_insn_normal (CGEN_CPU_DESC, void *, const CGEN_INSN *, CGEN_FIELDS *, bfd_vma, int); static int print_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, unsigned); static int default_print_insn - (CGEN_CPU_DESC, bfd_vma, disassemble_info *); + (CGEN_CPU_DESC, bfd_vma, disassemble_info *) ATTRIBUTE_UNUSED; static int read_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, int, CGEN_EXTRACT_INFO *, unsigned long *); @@ -66,7 +66,6 @@ static void name PARAMS ((CGEN_CPU_DESC, PTR, long, unsigned int, bfd_vma, int)) PRINT_FUNC_DECL (print_fr); PRINT_FUNC_DECL (print_dollarhex); PRINT_FUNC_DECL (print_dollarhex8); -PRINT_FUNC_DECL (print_dollarhex16); PRINT_FUNC_DECL (print_dollarhex_addr16h); PRINT_FUNC_DECL (print_dollarhex_addr16l); PRINT_FUNC_DECL (print_dollarhex_p); @@ -158,20 +157,6 @@ print_dollarhex8 (cd, dis_info, value, attrs, pc, length) } static void -print_dollarhex16 (cd, dis_info, value, attrs, pc, length) - CGEN_CPU_DESC cd ATTRIBUTE_UNUSED; - PTR dis_info; - long value; - unsigned int attrs ATTRIBUTE_UNUSED; - bfd_vma pc ATTRIBUTE_UNUSED; - int length ATTRIBUTE_UNUSED; -{ - disassemble_info *info = (disassemble_info *) dis_info; - - (*info->fprintf_func) (info->stream, "$%04x", value); -} - -static void print_dollarhex_addr16h (cd, dis_info, value, attrs, pc, length) CGEN_CPU_DESC cd ATTRIBUTE_UNUSED; PTR dis_info; diff --git a/opcodes/ip2k-opc.c b/opcodes/ip2k-opc.c index 5140cffcf1f..d0010bcc21e 100644 --- a/opcodes/ip2k-opc.c +++ b/opcodes/ip2k-opc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -83,47 +83,47 @@ static unsigned int dis_hash_insn PARAMS ((const char *, CGEN_INSN_INT)); #else #define F(f) & ip2k_cgen_ifld_table[IP2K_/**/f] #endif -static const CGEN_IFMT ifmt_empty = { +static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = { 0, 0, 0x0, { { 0 } } }; -static const CGEN_IFMT ifmt_jmp = { +static const CGEN_IFMT ifmt_jmp ATTRIBUTE_UNUSED = { 16, 16, 0xe000, { { F (F_OP3) }, { F (F_ADDR16CJP) }, { 0 } } }; -static const CGEN_IFMT ifmt_sb = { +static const CGEN_IFMT ifmt_sb ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP4) }, { F (F_BITNO) }, { F (F_REG) }, { 0 } } }; -static const CGEN_IFMT ifmt_xorw_l = { +static const CGEN_IFMT ifmt_xorw_l ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP4) }, { F (F_OP4MID) }, { F (F_IMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_loadl_a = { +static const CGEN_IFMT ifmt_loadl_a ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP4) }, { F (F_OP4MID) }, { F (F_IMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_loadh_a = { +static const CGEN_IFMT ifmt_loadh_a ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP4) }, { F (F_OP4MID) }, { F (F_IMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_addcfr_w = { +static const CGEN_IFMT ifmt_addcfr_w ATTRIBUTE_UNUSED = { 16, 16, 0xfe00, { { F (F_OP6) }, { F (F_DIR) }, { F (F_REG) }, { 0 } } }; -static const CGEN_IFMT ifmt_speed = { +static const CGEN_IFMT ifmt_speed ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP8) }, { F (F_IMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_ireadi = { +static const CGEN_IFMT ifmt_ireadi ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP6) }, { F (F_OP6_10LOW) }, { 0 } } }; -static const CGEN_IFMT ifmt_page = { +static const CGEN_IFMT ifmt_page ATTRIBUTE_UNUSED = { 16, 16, 0xfff8, { { F (F_OP6) }, { F (F_OP6_7LOW) }, { F (F_PAGE3) }, { 0 } } }; -static const CGEN_IFMT ifmt_reti = { +static const CGEN_IFMT ifmt_reti ATTRIBUTE_UNUSED = { 16, 16, 0xfff8, { { F (F_OP6) }, { F (F_OP6_7LOW) }, { F (F_RETI3) }, { 0 } } }; @@ -680,27 +680,27 @@ static const CGEN_OPCODE ip2k_cgen_insn_opcode_table[MAX_INSNS] = #else #define F(f) & ip2k_cgen_ifld_table[IP2K_/**/f] #endif -static const CGEN_IFMT ifmt_sc = { +static const CGEN_IFMT ifmt_sc ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP4) }, { F (F_BITNO) }, { F (F_REG) }, { 0 } } }; -static const CGEN_IFMT ifmt_snc = { +static const CGEN_IFMT ifmt_snc ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP4) }, { F (F_BITNO) }, { F (F_REG) }, { 0 } } }; -static const CGEN_IFMT ifmt_sz = { +static const CGEN_IFMT ifmt_sz ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP4) }, { F (F_BITNO) }, { F (F_REG) }, { 0 } } }; -static const CGEN_IFMT ifmt_snz = { +static const CGEN_IFMT ifmt_snz ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP4) }, { F (F_BITNO) }, { F (F_REG) }, { 0 } } }; -static const CGEN_IFMT ifmt_skip = { +static const CGEN_IFMT ifmt_skip ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP4) }, { F (F_BITNO) }, { F (F_REG) }, { 0 } } }; -static const CGEN_IFMT ifmt_skipb = { +static const CGEN_IFMT ifmt_skipb ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP4) }, { F (F_BITNO) }, { F (F_REG) }, { 0 } } }; diff --git a/opcodes/ip2k-opc.h b/opcodes/ip2k-opc.h index 041cb04bc02..cbbaa10c774 100644 --- a/opcodes/ip2k-opc.h +++ b/opcodes/ip2k-opc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. diff --git a/opcodes/iq2000-desc.c b/opcodes/iq2000-desc.c index 56974aebeb3..93d0c27fb4b 100644 --- a/opcodes/iq2000-desc.c +++ b/opcodes/iq2000-desc.c @@ -43,7 +43,7 @@ static const CGEN_ATTR_ENTRY bool_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY MACH_attr[] = +static const CGEN_ATTR_ENTRY MACH_attr[] ATTRIBUTE_UNUSED = { { "base", MACH_BASE }, { "iq2000", MACH_IQ2000 }, @@ -52,7 +52,7 @@ static const CGEN_ATTR_ENTRY MACH_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY ISA_attr[] = +static const CGEN_ATTR_ENTRY ISA_attr[] ATTRIBUTE_UNUSED = { { "iq2000", ISA_IQ2000 }, { "max", ISA_MAX }, diff --git a/opcodes/iq2000-dis.c b/opcodes/iq2000-dis.c index 3c103d83959..fd731fea757 100644 --- a/opcodes/iq2000-dis.c +++ b/opcodes/iq2000-dis.c @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-dis.in isn't -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. @@ -43,15 +43,15 @@ along with this program; if not, write to the Free Software Foundation, Inc., static void print_normal (CGEN_CPU_DESC, void *, long, unsigned int, bfd_vma, int); static void print_address - (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int); + (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int) ATTRIBUTE_UNUSED; static void print_keyword - (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int); + (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int) ATTRIBUTE_UNUSED; static void print_insn_normal (CGEN_CPU_DESC, void *, const CGEN_INSN *, CGEN_FIELDS *, bfd_vma, int); static int print_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, unsigned); static int default_print_insn - (CGEN_CPU_DESC, bfd_vma, disassemble_info *); + (CGEN_CPU_DESC, bfd_vma, disassemble_info *) ATTRIBUTE_UNUSED; static int read_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, int, CGEN_EXTRACT_INFO *, unsigned long *); diff --git a/opcodes/iq2000-opc.c b/opcodes/iq2000-opc.c index 729d6c31bf5..65f71bc5067 100644 --- a/opcodes/iq2000-opc.c +++ b/opcodes/iq2000-opc.c @@ -45,183 +45,183 @@ static unsigned int dis_hash_insn PARAMS ((const char *, CGEN_INSN_INT)); #else #define F(f) & iq2000_cgen_ifld_table[IQ2000_/**/f] #endif -static const CGEN_IFMT ifmt_empty = { +static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = { 0, 0, 0x0, { { 0 } } }; -static const CGEN_IFMT ifmt_add2 = { +static const CGEN_IFMT ifmt_add2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RT) }, { F (F_RD_RS) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_add = { +static const CGEN_IFMT ifmt_add ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_addi2 = { +static const CGEN_IFMT ifmt_addi2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RT_RS) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_addi = { +static const CGEN_IFMT ifmt_addi ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_ram = { +static const CGEN_IFMT ifmt_ram ATTRIBUTE_UNUSED = { 32, 32, 0xfc000020, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_5) }, { F (F_MASKL) }, { 0 } } }; -static const CGEN_IFMT ifmt_sll = { +static const CGEN_IFMT ifmt_sll ATTRIBUTE_UNUSED = { 32, 32, 0xffe0003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_sllv2 = { +static const CGEN_IFMT ifmt_sllv2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RD_RT) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_slmv2 = { +static const CGEN_IFMT ifmt_slmv2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RD_RT) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_slmv = { +static const CGEN_IFMT ifmt_slmv ATTRIBUTE_UNUSED = { 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_slti2 = { +static const CGEN_IFMT ifmt_slti2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RT_RS) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_slti = { +static const CGEN_IFMT ifmt_slti ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_sra2 = { +static const CGEN_IFMT ifmt_sra2 ATTRIBUTE_UNUSED = { 32, 32, 0xffe0003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RD_RT) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_bbi = { +static const CGEN_IFMT ifmt_bbi ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_OFFSET) }, { 0 } } }; -static const CGEN_IFMT ifmt_bbv = { +static const CGEN_IFMT ifmt_bbv ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_OFFSET) }, { 0 } } }; -static const CGEN_IFMT ifmt_bgez = { +static const CGEN_IFMT ifmt_bgez ATTRIBUTE_UNUSED = { 32, 32, 0xfc1f0000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_OFFSET) }, { 0 } } }; -static const CGEN_IFMT ifmt_jalr = { +static const CGEN_IFMT ifmt_jalr ATTRIBUTE_UNUSED = { 32, 32, 0xfc1f07ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_jr = { +static const CGEN_IFMT ifmt_jr ATTRIBUTE_UNUSED = { 32, 32, 0xfc1fffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_lb = { +static const CGEN_IFMT ifmt_lb ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_lui = { +static const CGEN_IFMT ifmt_lui ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_break = { +static const CGEN_IFMT ifmt_break ATTRIBUTE_UNUSED = { 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_syscall = { +static const CGEN_IFMT ifmt_syscall ATTRIBUTE_UNUSED = { 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_EXCODE) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_andoui = { +static const CGEN_IFMT ifmt_andoui ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_andoui2 = { +static const CGEN_IFMT ifmt_andoui2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RT_RS) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_mrgb = { +static const CGEN_IFMT ifmt_mrgb ATTRIBUTE_UNUSED = { 32, 32, 0xfc00043f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_10) }, { F (F_MASK) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_mrgb2 = { +static const CGEN_IFMT ifmt_mrgb2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00043f, { { F (F_OPCODE) }, { F (F_RT) }, { F (F_RD_RS) }, { F (F_10) }, { F (F_MASK) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_bc0f = { +static const CGEN_IFMT ifmt_bc0f ATTRIBUTE_UNUSED = { 32, 32, 0xffff0000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_OFFSET) }, { 0 } } }; -static const CGEN_IFMT ifmt_cfc0 = { +static const CGEN_IFMT ifmt_cfc0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_10_11) }, { 0 } } }; -static const CGEN_IFMT ifmt_chkhdr = { +static const CGEN_IFMT ifmt_chkhdr ATTRIBUTE_UNUSED = { 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_lulck = { +static const CGEN_IFMT ifmt_lulck ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_pkrlr1 = { +static const CGEN_IFMT ifmt_pkrlr1 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_COUNT) }, { F (F_INDEX) }, { 0 } } }; -static const CGEN_IFMT ifmt_rfe = { +static const CGEN_IFMT ifmt_rfe ATTRIBUTE_UNUSED = { 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_25) }, { F (F_24_19) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_j = { +static const CGEN_IFMT ifmt_j ATTRIBUTE_UNUSED = { 32, 32, 0xffff0000, { { F (F_OPCODE) }, { F (F_RSRVD) }, { F (F_JTARG) }, { 0 } } }; -static const CGEN_IFMT ifmt_mrgbq10 = { +static const CGEN_IFMT ifmt_mrgbq10 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_MASKQ10) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_mrgbq102 = { +static const CGEN_IFMT ifmt_mrgbq102 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_RT) }, { F (F_RD_RS) }, { F (F_MASKQ10) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_jq10 = { +static const CGEN_IFMT ifmt_jq10 ATTRIBUTE_UNUSED = { 32, 32, 0xffff0000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_JTARG) }, { 0 } } }; -static const CGEN_IFMT ifmt_jalq10 = { +static const CGEN_IFMT ifmt_jalq10 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_JTARG) }, { 0 } } }; -static const CGEN_IFMT ifmt_avail = { +static const CGEN_IFMT ifmt_avail ATTRIBUTE_UNUSED = { 32, 32, 0xffff07ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_rbi = { +static const CGEN_IFMT ifmt_rbi ATTRIBUTE_UNUSED = { 32, 32, 0xfc000700, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_cam36 = { +static const CGEN_IFMT ifmt_cam36 ATTRIBUTE_UNUSED = { 32, 32, 0xffe007c0, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } }; -static const CGEN_IFMT ifmt_cm32and = { +static const CGEN_IFMT ifmt_cm32and ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_cm32rd = { +static const CGEN_IFMT ifmt_cm32rd ATTRIBUTE_UNUSED = { 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_cm128ria3 = { +static const CGEN_IFMT ifmt_cm128ria3 ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007fc, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_CM_4FUNC) }, { F (F_CM_3Z) }, { 0 } } }; -static const CGEN_IFMT ifmt_cm128ria4 = { +static const CGEN_IFMT ifmt_cm128ria4 ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007f8, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_CM_3FUNC) }, { F (F_CM_4Z) }, { 0 } } }; -static const CGEN_IFMT ifmt_ctc = { +static const CGEN_IFMT ifmt_ctc ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; @@ -1912,379 +1912,379 @@ static const CGEN_OPCODE iq2000_cgen_insn_opcode_table[MAX_INSNS] = #else #define F(f) & iq2000_cgen_ifld_table[IQ2000_/**/f] #endif -static const CGEN_IFMT ifmt_nop = { +static const CGEN_IFMT ifmt_nop ATTRIBUTE_UNUSED = { 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_li = { +static const CGEN_IFMT ifmt_li ATTRIBUTE_UNUSED = { 32, 32, 0xfc1f0000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_move = { +static const CGEN_IFMT ifmt_move ATTRIBUTE_UNUSED = { 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_lb_base_0 = { +static const CGEN_IFMT ifmt_lb_base_0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_lbu_base_0 = { +static const CGEN_IFMT ifmt_lbu_base_0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_lh_base_0 = { +static const CGEN_IFMT ifmt_lh_base_0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_lw_base_0 = { +static const CGEN_IFMT ifmt_lw_base_0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_add = { +static const CGEN_IFMT ifmt_m_add ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_addu = { +static const CGEN_IFMT ifmt_m_addu ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_and = { +static const CGEN_IFMT ifmt_m_and ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_j = { +static const CGEN_IFMT ifmt_m_j ATTRIBUTE_UNUSED = { 32, 32, 0xfc1fffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_or = { +static const CGEN_IFMT ifmt_m_or ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_sll = { +static const CGEN_IFMT ifmt_m_sll ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_slt = { +static const CGEN_IFMT ifmt_m_slt ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_sltu = { +static const CGEN_IFMT ifmt_m_sltu ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_sra = { +static const CGEN_IFMT ifmt_m_sra ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_srl = { +static const CGEN_IFMT ifmt_m_srl ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_not = { +static const CGEN_IFMT ifmt_not ATTRIBUTE_UNUSED = { 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_subi = { +static const CGEN_IFMT ifmt_subi ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_sub = { +static const CGEN_IFMT ifmt_m_sub ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_subu = { +static const CGEN_IFMT ifmt_m_subu ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_sb_base_0 = { +static const CGEN_IFMT ifmt_sb_base_0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_sh_base_0 = { +static const CGEN_IFMT ifmt_sh_base_0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_sw_base_0 = { +static const CGEN_IFMT ifmt_sw_base_0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_xor = { +static const CGEN_IFMT ifmt_m_xor ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldw_base_0 = { +static const CGEN_IFMT ifmt_ldw_base_0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_sdw_base_0 = { +static const CGEN_IFMT ifmt_sdw_base_0 ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_avail = { +static const CGEN_IFMT ifmt_m_avail ATTRIBUTE_UNUSED = { 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cam36 = { +static const CGEN_IFMT ifmt_m_cam36 ATTRIBUTE_UNUSED = { 32, 32, 0xffe007c7, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cam72 = { +static const CGEN_IFMT ifmt_m_cam72 ATTRIBUTE_UNUSED = { 32, 32, 0xffe007c7, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cam144 = { +static const CGEN_IFMT ifmt_m_cam144 ATTRIBUTE_UNUSED = { 32, 32, 0xffe007c7, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cam288 = { +static const CGEN_IFMT ifmt_m_cam288 ATTRIBUTE_UNUSED = { 32, 32, 0xffe007c7, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32read = { +static const CGEN_IFMT ifmt_m_cm32read ATTRIBUTE_UNUSED = { 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64read = { +static const CGEN_IFMT ifmt_m_cm64read ATTRIBUTE_UNUSED = { 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32mlog = { +static const CGEN_IFMT ifmt_m_cm32mlog ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32and = { +static const CGEN_IFMT ifmt_m_cm32and ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32andn = { +static const CGEN_IFMT ifmt_m_cm32andn ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32or = { +static const CGEN_IFMT ifmt_m_cm32or ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32ra = { +static const CGEN_IFMT ifmt_m_cm32ra ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32rd = { +static const CGEN_IFMT ifmt_m_cm32rd ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32ri = { +static const CGEN_IFMT ifmt_m_cm32ri ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32rs = { +static const CGEN_IFMT ifmt_m_cm32rs ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32sa = { +static const CGEN_IFMT ifmt_m_cm32sa ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32sd = { +static const CGEN_IFMT ifmt_m_cm32sd ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32si = { +static const CGEN_IFMT ifmt_m_cm32si ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32ss = { +static const CGEN_IFMT ifmt_m_cm32ss ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm32xor = { +static const CGEN_IFMT ifmt_m_cm32xor ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64clr = { +static const CGEN_IFMT ifmt_m_cm64clr ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64ra = { +static const CGEN_IFMT ifmt_m_cm64ra ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64rd = { +static const CGEN_IFMT ifmt_m_cm64rd ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64ri = { +static const CGEN_IFMT ifmt_m_cm64ri ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64ria2 = { +static const CGEN_IFMT ifmt_m_cm64ria2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64rs = { +static const CGEN_IFMT ifmt_m_cm64rs ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64sa = { +static const CGEN_IFMT ifmt_m_cm64sa ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64sd = { +static const CGEN_IFMT ifmt_m_cm64sd ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64si = { +static const CGEN_IFMT ifmt_m_cm64si ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64sia2 = { +static const CGEN_IFMT ifmt_m_cm64sia2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm64ss = { +static const CGEN_IFMT ifmt_m_cm64ss ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm128ria2 = { +static const CGEN_IFMT ifmt_m_cm128ria2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm128ria3 = { +static const CGEN_IFMT ifmt_m_cm128ria3 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00fffc, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_CM_4FUNC) }, { F (F_CM_3Z) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm128ria4 = { +static const CGEN_IFMT ifmt_m_cm128ria4 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00fff8, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_CM_3FUNC) }, { F (F_CM_4Z) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm128sia2 = { +static const CGEN_IFMT ifmt_m_cm128sia2 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm128sia3 = { +static const CGEN_IFMT ifmt_m_cm128sia3 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00fffc, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_CM_4FUNC) }, { F (F_CM_3Z) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cm128sia4 = { +static const CGEN_IFMT ifmt_m_cm128sia4 ATTRIBUTE_UNUSED = { 32, 32, 0xfc00fff8, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_CM_3FUNC) }, { F (F_CM_4Z) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_cmphdr = { +static const CGEN_IFMT ifmt_m_cmphdr ATTRIBUTE_UNUSED = { 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_dbd = { +static const CGEN_IFMT ifmt_m_dbd ATTRIBUTE_UNUSED = { 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m2_dbd = { +static const CGEN_IFMT ifmt_m2_dbd ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_dpwt = { +static const CGEN_IFMT ifmt_m_dpwt ATTRIBUTE_UNUSED = { 32, 32, 0xfc1fffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_free = { +static const CGEN_IFMT ifmt_m_free ATTRIBUTE_UNUSED = { 32, 32, 0xfc1fffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_lock = { +static const CGEN_IFMT ifmt_m_lock ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_pkrla = { +static const CGEN_IFMT ifmt_m_pkrla ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_pkrlac = { +static const CGEN_IFMT ifmt_m_pkrlac ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_pkrlah = { +static const CGEN_IFMT ifmt_m_pkrlah ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_pkrlau = { +static const CGEN_IFMT ifmt_m_pkrlau ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_pkrli = { +static const CGEN_IFMT ifmt_m_pkrli ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_pkrlic = { +static const CGEN_IFMT ifmt_m_pkrlic ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_pkrlih = { +static const CGEN_IFMT ifmt_m_pkrlih ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_pkrliu = { +static const CGEN_IFMT ifmt_m_pkrliu ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_rba = { +static const CGEN_IFMT ifmt_m_rba ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_rbal = { +static const CGEN_IFMT ifmt_m_rbal ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_rbar = { +static const CGEN_IFMT ifmt_m_rbar ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_rbi = { +static const CGEN_IFMT ifmt_m_rbi ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_rbil = { +static const CGEN_IFMT ifmt_m_rbil ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_rbir = { +static const CGEN_IFMT ifmt_m_rbir ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_swwr = { +static const CGEN_IFMT ifmt_m_swwr ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_swwru = { +static const CGEN_IFMT ifmt_m_swwru ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_tstod = { +static const CGEN_IFMT ifmt_m_tstod ATTRIBUTE_UNUSED = { 32, 32, 0xfc1fffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_unlk = { +static const CGEN_IFMT ifmt_m_unlk ATTRIBUTE_UNUSED = { 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_wba = { +static const CGEN_IFMT ifmt_m_wba ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_wbac = { +static const CGEN_IFMT ifmt_m_wbac ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_wbau = { +static const CGEN_IFMT ifmt_m_wbau ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_wbi = { +static const CGEN_IFMT ifmt_m_wbi ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_wbic = { +static const CGEN_IFMT ifmt_m_wbic ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; -static const CGEN_IFMT ifmt_m_wbiu = { +static const CGEN_IFMT ifmt_m_wbiu ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ff00, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } }; diff --git a/opcodes/m32r-asm.c b/opcodes/m32r-asm.c index 87c33f04cd3..512e0b95ca3 100644 --- a/opcodes/m32r-asm.c +++ b/opcodes/m32r-asm.c @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-asm.in isn't -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2004 Free Software Foundation, Inc. +Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. diff --git a/opcodes/m32r-desc.c b/opcodes/m32r-desc.c index 711aff03bb0..dbd21f2da2f 100644 --- a/opcodes/m32r-desc.c +++ b/opcodes/m32r-desc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -43,7 +43,7 @@ static const CGEN_ATTR_ENTRY bool_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY MACH_attr[] = +static const CGEN_ATTR_ENTRY MACH_attr[] ATTRIBUTE_UNUSED = { { "base", MACH_BASE }, { "m32r", MACH_M32R }, @@ -53,14 +53,14 @@ static const CGEN_ATTR_ENTRY MACH_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY ISA_attr[] = +static const CGEN_ATTR_ENTRY ISA_attr[] ATTRIBUTE_UNUSED = { { "m32r", ISA_M32R }, { "max", ISA_MAX }, { 0, 0 } }; -static const CGEN_ATTR_ENTRY PIPE_attr[] = +static const CGEN_ATTR_ENTRY PIPE_attr[] ATTRIBUTE_UNUSED = { { "NONE", PIPE_NONE }, { "O", PIPE_O }, diff --git a/opcodes/m32r-desc.h b/opcodes/m32r-desc.h index ef61b696950..9355dc6f480 100644 --- a/opcodes/m32r-desc.h +++ b/opcodes/m32r-desc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. diff --git a/opcodes/m32r-dis.c b/opcodes/m32r-dis.c index 46224626080..21afb17301d 100644 --- a/opcodes/m32r-dis.c +++ b/opcodes/m32r-dis.c @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-dis.in isn't -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. @@ -43,15 +43,15 @@ along with this program; if not, write to the Free Software Foundation, Inc., static void print_normal (CGEN_CPU_DESC, void *, long, unsigned int, bfd_vma, int); static void print_address - (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int); + (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int) ATTRIBUTE_UNUSED; static void print_keyword - (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int); + (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int) ATTRIBUTE_UNUSED; static void print_insn_normal (CGEN_CPU_DESC, void *, const CGEN_INSN *, CGEN_FIELDS *, bfd_vma, int); static int print_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, unsigned); static int default_print_insn - (CGEN_CPU_DESC, bfd_vma, disassemble_info *); + (CGEN_CPU_DESC, bfd_vma, disassemble_info *) ATTRIBUTE_UNUSED; static int read_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, int, CGEN_EXTRACT_INFO *, unsigned long *); diff --git a/opcodes/m32r-opc.c b/opcodes/m32r-opc.c index a18d5ccefa8..caf6ec7f3bc 100644 --- a/opcodes/m32r-opc.c +++ b/opcodes/m32r-opc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -70,143 +70,143 @@ static unsigned int dis_hash_insn PARAMS ((const char *, CGEN_INSN_INT)); #else #define F(f) & m32r_cgen_ifld_table[M32R_/**/f] #endif -static const CGEN_IFMT ifmt_empty = { +static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = { 0, 0, 0x0, { { 0 } } }; -static const CGEN_IFMT ifmt_add = { +static const CGEN_IFMT ifmt_add ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_add3 = { +static const CGEN_IFMT ifmt_add3 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_and3 = { +static const CGEN_IFMT ifmt_and3 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_UIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_or3 = { +static const CGEN_IFMT ifmt_or3 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_UIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_addi = { +static const CGEN_IFMT ifmt_addi ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_R1) }, { F (F_SIMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_addv3 = { +static const CGEN_IFMT ifmt_addv3 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_bc8 = { +static const CGEN_IFMT ifmt_bc8 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP8) }, { 0 } } }; -static const CGEN_IFMT ifmt_bc24 = { +static const CGEN_IFMT ifmt_bc24 ATTRIBUTE_UNUSED = { 32, 32, 0xff000000, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP24) }, { 0 } } }; -static const CGEN_IFMT ifmt_beq = { +static const CGEN_IFMT ifmt_beq ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_DISP16) }, { 0 } } }; -static const CGEN_IFMT ifmt_beqz = { +static const CGEN_IFMT ifmt_beqz ATTRIBUTE_UNUSED = { 32, 32, 0xfff00000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_DISP16) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmp = { +static const CGEN_IFMT ifmt_cmp ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmpi = { +static const CGEN_IFMT ifmt_cmpi ATTRIBUTE_UNUSED = { 32, 32, 0xfff00000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_cmpz = { +static const CGEN_IFMT ifmt_cmpz ATTRIBUTE_UNUSED = { 16, 16, 0xfff0, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_div = { +static const CGEN_IFMT ifmt_div ATTRIBUTE_UNUSED = { 32, 32, 0xf0f0ffff, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_jc = { +static const CGEN_IFMT ifmt_jc ATTRIBUTE_UNUSED = { 16, 16, 0xfff0, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_ld24 = { +static const CGEN_IFMT ifmt_ld24 ATTRIBUTE_UNUSED = { 32, 32, 0xf0000000, { { F (F_OP1) }, { F (F_R1) }, { F (F_UIMM24) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldi16 = { +static const CGEN_IFMT ifmt_ldi16 ATTRIBUTE_UNUSED = { 32, 32, 0xf0ff0000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_machi_a = { +static const CGEN_IFMT ifmt_machi_a ATTRIBUTE_UNUSED = { 16, 16, 0xf070, { { F (F_OP1) }, { F (F_R1) }, { F (F_ACC) }, { F (F_OP23) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_mvfachi = { +static const CGEN_IFMT ifmt_mvfachi ATTRIBUTE_UNUSED = { 16, 16, 0xf0ff, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_mvfachi_a = { +static const CGEN_IFMT ifmt_mvfachi_a ATTRIBUTE_UNUSED = { 16, 16, 0xf0f3, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_ACCS) }, { F (F_OP3) }, { 0 } } }; -static const CGEN_IFMT ifmt_mvfc = { +static const CGEN_IFMT ifmt_mvfc ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_mvtachi = { +static const CGEN_IFMT ifmt_mvtachi ATTRIBUTE_UNUSED = { 16, 16, 0xf0ff, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_mvtachi_a = { +static const CGEN_IFMT ifmt_mvtachi_a ATTRIBUTE_UNUSED = { 16, 16, 0xf0f3, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_ACCS) }, { F (F_OP3) }, { 0 } } }; -static const CGEN_IFMT ifmt_mvtc = { +static const CGEN_IFMT ifmt_mvtc ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_nop = { +static const CGEN_IFMT ifmt_nop ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_rac_dsi = { +static const CGEN_IFMT ifmt_rac_dsi ATTRIBUTE_UNUSED = { 16, 16, 0xf3f2, { { F (F_OP1) }, { F (F_ACCD) }, { F (F_BITS67) }, { F (F_OP2) }, { F (F_ACCS) }, { F (F_BIT14) }, { F (F_IMM1) }, { 0 } } }; -static const CGEN_IFMT ifmt_seth = { +static const CGEN_IFMT ifmt_seth ATTRIBUTE_UNUSED = { 32, 32, 0xf0ff0000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_HI16) }, { 0 } } }; -static const CGEN_IFMT ifmt_slli = { +static const CGEN_IFMT ifmt_slli ATTRIBUTE_UNUSED = { 16, 16, 0xf0e0, { { F (F_OP1) }, { F (F_R1) }, { F (F_SHIFT_OP2) }, { F (F_UIMM5) }, { 0 } } }; -static const CGEN_IFMT ifmt_st_d = { +static const CGEN_IFMT ifmt_st_d ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_trap = { +static const CGEN_IFMT ifmt_trap ATTRIBUTE_UNUSED = { 16, 16, 0xfff0, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_UIMM4) }, { 0 } } }; -static const CGEN_IFMT ifmt_satb = { +static const CGEN_IFMT ifmt_satb ATTRIBUTE_UNUSED = { 32, 32, 0xf0f0ffff, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_UIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_clrpsw = { +static const CGEN_IFMT ifmt_clrpsw ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_R1) }, { F (F_UIMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_bset = { +static const CGEN_IFMT ifmt_bset ATTRIBUTE_UNUSED = { 32, 32, 0xf8f00000, { { F (F_OP1) }, { F (F_BIT4) }, { F (F_UIMM3) }, { F (F_OP2) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_btst = { +static const CGEN_IFMT ifmt_btst ATTRIBUTE_UNUSED = { 16, 16, 0xf8f0, { { F (F_OP1) }, { F (F_BIT4) }, { F (F_UIMM3) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; @@ -1135,147 +1135,147 @@ static const CGEN_OPCODE m32r_cgen_insn_opcode_table[MAX_INSNS] = #else #define F(f) & m32r_cgen_ifld_table[M32R_/**/f] #endif -static const CGEN_IFMT ifmt_bc8r = { +static const CGEN_IFMT ifmt_bc8r ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP8) }, { 0 } } }; -static const CGEN_IFMT ifmt_bc24r = { +static const CGEN_IFMT ifmt_bc24r ATTRIBUTE_UNUSED = { 32, 32, 0xff000000, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP24) }, { 0 } } }; -static const CGEN_IFMT ifmt_bl8r = { +static const CGEN_IFMT ifmt_bl8r ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP8) }, { 0 } } }; -static const CGEN_IFMT ifmt_bl24r = { +static const CGEN_IFMT ifmt_bl24r ATTRIBUTE_UNUSED = { 32, 32, 0xff000000, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP24) }, { 0 } } }; -static const CGEN_IFMT ifmt_bcl8r = { +static const CGEN_IFMT ifmt_bcl8r ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP8) }, { 0 } } }; -static const CGEN_IFMT ifmt_bcl24r = { +static const CGEN_IFMT ifmt_bcl24r ATTRIBUTE_UNUSED = { 32, 32, 0xff000000, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP24) }, { 0 } } }; -static const CGEN_IFMT ifmt_bnc8r = { +static const CGEN_IFMT ifmt_bnc8r ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP8) }, { 0 } } }; -static const CGEN_IFMT ifmt_bnc24r = { +static const CGEN_IFMT ifmt_bnc24r ATTRIBUTE_UNUSED = { 32, 32, 0xff000000, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP24) }, { 0 } } }; -static const CGEN_IFMT ifmt_bra8r = { +static const CGEN_IFMT ifmt_bra8r ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP8) }, { 0 } } }; -static const CGEN_IFMT ifmt_bra24r = { +static const CGEN_IFMT ifmt_bra24r ATTRIBUTE_UNUSED = { 32, 32, 0xff000000, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP24) }, { 0 } } }; -static const CGEN_IFMT ifmt_bncl8r = { +static const CGEN_IFMT ifmt_bncl8r ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP8) }, { 0 } } }; -static const CGEN_IFMT ifmt_bncl24r = { +static const CGEN_IFMT ifmt_bncl24r ATTRIBUTE_UNUSED = { 32, 32, 0xff000000, { { F (F_OP1) }, { F (F_R1) }, { F (F_DISP24) }, { 0 } } }; -static const CGEN_IFMT ifmt_ld_2 = { +static const CGEN_IFMT ifmt_ld_2 ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_ld_d2 = { +static const CGEN_IFMT ifmt_ld_d2 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldb_2 = { +static const CGEN_IFMT ifmt_ldb_2 ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldb_d2 = { +static const CGEN_IFMT ifmt_ldb_d2 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldh_2 = { +static const CGEN_IFMT ifmt_ldh_2 ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldh_d2 = { +static const CGEN_IFMT ifmt_ldh_d2 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldub_2 = { +static const CGEN_IFMT ifmt_ldub_2 ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldub_d2 = { +static const CGEN_IFMT ifmt_ldub_d2 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_lduh_2 = { +static const CGEN_IFMT ifmt_lduh_2 ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_lduh_d2 = { +static const CGEN_IFMT ifmt_lduh_d2 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_pop = { +static const CGEN_IFMT ifmt_pop ATTRIBUTE_UNUSED = { 16, 16, 0xf0ff, { { F (F_OP1) }, { F (F_R1) }, { F (F_OP2) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldi8a = { +static const CGEN_IFMT ifmt_ldi8a ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_R1) }, { F (F_SIMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_ldi16a = { +static const CGEN_IFMT ifmt_ldi16a ATTRIBUTE_UNUSED = { 32, 32, 0xf0ff0000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R2) }, { F (F_R1) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_rac_d = { +static const CGEN_IFMT ifmt_rac_d ATTRIBUTE_UNUSED = { 16, 16, 0xf3ff, { { F (F_OP1) }, { F (F_ACCD) }, { F (F_BITS67) }, { F (F_OP2) }, { F (F_ACCS) }, { F (F_BIT14) }, { F (F_IMM1) }, { 0 } } }; -static const CGEN_IFMT ifmt_rac_ds = { +static const CGEN_IFMT ifmt_rac_ds ATTRIBUTE_UNUSED = { 16, 16, 0xf3f3, { { F (F_OP1) }, { F (F_ACCD) }, { F (F_BITS67) }, { F (F_OP2) }, { F (F_ACCS) }, { F (F_BIT14) }, { F (F_IMM1) }, { 0 } } }; -static const CGEN_IFMT ifmt_rach_d = { +static const CGEN_IFMT ifmt_rach_d ATTRIBUTE_UNUSED = { 16, 16, 0xf3ff, { { F (F_OP1) }, { F (F_ACCD) }, { F (F_BITS67) }, { F (F_OP2) }, { F (F_ACCS) }, { F (F_BIT14) }, { F (F_IMM1) }, { 0 } } }; -static const CGEN_IFMT ifmt_rach_ds = { +static const CGEN_IFMT ifmt_rach_ds ATTRIBUTE_UNUSED = { 16, 16, 0xf3f3, { { F (F_OP1) }, { F (F_ACCD) }, { F (F_BITS67) }, { F (F_OP2) }, { F (F_ACCS) }, { F (F_BIT14) }, { F (F_IMM1) }, { 0 } } }; -static const CGEN_IFMT ifmt_st_2 = { +static const CGEN_IFMT ifmt_st_2 ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_st_d2 = { +static const CGEN_IFMT ifmt_st_d2 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_stb_2 = { +static const CGEN_IFMT ifmt_stb_2 ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_stb_d2 = { +static const CGEN_IFMT ifmt_stb_d2 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_sth_2 = { +static const CGEN_IFMT ifmt_sth_2 ATTRIBUTE_UNUSED = { 16, 16, 0xf0f0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { 0 } } }; -static const CGEN_IFMT ifmt_sth_d2 = { +static const CGEN_IFMT ifmt_sth_d2 ATTRIBUTE_UNUSED = { 32, 32, 0xf0f00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_push = { +static const CGEN_IFMT ifmt_push ATTRIBUTE_UNUSED = { 16, 16, 0xf0ff, { { F (F_OP1) }, { F (F_OP2) }, { F (F_R1) }, { F (F_R2) }, { 0 } } }; diff --git a/opcodes/m32r-opc.h b/opcodes/m32r-opc.h index 5fe7106528b..599f03f84ea 100644 --- a/opcodes/m32r-opc.h +++ b/opcodes/m32r-opc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. diff --git a/opcodes/m32r-opinst.c b/opcodes/m32r-opinst.c index 370aa7c0a8e..179d9834701 100644 --- a/opcodes/m32r-opinst.c +++ b/opcodes/m32r-opinst.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -41,46 +41,46 @@ with this program; if not, write to the Free Software Foundation, Inc., #define END CGEN_OPINST_END #define COND_REF CGEN_OPINST_COND_REF -static const CGEN_OPINST sfmt_empty_ops[] = { +static const CGEN_OPINST sfmt_empty_ops[] ATTRIBUTE_UNUSED = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_add_ops[] = { +static const CGEN_OPINST sfmt_add_ops[] ATTRIBUTE_UNUSED = { { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_add3_ops[] = { +static const CGEN_OPINST sfmt_add3_ops[] ATTRIBUTE_UNUSED = { { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_and3_ops[] = { +static const CGEN_OPINST sfmt_and3_ops[] ATTRIBUTE_UNUSED = { { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { INPUT, "uimm16", HW_H_UINT, CGEN_MODE_UINT, OP_ENT (UIMM16), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_or3_ops[] = { +static const CGEN_OPINST sfmt_or3_ops[] ATTRIBUTE_UNUSED = { { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { INPUT, "ulo16", HW_H_ULO16, CGEN_MODE_UINT, OP_ENT (ULO16), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_addi_ops[] = { +static const CGEN_OPINST sfmt_addi_ops[] ATTRIBUTE_UNUSED = { { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { INPUT, "simm8", HW_H_SINT, CGEN_MODE_INT, OP_ENT (SIMM8), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_addv_ops[] = { +static const CGEN_OPINST sfmt_addv_ops[] ATTRIBUTE_UNUSED = { { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, @@ -88,7 +88,7 @@ static const CGEN_OPINST sfmt_addv_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_addv3_ops[] = { +static const CGEN_OPINST sfmt_addv3_ops[] ATTRIBUTE_UNUSED = { { INPUT, "simm16", HW_H_SINT, CGEN_MODE_INT, OP_ENT (SIMM16), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, @@ -96,7 +96,7 @@ static const CGEN_OPINST sfmt_addv3_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_addx_ops[] = { +static const CGEN_OPINST sfmt_addx_ops[] ATTRIBUTE_UNUSED = { { INPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, @@ -105,21 +105,21 @@ static const CGEN_OPINST sfmt_addx_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_bc8_ops[] = { +static const CGEN_OPINST sfmt_bc8_ops[] ATTRIBUTE_UNUSED = { { INPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { INPUT, "disp8", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP8), 0, COND_REF }, { OUTPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, COND_REF }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_bc24_ops[] = { +static const CGEN_OPINST sfmt_bc24_ops[] ATTRIBUTE_UNUSED = { { INPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { INPUT, "disp24", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP24), 0, COND_REF }, { OUTPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, COND_REF }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_beq_ops[] = { +static const CGEN_OPINST sfmt_beq_ops[] ATTRIBUTE_UNUSED = { { INPUT, "disp16", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP16), 0, COND_REF }, { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, @@ -127,14 +127,14 @@ static const CGEN_OPINST sfmt_beq_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_beqz_ops[] = { +static const CGEN_OPINST sfmt_beqz_ops[] ATTRIBUTE_UNUSED = { { INPUT, "disp16", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP16), 0, COND_REF }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, COND_REF }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_bl8_ops[] = { +static const CGEN_OPINST sfmt_bl8_ops[] ATTRIBUTE_UNUSED = { { INPUT, "disp8", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP8), 0, 0 }, { INPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, 0 }, { OUTPUT, "h_gr_SI_14", HW_H_GR, CGEN_MODE_SI, 0, 14, 0 }, @@ -142,7 +142,7 @@ static const CGEN_OPINST sfmt_bl8_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_bl24_ops[] = { +static const CGEN_OPINST sfmt_bl24_ops[] ATTRIBUTE_UNUSED = { { INPUT, "disp24", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP24), 0, 0 }, { INPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, 0 }, { OUTPUT, "h_gr_SI_14", HW_H_GR, CGEN_MODE_SI, 0, 14, 0 }, @@ -150,7 +150,7 @@ static const CGEN_OPINST sfmt_bl24_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_bcl8_ops[] = { +static const CGEN_OPINST sfmt_bcl8_ops[] ATTRIBUTE_UNUSED = { { INPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { INPUT, "disp8", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP8), 0, COND_REF }, { INPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, COND_REF }, @@ -159,7 +159,7 @@ static const CGEN_OPINST sfmt_bcl8_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_bcl24_ops[] = { +static const CGEN_OPINST sfmt_bcl24_ops[] ATTRIBUTE_UNUSED = { { INPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { INPUT, "disp24", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP24), 0, COND_REF }, { INPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, COND_REF }, @@ -168,53 +168,53 @@ static const CGEN_OPINST sfmt_bcl24_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_bra8_ops[] = { +static const CGEN_OPINST sfmt_bra8_ops[] ATTRIBUTE_UNUSED = { { INPUT, "disp8", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP8), 0, 0 }, { OUTPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_bra24_ops[] = { +static const CGEN_OPINST sfmt_bra24_ops[] ATTRIBUTE_UNUSED = { { INPUT, "disp24", HW_H_IADDR, CGEN_MODE_USI, OP_ENT (DISP24), 0, 0 }, { OUTPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_cmp_ops[] = { +static const CGEN_OPINST sfmt_cmp_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_cmpi_ops[] = { +static const CGEN_OPINST sfmt_cmpi_ops[] ATTRIBUTE_UNUSED = { { INPUT, "simm16", HW_H_SINT, CGEN_MODE_INT, OP_ENT (SIMM16), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_cmpz_ops[] = { +static const CGEN_OPINST sfmt_cmpz_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_div_ops[] = { +static const CGEN_OPINST sfmt_div_ops[] ATTRIBUTE_UNUSED = { { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, COND_REF }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, COND_REF }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_jc_ops[] = { +static const CGEN_OPINST sfmt_jc_ops[] ATTRIBUTE_UNUSED = { { INPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, COND_REF }, { OUTPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, COND_REF }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_jl_ops[] = { +static const CGEN_OPINST sfmt_jl_ops[] ATTRIBUTE_UNUSED = { { INPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "h_gr_SI_14", HW_H_GR, CGEN_MODE_SI, 0, 14, 0 }, @@ -222,20 +222,20 @@ static const CGEN_OPINST sfmt_jl_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_jmp_ops[] = { +static const CGEN_OPINST sfmt_jmp_ops[] ATTRIBUTE_UNUSED = { { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "pc", HW_H_PC, CGEN_MODE_USI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ld_ops[] = { +static const CGEN_OPINST sfmt_ld_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_memory_SI_sr", HW_H_MEMORY, CGEN_MODE_SI, 0, 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_USI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ld_d_ops[] = { +static const CGEN_OPINST sfmt_ld_d_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_memory_SI_add__DFLT_sr_slo16", HW_H_MEMORY, CGEN_MODE_SI, 0, 0, 0 }, { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, @@ -243,14 +243,14 @@ static const CGEN_OPINST sfmt_ld_d_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ldb_ops[] = { +static const CGEN_OPINST sfmt_ldb_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_memory_QI_sr", HW_H_MEMORY, CGEN_MODE_QI, 0, 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_USI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ldb_d_ops[] = { +static const CGEN_OPINST sfmt_ldb_d_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_memory_QI_add__DFLT_sr_slo16", HW_H_MEMORY, CGEN_MODE_QI, 0, 0, 0 }, { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, @@ -258,14 +258,14 @@ static const CGEN_OPINST sfmt_ldb_d_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ldh_ops[] = { +static const CGEN_OPINST sfmt_ldh_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_memory_HI_sr", HW_H_MEMORY, CGEN_MODE_HI, 0, 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_USI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ldh_d_ops[] = { +static const CGEN_OPINST sfmt_ldh_d_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_memory_HI_add__DFLT_sr_slo16", HW_H_MEMORY, CGEN_MODE_HI, 0, 0, 0 }, { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, @@ -273,7 +273,7 @@ static const CGEN_OPINST sfmt_ldh_d_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ld_plus_ops[] = { +static const CGEN_OPINST sfmt_ld_plus_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_memory_SI_sr", HW_H_MEMORY, CGEN_MODE_SI, 0, 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_USI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, @@ -281,25 +281,25 @@ static const CGEN_OPINST sfmt_ld_plus_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ld24_ops[] = { +static const CGEN_OPINST sfmt_ld24_ops[] ATTRIBUTE_UNUSED = { { INPUT, "uimm24", HW_H_ADDR, CGEN_MODE_USI, OP_ENT (UIMM24), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ldi8_ops[] = { +static const CGEN_OPINST sfmt_ldi8_ops[] ATTRIBUTE_UNUSED = { { INPUT, "simm8", HW_H_SINT, CGEN_MODE_INT, OP_ENT (SIMM8), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_ldi16_ops[] = { +static const CGEN_OPINST sfmt_ldi16_ops[] ATTRIBUTE_UNUSED = { { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_lock_ops[] = { +static const CGEN_OPINST sfmt_lock_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_memory_SI_sr", HW_H_MEMORY, CGEN_MODE_SI, 0, 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_USI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, @@ -307,7 +307,7 @@ static const CGEN_OPINST sfmt_lock_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_machi_ops[] = { +static const CGEN_OPINST sfmt_machi_ops[] ATTRIBUTE_UNUSED = { { INPUT, "accum", HW_H_ACCUM, CGEN_MODE_DI, 0, 0, 0 }, { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, @@ -315,7 +315,7 @@ static const CGEN_OPINST sfmt_machi_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_machi_a_ops[] = { +static const CGEN_OPINST sfmt_machi_a_ops[] ATTRIBUTE_UNUSED = { { INPUT, "acc", HW_H_ACCUMS, CGEN_MODE_DI, OP_ENT (ACC), 0, 0 }, { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, @@ -323,82 +323,82 @@ static const CGEN_OPINST sfmt_machi_a_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mulhi_ops[] = { +static const CGEN_OPINST sfmt_mulhi_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "accum", HW_H_ACCUM, CGEN_MODE_DI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mulhi_a_ops[] = { +static const CGEN_OPINST sfmt_mulhi_a_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "acc", HW_H_ACCUMS, CGEN_MODE_DI, OP_ENT (ACC), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mv_ops[] = { +static const CGEN_OPINST sfmt_mv_ops[] ATTRIBUTE_UNUSED = { { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mvfachi_ops[] = { +static const CGEN_OPINST sfmt_mvfachi_ops[] ATTRIBUTE_UNUSED = { { INPUT, "accum", HW_H_ACCUM, CGEN_MODE_DI, 0, 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mvfachi_a_ops[] = { +static const CGEN_OPINST sfmt_mvfachi_a_ops[] ATTRIBUTE_UNUSED = { { INPUT, "accs", HW_H_ACCUMS, CGEN_MODE_DI, OP_ENT (ACCS), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mvfc_ops[] = { +static const CGEN_OPINST sfmt_mvfc_ops[] ATTRIBUTE_UNUSED = { { INPUT, "scr", HW_H_CR, CGEN_MODE_USI, OP_ENT (SCR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mvtachi_ops[] = { +static const CGEN_OPINST sfmt_mvtachi_ops[] ATTRIBUTE_UNUSED = { { INPUT, "accum", HW_H_ACCUM, CGEN_MODE_DI, 0, 0, 0 }, { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { OUTPUT, "accum", HW_H_ACCUM, CGEN_MODE_DI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mvtachi_a_ops[] = { +static const CGEN_OPINST sfmt_mvtachi_a_ops[] ATTRIBUTE_UNUSED = { { INPUT, "accs", HW_H_ACCUMS, CGEN_MODE_DI, OP_ENT (ACCS), 0, 0 }, { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { OUTPUT, "accs", HW_H_ACCUMS, CGEN_MODE_DI, OP_ENT (ACCS), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mvtc_ops[] = { +static const CGEN_OPINST sfmt_mvtc_ops[] ATTRIBUTE_UNUSED = { { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dcr", HW_H_CR, CGEN_MODE_USI, OP_ENT (DCR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_nop_ops[] = { +static const CGEN_OPINST sfmt_nop_ops[] ATTRIBUTE_UNUSED = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_rac_ops[] = { +static const CGEN_OPINST sfmt_rac_ops[] ATTRIBUTE_UNUSED = { { INPUT, "accum", HW_H_ACCUM, CGEN_MODE_DI, 0, 0, 0 }, { OUTPUT, "accum", HW_H_ACCUM, CGEN_MODE_DI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_rac_dsi_ops[] = { +static const CGEN_OPINST sfmt_rac_dsi_ops[] ATTRIBUTE_UNUSED = { { INPUT, "accs", HW_H_ACCUMS, CGEN_MODE_DI, OP_ENT (ACCS), 0, 0 }, { INPUT, "imm1", HW_H_UINT, CGEN_MODE_INT, OP_ENT (IMM1), 0, 0 }, { OUTPUT, "accd", HW_H_ACCUMS, CGEN_MODE_DI, OP_ENT (ACCD), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_rte_ops[] = { +static const CGEN_OPINST sfmt_rte_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_bbpsw_UQI", HW_H_BBPSW, CGEN_MODE_UQI, 0, 0, 0 }, { INPUT, "h_bpsw_UQI", HW_H_BPSW, CGEN_MODE_UQI, 0, 0, 0 }, { INPUT, "h_cr_USI_14", HW_H_CR, CGEN_MODE_USI, 0, 14, 0 }, @@ -410,34 +410,34 @@ static const CGEN_OPINST sfmt_rte_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_seth_ops[] = { +static const CGEN_OPINST sfmt_seth_ops[] ATTRIBUTE_UNUSED = { { INPUT, "hi16", HW_H_HI16, CGEN_MODE_SI, OP_ENT (HI16), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_sll3_ops[] = { +static const CGEN_OPINST sfmt_sll3_ops[] ATTRIBUTE_UNUSED = { { INPUT, "simm16", HW_H_SINT, CGEN_MODE_SI, OP_ENT (SIMM16), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_slli_ops[] = { +static const CGEN_OPINST sfmt_slli_ops[] ATTRIBUTE_UNUSED = { { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { INPUT, "uimm5", HW_H_UINT, CGEN_MODE_INT, OP_ENT (UIMM5), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_st_ops[] = { +static const CGEN_OPINST sfmt_st_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_USI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "h_memory_SI_src2", HW_H_MEMORY, CGEN_MODE_SI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_st_d_ops[] = { +static const CGEN_OPINST sfmt_st_d_ops[] ATTRIBUTE_UNUSED = { { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, @@ -445,14 +445,14 @@ static const CGEN_OPINST sfmt_st_d_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_stb_ops[] = { +static const CGEN_OPINST sfmt_stb_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_QI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_USI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "h_memory_QI_src2", HW_H_MEMORY, CGEN_MODE_QI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_stb_d_ops[] = { +static const CGEN_OPINST sfmt_stb_d_ops[] ATTRIBUTE_UNUSED = { { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, { INPUT, "src1", HW_H_GR, CGEN_MODE_QI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, @@ -460,14 +460,14 @@ static const CGEN_OPINST sfmt_stb_d_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_sth_ops[] = { +static const CGEN_OPINST sfmt_sth_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_HI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_USI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "h_memory_HI_src2", HW_H_MEMORY, CGEN_MODE_HI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_sth_d_ops[] = { +static const CGEN_OPINST sfmt_sth_d_ops[] ATTRIBUTE_UNUSED = { { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, { INPUT, "src1", HW_H_GR, CGEN_MODE_HI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, @@ -475,7 +475,7 @@ static const CGEN_OPINST sfmt_sth_d_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_st_plus_ops[] = { +static const CGEN_OPINST sfmt_st_plus_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "h_memory_SI_new_src2", HW_H_MEMORY, CGEN_MODE_SI, 0, 0, 0 }, @@ -483,7 +483,7 @@ static const CGEN_OPINST sfmt_st_plus_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_sth_plus_ops[] = { +static const CGEN_OPINST sfmt_sth_plus_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "h_memory_HI_new_src2", HW_H_MEMORY, CGEN_MODE_HI, 0, 0, 0 }, @@ -491,7 +491,7 @@ static const CGEN_OPINST sfmt_sth_plus_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_stb_plus_ops[] = { +static const CGEN_OPINST sfmt_stb_plus_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "h_memory_QI_new_src2", HW_H_MEMORY, CGEN_MODE_QI, 0, 0, 0 }, @@ -499,7 +499,7 @@ static const CGEN_OPINST sfmt_stb_plus_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_trap_ops[] = { +static const CGEN_OPINST sfmt_trap_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_bpsw_UQI", HW_H_BPSW, CGEN_MODE_UQI, 0, 0, 0 }, { INPUT, "h_cr_USI_6", HW_H_CR, CGEN_MODE_USI, 0, 6, 0 }, { INPUT, "h_psw_UQI", HW_H_PSW, CGEN_MODE_UQI, 0, 0, 0 }, @@ -514,7 +514,7 @@ static const CGEN_OPINST sfmt_trap_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_unlock_ops[] = { +static const CGEN_OPINST sfmt_unlock_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_lock_BI", HW_H_LOCK, CGEN_MODE_BI, 0, 0, 0 }, { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, COND_REF }, { INPUT, "src2", HW_H_GR, CGEN_MODE_USI, OP_ENT (SRC2), 0, COND_REF }, @@ -523,27 +523,27 @@ static const CGEN_OPINST sfmt_unlock_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_satb_ops[] = { +static const CGEN_OPINST sfmt_satb_ops[] ATTRIBUTE_UNUSED = { { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_sat_ops[] = { +static const CGEN_OPINST sfmt_sat_ops[] ATTRIBUTE_UNUSED = { { INPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, COND_REF }, { OUTPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_sadd_ops[] = { +static const CGEN_OPINST sfmt_sadd_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_accums_DI_0", HW_H_ACCUMS, CGEN_MODE_DI, 0, 0, 0 }, { INPUT, "h_accums_DI_1", HW_H_ACCUMS, CGEN_MODE_DI, 0, 1, 0 }, { OUTPUT, "h_accums_DI_0", HW_H_ACCUMS, CGEN_MODE_DI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_macwu1_ops[] = { +static const CGEN_OPINST sfmt_macwu1_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_accums_DI_1", HW_H_ACCUMS, CGEN_MODE_DI, 0, 1, 0 }, { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, @@ -551,32 +551,32 @@ static const CGEN_OPINST sfmt_macwu1_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_mulwu1_ops[] = { +static const CGEN_OPINST sfmt_mulwu1_ops[] ATTRIBUTE_UNUSED = { { INPUT, "src1", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC1), 0, 0 }, { INPUT, "src2", HW_H_GR, CGEN_MODE_SI, OP_ENT (SRC2), 0, 0 }, { OUTPUT, "h_accums_DI_1", HW_H_ACCUMS, CGEN_MODE_DI, 0, 1, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_sc_ops[] = { +static const CGEN_OPINST sfmt_sc_ops[] ATTRIBUTE_UNUSED = { { INPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_clrpsw_ops[] = { +static const CGEN_OPINST sfmt_clrpsw_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_cr_USI_0", HW_H_CR, CGEN_MODE_USI, 0, 0, 0 }, { INPUT, "uimm8", HW_H_UINT, CGEN_MODE_BI, OP_ENT (UIMM8), 0, 0 }, { OUTPUT, "h_cr_USI_0", HW_H_CR, CGEN_MODE_USI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_setpsw_ops[] = { +static const CGEN_OPINST sfmt_setpsw_ops[] ATTRIBUTE_UNUSED = { { INPUT, "uimm8", HW_H_UINT, CGEN_MODE_USI, OP_ENT (UIMM8), 0, 0 }, { OUTPUT, "h_cr_USI_0", HW_H_CR, CGEN_MODE_USI, 0, 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_bset_ops[] = { +static const CGEN_OPINST sfmt_bset_ops[] ATTRIBUTE_UNUSED = { { INPUT, "h_memory_QI_add__DFLT_sr_slo16", HW_H_MEMORY, CGEN_MODE_QI, 0, 0, 0 }, { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, @@ -585,7 +585,7 @@ static const CGEN_OPINST sfmt_bset_ops[] = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; -static const CGEN_OPINST sfmt_btst_ops[] = { +static const CGEN_OPINST sfmt_btst_ops[] ATTRIBUTE_UNUSED = { { INPUT, "sr", HW_H_GR, CGEN_MODE_USI, OP_ENT (SR), 0, 0 }, { INPUT, "uimm3", HW_H_UINT, CGEN_MODE_UINT, OP_ENT (UIMM3), 0, 0 }, { OUTPUT, "condbit", HW_H_COND, CGEN_MODE_BI, 0, 0, 0 }, diff --git a/opcodes/openrisc-desc.c b/opcodes/openrisc-desc.c index 989b1958648..2ea53e9dc2d 100644 --- a/opcodes/openrisc-desc.c +++ b/opcodes/openrisc-desc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -43,7 +43,7 @@ static const CGEN_ATTR_ENTRY bool_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY MACH_attr[] = +static const CGEN_ATTR_ENTRY MACH_attr[] ATTRIBUTE_UNUSED = { { "base", MACH_BASE }, { "openrisc", MACH_OPENRISC }, @@ -52,14 +52,14 @@ static const CGEN_ATTR_ENTRY MACH_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY ISA_attr[] = +static const CGEN_ATTR_ENTRY ISA_attr[] ATTRIBUTE_UNUSED = { { "or32", ISA_OR32 }, { "max", ISA_MAX }, { 0, 0 } }; -static const CGEN_ATTR_ENTRY HAS_CACHE_attr[] = +static const CGEN_ATTR_ENTRY HAS_CACHE_attr[] ATTRIBUTE_UNUSED = { { "DATA_CACHE", HAS_CACHE_DATA_CACHE }, { "INSN_CACHE", HAS_CACHE_INSN_CACHE }, diff --git a/opcodes/openrisc-desc.h b/opcodes/openrisc-desc.h index 0c7df17b886..e15292e59e8 100644 --- a/opcodes/openrisc-desc.h +++ b/opcodes/openrisc-desc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -244,6 +244,7 @@ extern const CGEN_ATTR_TABLE openrisc_cgen_insn_attr_table[]; extern CGEN_KEYWORD openrisc_cgen_opval_h_gr; +extern const CGEN_HW_ENTRY openrisc_cgen_hw_table[]; diff --git a/opcodes/openrisc-dis.c b/opcodes/openrisc-dis.c index 6b721e213fb..a41720cf931 100644 --- a/opcodes/openrisc-dis.c +++ b/opcodes/openrisc-dis.c @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-dis.in isn't -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. @@ -43,15 +43,15 @@ along with this program; if not, write to the Free Software Foundation, Inc., static void print_normal (CGEN_CPU_DESC, void *, long, unsigned int, bfd_vma, int); static void print_address - (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int); + (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int) ATTRIBUTE_UNUSED; static void print_keyword - (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int); + (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int) ATTRIBUTE_UNUSED; static void print_insn_normal (CGEN_CPU_DESC, void *, const CGEN_INSN *, CGEN_FIELDS *, bfd_vma, int); static int print_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, unsigned); static int default_print_insn - (CGEN_CPU_DESC, bfd_vma, disassemble_info *); + (CGEN_CPU_DESC, bfd_vma, disassemble_info *) ATTRIBUTE_UNUSED; static int read_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, int, CGEN_EXTRACT_INFO *, unsigned long *); diff --git a/opcodes/openrisc-opc.c b/opcodes/openrisc-opc.c index 943f4d5b7f7..6e2f8221399 100644 --- a/opcodes/openrisc-opc.c +++ b/opcodes/openrisc-opc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -47,67 +47,67 @@ static unsigned int dis_hash_insn PARAMS ((const char *, CGEN_INSN_INT)); #else #define F(f) & openrisc_cgen_ifld_table[OPENRISC_/**/f] #endif -static const CGEN_IFMT ifmt_empty = { +static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = { 0, 0, 0x0, { { 0 } } }; -static const CGEN_IFMT ifmt_l_j = { +static const CGEN_IFMT ifmt_l_j ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_ABS26) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_jr = { +static const CGEN_IFMT ifmt_l_jr ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_OP3) }, { F (F_OP4) }, { F (F_R2) }, { F (F_UIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_bal = { +static const CGEN_IFMT ifmt_l_bal ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_DISP26) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_movhi = { +static const CGEN_IFMT ifmt_l_movhi ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_mfsr = { +static const CGEN_IFMT ifmt_l_mfsr ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_R1) }, { F (F_R2) }, { F (F_UIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_mtsr = { +static const CGEN_IFMT ifmt_l_mtsr ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_I16_1) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_lw = { +static const CGEN_IFMT ifmt_l_lw ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_sw = { +static const CGEN_IFMT ifmt_l_sw ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_R1) }, { F (F_R3) }, { F (F_I16NC) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_sll = { +static const CGEN_IFMT ifmt_l_sll ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_F_10_3) }, { F (F_OP6) }, { F (F_F_4_1) }, { F (F_OP7) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_slli = { +static const CGEN_IFMT ifmt_l_slli ATTRIBUTE_UNUSED = { 32, 32, 0xfc00ffe0, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_R1) }, { F (F_R2) }, { F (F_F_15_8) }, { F (F_OP6) }, { F (F_UIMM5) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_add = { +static const CGEN_IFMT ifmt_l_add ATTRIBUTE_UNUSED = { 32, 32, 0xfc0007ff, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_F_10_7) }, { F (F_OP7) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_addi = { +static const CGEN_IFMT ifmt_l_addi ATTRIBUTE_UNUSED = { 32, 32, 0xfc000000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_R1) }, { F (F_R2) }, { F (F_LO16) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_sfgts = { +static const CGEN_IFMT ifmt_l_sfgts ATTRIBUTE_UNUSED = { 32, 32, 0xffe007ff, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_OP5) }, { F (F_R2) }, { F (F_R3) }, { F (F_F_10_11) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_sfgtsi = { +static const CGEN_IFMT ifmt_l_sfgtsi ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_OP5) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_l_sfgtui = { +static const CGEN_IFMT ifmt_l_sfgtui ATTRIBUTE_UNUSED = { 32, 32, 0xffe00000, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_OP5) }, { F (F_R2) }, { F (F_UIMM16) }, { 0 } } }; @@ -532,7 +532,7 @@ static const CGEN_OPCODE openrisc_cgen_insn_opcode_table[MAX_INSNS] = #else #define F(f) & openrisc_cgen_ifld_table[OPENRISC_/**/f] #endif -static const CGEN_IFMT ifmt_l_ret = { +static const CGEN_IFMT ifmt_l_ret ATTRIBUTE_UNUSED = { 32, 32, 0xffffffff, { { F (F_CLASS) }, { F (F_SUB) }, { F (F_OP3) }, { F (F_OP4) }, { F (F_R2) }, { F (F_UIMM16) }, { 0 } } }; diff --git a/opcodes/openrisc-opc.h b/opcodes/openrisc-opc.h index bd8bb7c7bee..dc620b30dec 100644 --- a/opcodes/openrisc-opc.h +++ b/opcodes/openrisc-opc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. diff --git a/opcodes/xstormy16-desc.c b/opcodes/xstormy16-desc.c index 1c94fd7d853..96d63f42c98 100644 --- a/opcodes/xstormy16-desc.c +++ b/opcodes/xstormy16-desc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -43,7 +43,7 @@ static const CGEN_ATTR_ENTRY bool_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY MACH_attr[] = +static const CGEN_ATTR_ENTRY MACH_attr[] ATTRIBUTE_UNUSED = { { "base", MACH_BASE }, { "xstormy16", MACH_XSTORMY16 }, @@ -51,7 +51,7 @@ static const CGEN_ATTR_ENTRY MACH_attr[] = { 0, 0 } }; -static const CGEN_ATTR_ENTRY ISA_attr[] = +static const CGEN_ATTR_ENTRY ISA_attr[] ATTRIBUTE_UNUSED = { { "xstormy16", ISA_XSTORMY16 }, { "max", ISA_MAX }, diff --git a/opcodes/xstormy16-desc.h b/opcodes/xstormy16-desc.h index e6135058083..77949c178e5 100644 --- a/opcodes/xstormy16-desc.h +++ b/opcodes/xstormy16-desc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -286,6 +286,7 @@ extern CGEN_KEYWORD xstormy16_cgen_opval_gr_Rb_names; extern CGEN_KEYWORD xstormy16_cgen_opval_h_branchcond; extern CGEN_KEYWORD xstormy16_cgen_opval_h_wordsize; +extern const CGEN_HW_ENTRY xstormy16_cgen_hw_table[]; diff --git a/opcodes/xstormy16-dis.c b/opcodes/xstormy16-dis.c index 54af2571ab5..7678c007eaf 100644 --- a/opcodes/xstormy16-dis.c +++ b/opcodes/xstormy16-dis.c @@ -4,7 +4,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. - the resultant file is machine generated, cgen-dis.in isn't -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. @@ -43,15 +43,15 @@ along with this program; if not, write to the Free Software Foundation, Inc., static void print_normal (CGEN_CPU_DESC, void *, long, unsigned int, bfd_vma, int); static void print_address - (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int); + (CGEN_CPU_DESC, void *, bfd_vma, unsigned int, bfd_vma, int) ATTRIBUTE_UNUSED; static void print_keyword - (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int); + (CGEN_CPU_DESC, void *, CGEN_KEYWORD *, long, unsigned int) ATTRIBUTE_UNUSED; static void print_insn_normal (CGEN_CPU_DESC, void *, const CGEN_INSN *, CGEN_FIELDS *, bfd_vma, int); static int print_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, unsigned); static int default_print_insn - (CGEN_CPU_DESC, bfd_vma, disassemble_info *); + (CGEN_CPU_DESC, bfd_vma, disassemble_info *) ATTRIBUTE_UNUSED; static int read_insn (CGEN_CPU_DESC, bfd_vma, disassemble_info *, char *, int, CGEN_EXTRACT_INFO *, unsigned long *); diff --git a/opcodes/xstormy16-opc.c b/opcodes/xstormy16-opc.c index 34c0b0ea7f6..c7f0cd7baca 100644 --- a/opcodes/xstormy16-opc.c +++ b/opcodes/xstormy16-opc.c @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -45,119 +45,119 @@ static unsigned int dis_hash_insn PARAMS ((const char *, CGEN_INSN_INT)); #else #define F(f) & xstormy16_cgen_ifld_table[XSTORMY16_/**/f] #endif -static const CGEN_IFMT ifmt_empty = { +static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = { 0, 0, 0x0, { { 0 } } }; -static const CGEN_IFMT ifmt_movlmemimm = { +static const CGEN_IFMT ifmt_movlmemimm ATTRIBUTE_UNUSED = { 32, 32, 0xfe000000, { { F (F_OP1) }, { F (F_OP2A) }, { F (F_OP2M) }, { F (F_LMEM8) }, { F (F_IMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_movhmemimm = { +static const CGEN_IFMT ifmt_movhmemimm ATTRIBUTE_UNUSED = { 32, 32, 0xfe000000, { { F (F_OP1) }, { F (F_OP2A) }, { F (F_OP2M) }, { F (F_HMEM8) }, { F (F_IMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_movlgrmem = { +static const CGEN_IFMT ifmt_movlgrmem ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_RM) }, { F (F_OP2M) }, { F (F_LMEM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_movhgrmem = { +static const CGEN_IFMT ifmt_movhgrmem ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_RM) }, { F (F_OP2M) }, { F (F_HMEM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_movgrgri = { +static const CGEN_IFMT ifmt_movgrgri ATTRIBUTE_UNUSED = { 16, 16, 0xfe08, { { F (F_OP1) }, { F (F_OP2A) }, { F (F_OP2M) }, { F (F_RS) }, { F (F_OP4M) }, { F (F_RDM) }, { 0 } } }; -static const CGEN_IFMT ifmt_movgrgrii = { +static const CGEN_IFMT ifmt_movgrgrii ATTRIBUTE_UNUSED = { 32, 32, 0xfe08f000, { { F (F_OP1) }, { F (F_OP2A) }, { F (F_OP2M) }, { F (F_RS) }, { F (F_OP4M) }, { F (F_RDM) }, { F (F_OP5) }, { F (F_IMM12) }, { 0 } } }; -static const CGEN_IFMT ifmt_movgrgr = { +static const CGEN_IFMT ifmt_movgrgr ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RS) }, { F (F_RD) }, { 0 } } }; -static const CGEN_IFMT ifmt_movwimm8 = { +static const CGEN_IFMT ifmt_movwimm8 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_IMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_movwgrimm8 = { +static const CGEN_IFMT ifmt_movwgrimm8 ATTRIBUTE_UNUSED = { 16, 16, 0xf100, { { F (F_OP1) }, { F (F_RM) }, { F (F_OP2M) }, { F (F_IMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_movwgrimm16 = { +static const CGEN_IFMT ifmt_movwgrimm16 ATTRIBUTE_UNUSED = { 32, 32, 0xfff00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RD) }, { F (F_IMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_movlowgr = { +static const CGEN_IFMT ifmt_movlowgr ATTRIBUTE_UNUSED = { 16, 16, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RD) }, { 0 } } }; -static const CGEN_IFMT ifmt_movfgrgrii = { +static const CGEN_IFMT ifmt_movfgrgrii ATTRIBUTE_UNUSED = { 32, 32, 0xfe088000, { { F (F_OP1) }, { F (F_OP2A) }, { F (F_OP2M) }, { F (F_RS) }, { F (F_OP4M) }, { F (F_RDM) }, { F (F_OP5A) }, { F (F_RB) }, { F (F_IMM12) }, { 0 } } }; -static const CGEN_IFMT ifmt_addgrimm4 = { +static const CGEN_IFMT ifmt_addgrimm4 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_IMM4) }, { F (F_RD) }, { 0 } } }; -static const CGEN_IFMT ifmt_incgrimm2 = { +static const CGEN_IFMT ifmt_incgrimm2 ATTRIBUTE_UNUSED = { 16, 16, 0xffc0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3A) }, { F (F_IMM2) }, { F (F_RD) }, { 0 } } }; -static const CGEN_IFMT ifmt_set1lmemimm = { +static const CGEN_IFMT ifmt_set1lmemimm ATTRIBUTE_UNUSED = { 16, 16, 0xf100, { { F (F_OP1) }, { F (F_IMM3) }, { F (F_OP2M) }, { F (F_LMEM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_set1hmemimm = { +static const CGEN_IFMT ifmt_set1hmemimm ATTRIBUTE_UNUSED = { 16, 16, 0xf100, { { F (F_OP1) }, { F (F_IMM3) }, { F (F_OP2M) }, { F (F_HMEM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_bccgrgr = { +static const CGEN_IFMT ifmt_bccgrgr ATTRIBUTE_UNUSED = { 32, 32, 0xff000000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RS) }, { F (F_RD) }, { F (F_OP5) }, { F (F_REL12) }, { 0 } } }; -static const CGEN_IFMT ifmt_bccgrimm8 = { +static const CGEN_IFMT ifmt_bccgrimm8 ATTRIBUTE_UNUSED = { 32, 32, 0xf1000000, { { F (F_OP1) }, { F (F_RM) }, { F (F_OP2M) }, { F (F_IMM8) }, { F (F_OP5) }, { F (F_REL12) }, { 0 } } }; -static const CGEN_IFMT ifmt_bccimm16 = { +static const CGEN_IFMT ifmt_bccimm16 ATTRIBUTE_UNUSED = { 32, 32, 0xf0000000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REL8_4) }, { F (F_IMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_bngrimm4 = { +static const CGEN_IFMT ifmt_bngrimm4 ATTRIBUTE_UNUSED = { 32, 32, 0xff00f000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_IMM4) }, { F (F_RD) }, { F (F_OP5) }, { F (F_REL12) }, { 0 } } }; -static const CGEN_IFMT ifmt_bngrgr = { +static const CGEN_IFMT ifmt_bngrgr ATTRIBUTE_UNUSED = { 32, 32, 0xff00f000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RS) }, { F (F_RD) }, { F (F_OP5) }, { F (F_REL12) }, { 0 } } }; -static const CGEN_IFMT ifmt_bnlmemimm = { +static const CGEN_IFMT ifmt_bnlmemimm ATTRIBUTE_UNUSED = { 32, 32, 0xff008000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_LMEM8) }, { F (F_OP5A) }, { F (F_IMM3B) }, { F (F_REL12) }, { 0 } } }; -static const CGEN_IFMT ifmt_bnhmemimm = { +static const CGEN_IFMT ifmt_bnhmemimm ATTRIBUTE_UNUSED = { 32, 32, 0xff008000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_HMEM8) }, { F (F_OP5A) }, { F (F_IMM3B) }, { F (F_REL12) }, { 0 } } }; -static const CGEN_IFMT ifmt_bcc = { +static const CGEN_IFMT ifmt_bcc ATTRIBUTE_UNUSED = { 16, 16, 0xf000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REL8_2) }, { 0 } } }; -static const CGEN_IFMT ifmt_br = { +static const CGEN_IFMT ifmt_br ATTRIBUTE_UNUSED = { 16, 16, 0xf001, { { F (F_OP1) }, { F (F_REL12A) }, { F (F_OP4B) }, { 0 } } }; -static const CGEN_IFMT ifmt_jmp = { +static const CGEN_IFMT ifmt_jmp ATTRIBUTE_UNUSED = { 16, 16, 0xffe0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3B) }, { F (F_RBJ) }, { F (F_RD) }, { 0 } } }; -static const CGEN_IFMT ifmt_jmpf = { +static const CGEN_IFMT ifmt_jmpf ATTRIBUTE_UNUSED = { 32, 32, 0xff000000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_ABS24) }, { 0 } } }; -static const CGEN_IFMT ifmt_iret = { +static const CGEN_IFMT ifmt_iret ATTRIBUTE_UNUSED = { 16, 16, 0xffff, { { F (F_OP) }, { 0 } } }; @@ -966,23 +966,23 @@ static const CGEN_OPCODE xstormy16_cgen_insn_opcode_table[MAX_INSNS] = #else #define F(f) & xstormy16_cgen_ifld_table[XSTORMY16_/**/f] #endif -static const CGEN_IFMT ifmt_movimm8 = { +static const CGEN_IFMT ifmt_movimm8 ATTRIBUTE_UNUSED = { 16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_IMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_movgrimm8 = { +static const CGEN_IFMT ifmt_movgrimm8 ATTRIBUTE_UNUSED = { 16, 16, 0xf100, { { F (F_OP1) }, { F (F_RM) }, { F (F_OP2M) }, { F (F_IMM8) }, { 0 } } }; -static const CGEN_IFMT ifmt_movgrimm16 = { +static const CGEN_IFMT ifmt_movgrimm16 ATTRIBUTE_UNUSED = { 32, 32, 0xfff00000, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RD) }, { F (F_IMM16) }, { 0 } } }; -static const CGEN_IFMT ifmt_incgr = { +static const CGEN_IFMT ifmt_incgr ATTRIBUTE_UNUSED = { 16, 16, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3A) }, { F (F_IMM2) }, { F (F_RD) }, { 0 } } }; -static const CGEN_IFMT ifmt_decgr = { +static const CGEN_IFMT ifmt_decgr ATTRIBUTE_UNUSED = { 16, 16, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3A) }, { F (F_IMM2) }, { F (F_RD) }, { 0 } } }; diff --git a/opcodes/xstormy16-opc.h b/opcodes/xstormy16-opc.h index f2366cac697..ecc51f42bf9 100644 --- a/opcodes/xstormy16-opc.h +++ b/opcodes/xstormy16-opc.h @@ -2,7 +2,7 @@ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright 1996-2004 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. |