+2000-02-24 Nick Clifton <nickc@cygnus.com>
+
+ * cgen.h (cgen_cpu_desc): Rename field 'flags' to
+ 'signed_overflow_ok_p'.
+ Delete prototypes for cgen_set_flags() and cgen_get_flags().
+
2000-02-24 Andrew Haley <aph@cygnus.com>
* cgen.h (CGEN_INSN_MACH_HAS_P): New macro.
CGEN_INSN_LIST **dis_hash_table;
CGEN_INSN_LIST *dis_hash_table_entries;
- /* Customisation for CGEN operations. */
-#define CGEN_FLAG_SIGNED_OVERFLOW_OK (1 << 0)
- unsigned int flags;
+ /* This field could be turned into a bitfield if room for other flags is needed. */
+ unsigned int signed_overflow_ok_p;
} CGEN_CPU_TABLE;
extern const char * cgen_read_cpu_file
PARAMS ((CGEN_CPU_DESC, const char * filename_));
-/* Set the flags in the CGEN_CPU_DESC. */
-extern void cgen_set_flags PARAMS ((CGEN_CPU_DESC, unsigned int));
-
-/* Read the flags in the CGEN_CPU_DESC. */
-extern unsigned int cgen_get_flags PARAMS ((CGEN_CPU_DESC));
-
/* Allow signed overflow of instruction fields. */
extern void cgen_set_signed_overflow_ok PARAMS ((CGEN_CPU_DESC));