]> Git Repo - binutils.git/blobdiff - sim/mips/ChangeLog
Rewrite the MIPS simulator's memory model so that it uses the generic
[binutils.git] / sim / mips / ChangeLog
index 062eb62bee04f0ca462cdcd7b98550fed6a5fb79..7da3d49dd9066725e42318c1d2a7e611e5fe25c8 100644 (file)
@@ -1,3 +1,193 @@
+Wed Nov  5 12:19:56 1997  Andrew Cagney  <[email protected]>
+
+       * sim-main.h (MAX_INSNS, INSN_NAME): Define.
+
+       * interp.c (load_memory, store_memory): Delete parameter RAW.
+       (sim_read, sim_write): Use sim_core_{read,write}_buffer directly
+       bypassing {load,store}_memory.
+
+       * sim-main.h (ByteSwapMem): Delete definition.
+
+       * Makefile.in (SIM_OBJS): Add sim-memopt module.
+
+       * interp.c (sim_do_command, sim_commands): Delete mips specific
+       commands.  Handled by module sim-options.
+               
+       * sim-main.h (SIM_HAVE_FLATMEM): Undefine, use sim-core.o module.
+       (WITH_MODULO_MEMORY): Define.
+
+       * interp.c (sim_info): Delete code printing memory size.
+
+       * interp.c (mips_size): Nee sim_size, delete function.
+       (power2): Delete.
+       (monitor, monitor_base, monitor_size): Delete global variables.
+       (sim_open, sim_close): Delete code creating monitor and other
+       memory regions.  Use sim-memopts module, via sim_do_commandf, to
+       manage memory regions.
+       (load_memory, store_memory): Use sim-core for memory model.
+       
+       * interp.c (address_translation): Delete all memory map code
+       except line forcing 32 bit addresses.
+
+Wed Nov  5 11:21:11 1997  Andrew Cagney  <[email protected]>
+
+       * sim-main.h (WITH_TRACE): Delete definition.  Enables common
+       trace options.
+
+       * interp.c (logfh, logfile): Delete globals.
+       (sim_open, sim_close): Delete code opening & closing log file.
+       (mips_option_handler): Delete -l and -n options.
+       (OPTION mips_options): Ditto.
+
+       * interp.c (OPTION mips_options): Rename option trace to dinero.
+       (mips_option_handler): Update.
+
+Wed Nov  5 09:35:59 1997  Andrew Cagney  <[email protected]>
+
+       * interp.c (fetch_str): New function.
+       (sim_monitor): Rewrite using sim_read & sim_write.
+       (sim_open): Check magic number.
+       (sim_open): Write monitor vectors into memory using sim_write.
+       (MONITOR_BASE, MONITOR_SIZE, MEM_SIZE): Define.
+       (sim_read, sim_write): Simplify - transfer data one byte at a
+       time.
+       (load_memory, store_memory): Clarify meaning of parameter RAW.
+
+       * sim-main.h (isHOST): Defete definition.
+       (isTARGET): Mark as depreciated.
+       (address_translation): Delete parameter HOST.
+
+       * interp.c (address_translation): Delete parameter HOST.
+
+start-sanitize-tx49
+Wed Oct 29 14:21:32 1997  Gavin Koch  <[email protected]>
+
+       * gencode.c: Add tx49 configury and insns.
+       * configure.in: Add tx49 configury.
+       * configure: Update.
+
+end-sanitize-tx49
+Wed Oct 29 11:13:56 1997  Andrew Cagney  <[email protected]>
+
+       * mips.igen: 
+
+       * Makefile.in (IGEN_INCLUDE): Files included by mips.igen.
+       (tmp-igen, tmp-m16): Depend on IGEN_INCLUDE.
+
+Tue Oct 28 11:06:47 1997  Andrew Cagney  <[email protected]>
+
+       * mips.igen: Add model filter field to records.
+
+Mon Oct 27 17:53:59 1997  Andrew Cagney  <[email protected]>
+
+       * Makefile.in (SIM_NO_CFLAGS): Define.  Define WITH_IGEN=0.
+       
+       interp.c (sim_engine_run): Do not compile function sim_engine_run
+       when WITH_IGEN == 1.
+
+       * configure.in (sim_igen_flags, sim_m16_flags): Set according to
+       target architecture.
+
+       Makefile.in (tmp-igen, tmp-m16): Drop -F and -M options to
+       igen. Replace with configuration variables sim_igen_flags /
+       sim_m16_flags.
+
+       end-sanitize-v5900
+       * r5900.igen: New file. Copy v5900 insns here.
+       start-sanitize-r5900
+       end-sanitize-v5400
+       * vr5400.igen: New file. 
+       start-sanitize-vr5400
+       * m16.igen: New file.  Copy mips16 insns here.
+       * mips.igen: From here.
+
+Mon Oct 27 13:53:59 1997  Andrew Cagney  <[email protected]>
+
+       start-sanitize-vr5400
+       * mips.igen: Tag all mipsIV instructions with vr5400 model.
+
+       * configure.in: Add mips64vr5400 target.
+       * configure: Re-generate.
+
+       end-sanitize-vr5400
+       * Makefile.in (SIM_NO_OBJ): Define, move SIM_M16_OBJ, SIM_IGEN_OBJ
+       to top.
+       (tmp-igen, tmp-m16): Pass -I srcdir to igen.
+
+Sat Oct 25 16:51:40 1997  Gavin Koch  <[email protected]>
+
+       * gencode.c (build_instruction): Follow sim_write's lead in using
+       BigEndianMem instead of !ByteSwapMem.
+
+Fri Oct 24 17:41:49 1997  Andrew Cagney  <[email protected]>
+
+       * configure.in (sim_gen): Dependent on target, select type of
+       generator.  Always select old style generator.
+
+       configure: Re-generate.
+
+       Makefile.in (tmp-igen, tmp-m16, clean-m16, clean-igen): New
+       targets.
+       (SIM_M16_CFLAGS, SIM_M16_ALL, SIM_M16_OBJ, BUILT_SRC_FROM_M16,
+       SIM_IGEN_CFLAGS, SIM_IGEN_ALL, SIM_IGEN_OBJ, BUILT_SRC_FROM_IGEN,
+       IGEN_TRACE, IGEN_INSN, IGEN_DC): Define
+       (SIM_EXTRA_CFLAGS, SIM_EXTRA_ALL, SIM_OBJS): Add member
+       SIM_@sim_gen@_*, set by autoconf.
+       
+Wed Oct 22 12:52:06 1997  Andrew Cagney  <[email protected]>
+
+       * sim-main.h (NULLIFY_NEXT_INSTRUCTION, DELAY_SLOT): Define.
+
+       * interp.c (ColdReset): Remove #ifdef HASFPU, check
+       CURRENT_FLOATING_POINT instead.
+
+       * interp.c (ifetch32): New function. Fetch 32 bit instruction.
+       (address_translation): Raise exception InstructionFetch when
+       translation fails and isINSTRUCTION.
+       
+       * interp.c (sim_open, sim_write, sim_monitor, store_word,
+       sim_engine_run): Change type of of vaddr and paddr to
+       address_word.
+       (address_translation, prefetch, load_memory, store_memory,
+       cache_op): Change type of vAddr and pAddr to address_word.
+
+       * gencode.c (build_instruction): Change type of vaddr and paddr to
+       address_word.
+
+Mon Oct 20 15:29:04 1997  Andrew Cagney  <[email protected]>
+
+       * sim-main.h (ALU64_END, ALU32_END): Use ALU*_OVERFLOW_RESULT
+       macro to obtain result of ALU op.
+
+Tue Oct 21 17:39:14 1997  Andrew Cagney  <[email protected]>
+
+       * interp.c (sim_info): Call profile_print.
+
+Mon Oct 20 13:31:20 1997  Andrew Cagney  <[email protected]>
+
+       * Makefile.in (SIM_OBJS): Add sim-profile.o module.
+
+       * sim-main.h (WITH_PROFILE): Do not define, defined in
+       common/sim-config.h.  Use sim-profile module.
+       (simPROFILE): Delete defintion.
+
+       * interp.c (PROFILE): Delete definition.
+       (mips_option_handler): Delete 'p', 'y' and 'x' profile options.
+       (sim_close): Delete code writing profile histogram.
+       (mips_set_profile, mips_set_profile_size, writeout16, writeout32):
+       Delete.
+       (sim_engine_run): Delete code profiling the PC.
+
+Mon Oct 20 13:31:20 1997  Andrew Cagney  <[email protected]>
+
+       * sim-main.h (SIGNEXTEND): Force type of result to unsigned_word.
+
+       * interp.c (sim_monitor): Make register pointers of type
+       unsigned_word*.
+
+       * sim-main.h: Make registers of type unsigned_word not
+       signed_word.
+
 Thu Oct 16 10:31:39 1997  Andrew Cagney  <[email protected]>
 
 start-sanitize-r5900
This page took 0.027131 seconds and 4 git commands to generate.