Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-02-25 02:57:23 +0300
committerNick Clifton <nickc@redhat.com>2000-02-25 02:57:23 +0300
commit7620791bd98a7148761eaffbb4d1aee0dfdb3dff (patch)
treece0289837228f3b9834fa0748abcaee44a3cefd4 /include/opcode
parent4d0ce66d1f29f87dce487ba165b7d12b84c7be84 (diff)
Rename 'flags' to 'signed_overflow_ok_p'
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/ChangeLog6
-rw-r--r--include/opcode/cgen.h11
2 files changed, 8 insertions, 9 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index b549903c8..41b7dbbe1 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,9 @@
+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.
diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h
index d46d26897..0cff7c826 100644
--- a/include/opcode/cgen.h
+++ b/include/opcode/cgen.h
@@ -1282,9 +1282,8 @@ typedef struct cgen_cpu_desc
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;
@@ -1388,12 +1387,6 @@ extern void cgen_put_insn_value
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));