📄 changelog.00
字号:
* vm.c (om_virtual_to_real): Print pte_word_{0,1} so the compiler doesn't complain that they're unused. * vm_n.h (vm_data_map_read_N): Delete unused variable rval. Mon Nov 6 23:15:54 1995 Andrew Cagney <cagney@highland.com.au> * sim-endian.c (ppc-endian.c), sim-endian.h (ppc-endian.h): renameed. These files are target independant. * Makefile.in, basics.h: update for new name. * sim-endian.h (SWAP_N), sim-endian.c (_SWAP_1): Rename existing SWAP_<N> to _SWAP_<N> so that sim-endian.h can contain SWAP_N macro's as required. * sim-endian.c, sim-endian-n.h (new file): Move endian code into a debugable header file. * ppc-instructions (Byte-Reverse): Enable byte reverse instructions using SWAP_N macros.Mon Nov 6 10:39:28 1995 Michael Meissner <meissner@tiktok.cygnus.com> * Makefile.in (config.status): Remove references to config.make and config.hdr. * config.{make,hdr}: Delete, no longer used. * build-psim: Ditto.Mon Nov 6 20:49:56 1995 Andrew Cagney <cagney@highland.com.au> * sim_calls.c (sim_open): Fix parsing of `target sim' options. * device_tree.c (device_tree_add_string): Wasn't saving the value of the string being entered into the tree. * psim.c (create_filed_device_tree): Not terminating string device names with a null. * psim.c (psim_create): Use `env' instead of `environment-architecture' to be consistent with configure. Reconize user/uea, virtual/vea and operating/oea.Sat Nov 4 12:29:45 1995 Fred Fish <fnf@cygnus.com> * core.c: Rename to corefile.c * core.h: Rename to corefile.h * inline.c: Include corefile.h, renamed from core.h. * cpu.h: Include corefile.h, renamed from core.h * vm.c: Include corefile.h, renamed from core.h * corefile.c: Include corefile.h rather than core.h * README.psim (KNOWN PROBLEMS): Change core.* references to corefile.* references. * Makefile.in (CPU_H): Change core.h to corefile.h (vm.o): Change dependency to corefile.h (LIB_SRC): Change core.c to corefile.c. (LIB_OBJ): Change core.o to corefile.o. (corefile.o): Change dependencies to corefile.c, corefile.h.Fri Nov 3 11:37:24 1995 Michael Meissner <meissner@tiktok.cygnus.com> * ppc-instructions (data cache instructions): Make all data cache instructions nops instead of invalid instructions. * Makefile.in (CONFIG_CFLAGS): Add ALIGNMENT_CFLAGS and TIMEBASE_CFLAGS which weren't included.Thu Nov 2 08:54:04 1995 Michael Meissner <meissner@tiktok.cygnus.com> * Makefile.in: Uncomment built file dependencies. * configure.in: Rewrite --enable-sim switch handling to use the autoconf builtins so it works correctly if the configure or Makefile.in files are modified and make decides to rebuild Makefile. Also document all of the --enable-sim switches supported. Check whether getrusage and sys/resource.h are supported. * config.in: Regenerate. * configure: Regenerate. * Makefile.in: Add support for all of the variables set with --enable-sim switches. * Makefile.in (clean): make clean now removes all built sources as well. * cpu.c: Use HAVE_STRING_H, HAVE_STRINGS_H, HAVE_UNISTD_H, HAVE_TIME_H, HAVE_SYS_TIMES_H, HAVE_SYS_RESOURCE_H defined in the generated config.h. * debug.c: Ditto. * device_tree.c: Ditto. * devices.c: Ditto. * dgen.c: Ditto. * emul_netbsd.c: Ditto. * igen.c: Ditto. * lf.c: Ditto. * misc.c: Ditto. * psim.c: Ditto. * registers.c: Ditto. * sim_calls.c: Ditt. * table.c: Ditto. * main.c (main): Call psim_print_info with verbose == 2. * mon.c (mon_print_info): Align the cpu number and number of instructions fields. Do not print an instruction category if the CPU did not execute any of those instructions. Print out number of reads and writes. If getrusage is supported, print out number of simulated instructins per second. * configure.in: Add support for --enable-sim-opcode=stupid. * configure: Regenerate.Wed Nov 1 23:46:59 1995 Andrew Cagney <cagney@highland.com.au> * std-config (INLINE_DEVICE_TREE): Don't inline either of device_tree.c or devices.c. There is no significant gain. * configure.in, Makefile.in: add --enable-sim-icache=[0-9]* and IGEN_ICACHE macro. Wed Nov 1 23:46:59 1995 Andrew Cagney <cagney@highland.com.au> * igen.c (main), misc.h (target_a2i, i2target), misc.c: Add functions to convert between target and igen internal bit numbers. Make IO go through these functions. Add -b (bit size) and -h (high bit nr) options to igen. Typical usage would be: ./igen -b 16 -h 15 for a 16 bit instruction format with the msb given a number 15.Wed Nov 1 22:17:32 1995 Andrew Cagney <cagney@highland.com.au> * dgen.c (main): Was outputting optarg even when it was NULL.Tue Oct 31 23:48:33 1995 Andrew Cagney <cagney@highland.com.au> * vm_n.h (vm_data_map_load_N, vm_data_map_store_n), debug.h, debug.c: Add tracing of load/store unit (virtual) with -t load-store.Tue Oct 31 21:44:01 1995 Andrew Cagney <cagney@highland.com.au> * std-config.h (WITH_ENVIRONMENT): Add USER_ENVIRONMENT which does not include things such as the time base and events. * interrupt.c, sim_calls.c, cpu.h, vm.c, configure.in: Add UEA to all environment switches for above. * psim.c (psim_create): ditto - new device tree node name is /options/environment-architecture with values user, virtual and operating.Tue Oct 31 21:31:32 1995 Andrew Cagney <cagney@highland.com.au> * ppc-opcode-stupid: Third example of use of opcode table - this one expands all mtspr/mfspr and branch instructions. Appears to give about a 10% gain in performance if everything enabled. Also takes about 150mb of swap to build.Wed Nov 1 10:49:48 1995 Michael Meissner <meissner@tiktok.cygnus.com> * emul_netbsd.c (do_exit): Print arguments and close parenthesis if tracing, since exit doesn't go through emul_exit_call. (do_read): Print arguments if tracing. (do_write): Ditto. (do_open): Ditto. (do_break): Ditto. (do_kill): Ditto. (do_dup): Ditto. (do_sigprocmask): Replace trace with printing arguments if tracing. (do_ioctl): Print arguments if tracing. (do_umask): Ditto. (do_dup2): Ditto. (do_fcntl): Ditto. (do_gettimeofday): Ditto. (do_getrusage): Ditto. (do_fstatfs): Ditto. * filter_filename.c: New file to provide filter_filename to strip the directory prefix from a file. * filter_filename.h: New include file to declare filter_filename. * debug.h: Include filter_filename.h. (TRACE,DTRACE,ERROR): Use filter_filename on __FILE__. * misc.h: Include filter_filename.h. (ASSERT): Use filter_filename on __FILE__. * igen.c (lf_print_my_prefix): Use filter_filename on the filename argument. * Makefile.in: Add filter_filename support. * ppc-instructions (dcbi, icbi): Make these NOPs rather than invalid instructions. * configure.in: Add support for more --enable-sim-* switches. Use config.make and config.hdr to write to Makefile and config.h respectively. Don't rewrite Makefile, just append to it. * configure: Regenerate. * config.{make,hdr}: New shell scripts. * Makefile.in: Remove all variables set by configure.in. (psim.o): Depend on $(BUILT_SRC) also. * emul_netbsd.c (do_gettimeofday,do_getrusage): When comparing an integer, use 0, not NULL.Tue Oct 31 15:20:04 1995 Michael Meissner <meissner@tiktok.cygnus.com> * configure.in: Add support for --enable-sim-inline, --enable-sim-bswap, --enable-sim-cflags, --enable-sim-complex, --enable-sim-switch, --enable-sim-duplicate, --enable-sim-filter, and --enable-sim-endian switch to control various Makefile variables. * configure: Regenerate from configure.in. * Makefile.in: Add various Make variables that the various switches alter. * std-config.h (DEFAULT_INLINE): Don't set this to 2 if using GCC and optimizing by default.Fri Oct 27 19:26:27 1995 Andrew Cagney <cagney@highland.com.au> * bits.h (ROTL32, ROTL64): Were functions, made them macros, now make them functions again. Appears 2.6.3 is confused by just a macro.Thu Oct 26 18:31:58 1995 Andrew Cagney <cagney@highland.com.au> * ppc-endian.c (SWAP_8): Fix 8 byte swap! * psim.c (psim_create): Not correctly checking that runtime configuration of things like ENDIAN, ENVIRONMENT and ALIGNMENT matched the compiled in ones. * debug.h (ITRACE), igen.c: Tidy up more tracing flags - trace_semantics is now different to trace_idecode, the former checks the cache. Tue Oct 24 21:54:13 1995 Andrew Cagney <cagney@highland.com.au> * ppc-instructions (mtsrin): Missing instruction * ppc-instructions (mfsrin): Missing instruction * ppc-instructions (eieio): Missing instructionTue Oct 24 20:55:29 1995 Andrew Cagney <cagney@highland.com.au> * build-psim: New shell script - see internals for usage, simplifies the process of building custom simulators.Mon Oct 23 23:48:59 1995 Andrew Cagney <cagney@highland.com.au> * std-config.h (SEMANTICS_INLINE): Tidy up notes on each of the INLINE macros. Make SEMANTICS_INLINE == 1 if DEFAULT_INLINE == 2. Don't use DEFAULT_INLINE to define REGISTERS_INLINE DEVICES_INLINE DEVICE_TREE_INLINE or INTERRUPTS_INLINE as none of these are on the instruction or data critical paths. * FIXME: devices.c/emul_netbsd.c would benefit (slightly) from the inclusion of device_tree.c/emul_generic.c.Mon Oct 23 00:31:50 1995 Andrew Cagney <cagney@highland.com.au> * os_emul.[hc], emul_generic.[hc], emul_netbsd.[hc]: replace system.[hc]. Start of suport for multiple emulations and emulation state (os_emul object). * emul_generic.[hc]: Start of code to implement proper system call tracing (from spy).Sun Oct 22 21:33:51 1995 Andrew Cagney <cagney@highland.com.au> * cpu.h, cpu.c (cpu_init): New function, zero the registers before the processor is started. Fixes problem of registers being undefined when restarting from within gdb. * cpu.h, cpu.c (cpu_flush_icache): New function, flushes the instruction cache (if present). Fixes problem of cpu caching gdb breakpoint instructions. FIXME: PSIM sometimes aborts calling error(), it should instead call sim_error() say which takes care of housekeeping such as saving the CIA before calling error. * NOTE: cpu_flush_cache() instead of cpu_synchronize_context() is used when restarting a simulation because the latter has the unwanted side effect (well I as a kernel hacker think it is) of performing an isync when the instruction stream doesn't contain one.Sun Oct 22 19:27:48 1995 Andrew Cagney <cagney@highland.com.au> * mon.h (new), mon.c (new), std-config.h (WITH_MON): Performance monitoring module. Counts both instructions issued and load/stores. * NOTE: mon does not contain to count instruction loads as this information is already available from the mon_issue() hook. * igen.c (lf_print_c_semantic), vm_n.h: Add counting code. * psim.h, psim.c (psim_create), cpu.h, cpu.c (cpu_create): Attach a common monitor to each of the cpus. Delete cpu_increment_number_of_insns() and cpu_get_number_of_insns() replaced by copied code in mon.[hc].Sun Oct 22 18:42:45 1995 Andrew Cagney <cagney@highland.com.au> * sim_calls.c, main.c, psim.c (psim_create): always create `WITH_SMP' cpus. The actual number of CPU's active in a simulation run is taken from the device node: /init/smp (an integer). WITH_SMP changed to 2 (remember to put it back to 0).Fri Oct 20 17:26:54 1995 Andrew Cagney <cagney@highland.com.au> * system.c: More system call emulation. If code appears NetBSD specific, make conditional to being compiled on a NetBSD system (sigh).Wed Oct 18 23:02:20 1995 Andrew Cagney <cagney@highland.com.au> * Makefile.in, gen.c(delete), igen.c(new), dgen.c(new), lf.[ch](new), table.[ch](new): Split into two generators - igen that outputs the instruction tables and dgen that outputs the spr tables. Add -f (filter out) flag to igen to filter out certain instructions (ex 64 bit ones) from the created tables. Include $(LIBIBERTY_LIB) in link options in case host lacks some libc functions. * NOTE: igen, since it was originally written for the PowerPC/RS6000, things the MSB is 0 and the LSB is 63{31}. * Makefile.in, std-config.h, ppc-cache-rules(new), ppc-opcode-complex(new), ppc-opcode-simple(new): (for igen) Create cache-rule and opcode-rule tables from macros found std-config.h. Delete corresponding macro's from std-config.h. * igen.c (gen_itable_c, gen_itable_h), Makefile.in: code to output an table of all the instructions. Code to output a type enumerating all the instructin names. * igen.c(lf_print_c_semantic): Move call to increment instruction counter so that it occures _after_ the instruction has been fully valid
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -