include/ChangeLog 2003-12-02 Kazuhiro Inaoka * elf/m32r.h : Add new machine type m32r2 and instruction modes. Index: include/elf/m32r.h =================================================================== RCS file: /cvs/src/src/include/elf/m32r.h,v retrieving revision 1.5 diff -c -r1.5 m32r.h *** include/elf/m32r.h 14 Mar 2001 02:27:44 -0000 1.5 --- include/elf/m32r.h 2 Dec 2003 08:56:12 -0000 *************** *** 63,67 **** --- 63,87 ---- #define E_M32R_ARCH 0x00000000 /* m32rx code. */ #define E_M32RX_ARCH 0x10000000 + #define E_M32RX_ARCH 0x10000000 + /* m32r2 code. */ + #define E_M32R2_ARCH 0x20000000 + + /* 12 bit m32r new instructions field. */ + #define EF_M32R_INST 0x0FFF0000 + /* parallel instructions */ + #define E_M32R_HAS_PARALLEL 0x00010000 + /* hidden instructions for m32rx: + jc, jnc, macwhi-a, macwlo-a, mulwhi-a, mulwlo-a, sth+, shb+, sat, pcmpbz, + sc, snc */ + #define E_M32R_HAS_HIDDEN_INST 0x00020000 + /* new bit instructions: + clrpsw, setpsw, bset, bclr, btst */ + #define E_M32R_HAS_BIT_INST 0x00040000 + /* floating point instructions */ + #define E_M32R_HAS_FLOAT_INST 0x00080000 + + /* 4 bit m32r ignore to check field. */ + #define EF_M32R_IGNORE 0x0000000F #endif