summaryrefslogtreecommitdiff
path: root/sim/common/cgen-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/cgen-defs.h')
-rw-r--r--sim/common/cgen-defs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/common/cgen-defs.h b/sim/common/cgen-defs.h
index d3c9a8ae57b..1faa2ee9ddf 100644
--- a/sim/common/cgen-defs.h
+++ b/sim/common/cgen-defs.h
@@ -92,6 +92,15 @@ typedef SCACHE *SEM_PC;
#else
typedef IADDR SEM_PC;
#endif
+
+/* Kinds of branches. */
+typedef enum {
+ SEM_BRANCH_UNTAKEN,
+ /* Branch to an uncacheable address (e.g. j reg). */
+ SEM_BRANCH_UNCACHEABLE,
+ /* Branch to a cacheable (fixed) address. */
+ SEM_BRANCH_CACHEABLE
+} SEM_BRANCH_TYPE;
/* Virtual insn support. */