aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/ppc/ChangeLog7
-rw-r--r--sim/ppc/Makefile.in2
-rw-r--r--sim/ppc/igen.c17
3 files changed, 9 insertions, 17 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index aae1bc2..2502cb5 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,10 @@
+Tue Nov 14 04:47:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * Makefile.in (devices.o): Update dependency.
+
+ * igen.c (gen_model_h): Use correct variable in loop.
+ (lf_print_c_semantic_function_header): Delete unused function.
+
Mon Nov 13 09:14:13 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* igen.c ({insn,model}_table_fields): Spell mnemonic correctly.
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index ccf0ab2..d724371 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -319,7 +319,7 @@ spreg.o: spreg.h spreg.c words.h
main.o: main.c $(PSIM_H) function_unit.h itable.h options.h
-devices.o: devices.c devices.h $(BASICS_H) \
+devices.o: devices.c devices.h $(CPU_H) \
device_tree.h events.h
device_tree.o: device_tree.c device_tree.h devices.h $(BASICS_H)
diff --git a/sim/ppc/igen.c b/sim/ppc/igen.c
index 4eb2310..be84fa8 100644
--- a/sim/ppc/igen.c
+++ b/sim/ppc/igen.c
@@ -2268,21 +2268,6 @@ lf_print_c_semantic(lf *file,
}
static void
-lf_print_c_semantic_function_header(lf *file,
- char *basename,
- insn_bits *expanded_bits)
-{
- lf_printf(file, "\n");
- lf_printf(file, "STATIC_SEMANTICS unsigned_word\n");
- lf_print_function_name(file,
- basename,
- expanded_bits,
- function_name_prefix_semantics);
- lf_printf(file, "\n(%s)\n",
- (idecode_cache ? cache_semantic_formal : semantic_formal));
-}
-
-static void
lf_print_c_semantic_function(lf *file,
insn *instruction,
insn_bits *expanded_bits,
@@ -3084,7 +3069,7 @@ gen_model_h(insn_table *table, lf *file)
lf_printf(file, "\n");
for(macro = model_macros; macro; macro = macro->next) {
- model_c_or_h_data(table, file, insn_ptr->file_entry);
+ model_c_or_h_data(table, file, macro->file_entry);
}
lf_printf(file, "#ifndef INLINE_MODEL\n");