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:
authorBob Wilson <bob.wilson@acm.org>2004-11-13 00:59:13 +0300
committerBob Wilson <bob.wilson@acm.org>2004-11-13 00:59:13 +0300
commit390d719fbbadef9a28883c6b7b2a187c38f13e5c (patch)
treeb0baee6e6686a16d68399df3e9baf1f0214f30eb /include/xtensa-isa.h
parentafaa92f981823c9a1ae32e6abe30aee6d61d9dd8 (diff)
2004-11-12 Bob Wilson <bob.wilson@acm.org>
include/ChangeLog * xtensa-isa-internal.h (xtensa_interface_internal): Add class_id. * xtensa-isa.h (xtensa_interface_class_id): New prototype. bfd/ChangeLog * xtensa-isa.c (xtensa_interface_class_id): New. gas/ChangeLog * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if there is a conflict. (check_t1_t2_reads_and_writes): Check for both reads and writes to interfaces that are related as determined by xtensa_interface_class_id.
Diffstat (limited to 'include/xtensa-isa.h')
-rw-r--r--include/xtensa-isa.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/xtensa-isa.h b/include/xtensa-isa.h
index 2dc11b924..025e31750 100644
--- a/include/xtensa-isa.h
+++ b/include/xtensa-isa.h
@@ -755,6 +755,19 @@ xtensa_interface_inout (xtensa_isa isa, xtensa_interface intf);
extern int
xtensa_interface_has_side_effect (xtensa_isa isa, xtensa_interface intf);
+
+/* Some interfaces may be related such that accessing one interface
+ has side effects on a set of related interfaces. The interfaces
+ are partitioned into equivalence classes of related interfaces, and
+ each class is assigned a unique identifier number. This function
+ returns the class identifier for an interface, or XTENSA_UNDEFINED
+ on error. These identifiers can be compared to determine if two
+ interfaces are related; the specific values of the identifiers have
+ no particular meaning otherwise. */
+
+extern int
+xtensa_interface_class_id (xtensa_isa isa, xtensa_interface intf);
+
/* Functional Units. */