mips: free up bits in insn_isa_mask

Aldy Hernandez aldyh@redhat.com
Wed Aug 1 04:19:00 GMT 2001


here's a patch to free up 4 more bits from the insn_isa_mask, so we can
use it for further processors.

i'm adding support for another mips variant and we're running out of
bits.  this will free up unused ones.

ok to install?

cheers
aldy

2001-08-01  Aldy Hernandez  <aldyh@redhat.com>

	* opcode/mips.h (INSN_ISA_MASK): Nuke bits 12-15.

Index: mips.h
===================================================================
RCS file: /cvs/src/src/include/opcode/mips.h,v
retrieving revision 1.15
diff -c -p -r1.15 mips.h
*** mips.h      2001/05/23 17:26:39     1.15
--- mips.h      2001/08/01 11:14:30
*************** struct mips_opcode
*** 307,313 ****
     ORs of these bits, indicatingthat they support the instructions
     defined at the given level.  */

! #define INSN_ISA_MASK           0x0000ffff
  #define INSN_ISA1                 0x00000010
  #define INSN_ISA2                 0x00000020
  #define INSN_ISA3                 0x00000040
--- 307,313 ----
     ORs of these bits, indicatingthat they support the instructions
     defined at the given level.  */

! #define INSN_ISA_MASK           0x00000fff
  #define INSN_ISA1                 0x00000010
  #define INSN_ISA2                 0x00000020
  #define INSN_ISA3                 0x00000040


--
Aldy Hernandez					E-mail: aldyh@redhat.com
Professional Gypsy and Camel Trader
Red Hat, Inc.



More information about the Binutils mailing list