Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved
authorMichael Meissner <gnu@the-meissners.org>
Sat, 25 Nov 1995 01:34:26 +0000 (01:34 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Sat, 25 Nov 1995 01:34:26 +0000 (01:34 +0000)
sim/ppc/ChangeLog

index dfea648ce376be06d5fcbfc983f33db041d5a767..15a9bc64004715a0301e8a7669c5373ab70a17b7 100644 (file)
@@ -1,5 +1,35 @@
 Fri Nov 24 11:24:34 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
 
+       * configure{,.in} (--enable-sim-icache): If argument is define,
+       add -R to flags passed to igen.
+
+       * igen.c (stdlib.h): Include if the system supplies one.
+       (semantics_use_cache_struct): New global for -R flag to say
+       semantics is to use the cache structure directly rather than
+       putting the values into local variables.
+       (first_undef, last_undef): New structures to remember names to
+       #undef if -R.
+       (lf_print_c_extraction): If -R and this is semantics, emit names
+       as #defines pointing to the cache structure, rather than loading
+       the values into local variables.
+       (lf_print_c_semantic_function): If -R, #undef all of the names
+       defined in lf_print_c_extraction.
+       (main): Recognize -R.
+
+       * idecode_fields.h (SPR_*): Redefine spr_* macros as SPR_* to
+       avoid a name confict if -R passed to igen.
+
+       * ppc-instructions (mfspr, mtspr): Rename spr field to SPR.
+       (model_data): Add field to count the various # of CRs that the
+       mtcrf instruction used.
+       (model_mon_info): Return structures counting the # of CRs that the
+       mtcrf instruction used.
+
+       * mon.c (mon_sort_instruction_names): New function to sort
+       instruction names alphabetically.
+       (mon_print_info): Call qsort with mon_sort_instruction_names to
+       sort instruction names.
+       
        * debug.h (ITRACE): Make printf_filtered arguments type correct.
        * idecode_expression.h (CR0_COMPARE): Ditto.
        * psim.c (psim_read_register): Ditto.
This page took 0.024885 seconds and 4 git commands to generate.