X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fsh%2FChangeLog;h=9d3cf44132d6f82eb6b171202be75d10259e1d10;hb=8b8c7c9f49992750f66f81b4601d593a3858d98c;hp=16d3563b0db1e128802e4e3e8c2c039c0e501825;hpb=3725885a6563fe9c77b251ab5328633279fdeafa;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 16d3563b0d..9d3cf44132 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -1,3 +1,356 @@ +2016-04-10 Oleg Endo + + * interp.c (dmul): Split into dmul_s and dmul_u. Use explicit integer + width types and simplify implementation. + * gencode.c (dmuls.l, dmulu.l): Use new functions dmul_s and dmul_u. + +2016-04-09 Oleg Endo + + * interp.c (sim_memory_size): Default init to 30. + (parse_and_set_memory_size): Adjust upper bound to 31. + +2016-01-10 Mike Frysinger + + * config.in, configure: Regenerate. + +2016-01-10 Mike Frysinger + + * configure: Regenerate. + +2016-01-10 Mike Frysinger + + * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call. + * configure: Regenerate. + +2016-01-10 Mike Frysinger + + * configure: Regenerate. + +2016-01-10 Mike Frysinger + + * configure: Regenerate. + +2016-01-10 Mike Frysinger + + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. + * configure: Regenerate. + +2016-01-10 Mike Frysinger + + * configure: Regenerate. + +2016-01-10 Mike Frysinger + + * configure: Regenerate. + +2016-01-09 Mike Frysinger + + * config.in, configure: Regenerate. + +2016-01-06 Mike Frysinger + + * interp.c (sim_open): Mark argv const. + (sim_create_inferior): Mark argv and env const. + +2016-01-04 Mike Frysinger + + * configure: Regenerate. + +2016-01-03 Mike Frysinger + + * interp.c (sim_open): Update sim_parse_args comment. + +2016-01-03 Mike Frysinger + + * interp.c (count_argc): Delete. + (trap): Change count_argc to countargv. + +2016-01-03 Mike Frysinger + + * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. + * configure: Regenerate. + * interp.c (host_little_endian): Change CURRENT_HOST_BYTE_ORDER + to HOST_BYTE_ORDER. + +2016-01-02 Mike Frysinger + + * configure: Regenerate. + * interp.c (target_little_endian): Change LITTLE_ENDIAN to + BFD_ENDIAN_LITTLE. + (host_little_endian): Likewise. + +2015-12-30 Mike Frysinger + + * wrapper.c (sim_store_register): Rename to ... + (sh_reg_store): ... this. + (sim_fetch_register): Rename to ... + (sh_reg_fetch): ... this. + (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. + +2015-12-27 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-hload.o. + +2015-12-26 Mike Frysinger + + * config.in, configure: Regenerate. + +2015-11-21 Mike Frysinger + + * gencode.c (tab): Pass sd into trap calls. + * interp.c (prog_argv, callback): Delete. + (parse_and_set_memory_size): Add SIM_DESC arg. + (trap): Declare callback and prog_argv. + (sim_resume): Declare callback. + (sim_info): Change callback->printf_filtered calls to sim_io_printf. + (sim_open): Delete callback assignment. Pass sd to + parse_and_set_memory_size. + (parse_and_set_memory_size): Change callback->printf_filtered call + to sim_io_printf. + (sim_create_inferior): Delete prog_argv assignment. + (sim_do_command): Change callback->printf_filtered calls to + sim_io_printf. Pass sd to parse_and_set_memory_size. + +2015-11-15 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-stop.o. + +2015-11-14 Mike Frysinger + + * interp.c (sim_close): Delete. + +2015-06-23 Mike Frysinger + + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * configure: Regenerate. + +2015-04-18 Mike Frysinger + + * sim-main.h (SIM_CPU): Delete. + +2015-04-18 Mike Frysinger + + * sim-main.h (sim_cia): Delete. + +2015-04-17 Mike Frysinger + + * sim-main.h (CIA_GET, CIA_SET): Delete. + +2015-04-17 Mike Frysinger + + * interp.c (sh_pc_get, sh_pc_set): New functions. + (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. + +2015-04-15 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-cpu.o. + * sim-main.h (STATE_CPU): Delete. + +2015-04-13 Mike Frysinger + + * configure: Regenerate. + +2015-04-06 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-engine.o. + +2015-03-31 Mike Frysinger + + * config.in, configure: Regenerate. + +2015-03-28 Mike Frysinger + + * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete. + (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS). + * interp.c: Delete run-sim.h include. Include sim-main.h, sim-base.h, + and sim-options.h. + (SEXT, SEXT32): Undefine. + (sim_write): Delete prototype. + (regstacktype, saved_state_type): Move to sim-main.h. + (target_little_endian): Replace with CURRENT_TARGET_BYTE_ORDER. + (host_little_endian): Replace with CURRENT_HOST_BYTE_ORDER. + (sim_kind, myname, tracing, sim_stop, sim_trace, sim_set_profile, + sim_set_profile_size, sim_load, sim_set_callbacks, + sim_complete_command): Delete. + (sim_size): Mark static. + (init_pointers): Delete host_little_endian setup. + (sim_resume): Delete tracing check. + (free_state): New cleanup function. + (sim_open): Rewrite to use new common logic. + (sim_create_inferior): Call init_dsp. + * sim-main.h: New file. + * tconfig.h: Delete file. + +2015-03-28 Mike Frysinger + + * gencode.c (ppi_gensim): Convert old style prototype with ppi_insn. + * interp.c: Include ctype.h and run-sim.h. + [HAVE_TIME_H]: Include time.h + [HAVE_SYS_TIME_H]: Include sys/time.h + [!_WIN32]: Include utime.h and sys/wait.h. + (set_fpscr1, raise_exception, raise_buserror, get_dr, set_dr, set_sr, + do_rdat, do_wdat, process_wlat_addr, process_wwat_addr, + process_wbat_addr, process_rlat_addr, process_rwat_addr, + process_rbat_addr, IOMEM, get_now, now_persec, swapout, swapout16, + ptr, strswaplen, strnswap, dmul, macw, macl, get_loop_bounds_ext, + get_loop_bounds, sim_size, init_dsp, init_pointers, dump_profile, + gotcall, sim_stop, sim_write, sim_read, sim_store_register, + sim_fetch_register, sim_trace, sim_stop_reason, sim_info, + sim_set_profile, sim_set_profile_size, sim_open, + parse_and_set_memory_size, sim_close, sim_load, sim_create_inferior, + sim_do_command, sim_set_callbacks): Convert old style prototype. + (fail): Delete unused function. + (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast): + Delete unused prototypes. + (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast, + swap, swap16): + Convert old style prototype and move INLINE before the type. + (trap): Convert old style prototype. Add casts to wait and sim_write + calls. + (div1): Convert old style prototype. Change return to void. + (do_long_move_insn, do_blog_insn, fsca_s, fsrra_s, mcalloc): Mark + static. + (sim_resume): Convert old style prototype. Align printf format and + args. + +2015-03-28 Mike Frysinger + + * gencode.c (ppi_gensim): Add missing */. Change case 4 to case 5. + +2015-03-28 Mike Frysinger + + * Makefile.in (gencode): Add $(BUILD_CFLAGS), $(BUILD_LDFLAGS), + and $(WARN_CFLAGS). + * gencode.c: Include ctype.h, stdlib.h, string.h, and unistd.h. + (struct op): Mark members const. + (tab): Mark static. + (nibble_type_list): Mark const. + (arg_type_list): Mark const. + (make_enum_list): Delete unused func. + (qfunc, expand_opcode, dumptable, expand_ppi_code): Convert old + style prototype and mark args const. + (sorttab, gengastab, conflict_warn, filltable, expand_ppi_movxy, + gensim, ppi_filltable): Convert old style prototype. + (gensim_caselist): Convert old style prototype. Mark local + variables s and r const. + (gendefines): Convert old style prototype. Mark s const. Move + tolower call into printf statement. + (ppi_gensim): Convert old style prototype. Mark local variable + s const. + (main): Convert old style prototype. Change printf %d to %zu. + +2015-03-28 Mike Frysinger + + * config.in, configure: Regenerate. + * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT, + SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, + SIM_AC_OPTION_INLINE, SIM_AC_OPTION_WARNINGS. + +2015-03-16 Mike Frysinger + + * config.in, configure: Regenerate. + * tconfig.in: Rename file ... + * tconfig.h: ... here. + +2015-03-14 Mike Frysinger + + * Makefile.in (SIM_EXTRA_CFLAGS): Set to + -DSIM_USE_DEPRECATED_RUN_FRONTEND. + (SIM_RUN_OBJS): Set to run.o. + +2015-03-14 Mike Frysinger + + * configure.ac (AC_CHECK_HEADERS): Delete. + * aclocal.m4, configure: Regenerate. + +2014-10-14 Oleg Endo (tiny patch) + + * gencode.c (fabs, fneg): Implement as integer operation + instead of using the FP_UNARY macro. + +2014-08-19 Alan Modra + + * configure: Regenerate. + +2014-08-15 Roland McGrath + + * configure: Regenerate. + * config.in: Regenerate. + +2014-03-10 Mike Frysinger + + * interp.c (parse_and_set_memory_size): Add const to str. + (sim_do_command): Add const to cmd and sms_cmd. + +2014-03-05 Mike Frysinger + + * interp.c (sim_load): Add const to prog. + +2014-02-17 Mike Frysinger + + PR gdb/16450 + * interp.c (control_c): Delete. + (sim_resume): Delete signal(SIGINT) handling. + +2013-09-23 Alan Modra + + * configure: Regenerate. + +2013-06-03 Mike Frysinger + + * aclocal.m4, configure: Regenerate. + +2012-06-15 Joel Brobecker + + * config.in, configure: Regenerate. + +2012-03-24 Mike Frysinger + + * aclocal.m4, config.in, configure: Regenerate. + +2012-02-16 Kevin Buettner + + * interp.c (MA): Adjust cast to avoid warning on 64-bit hosts. + + * interp.c (sim_store_register, sim_fetch_register): Return + length, not -1. + +2011-12-03 Mike Frysinger + + * aclocal.m4: New file. + * configure: Regenerate. + +2011-10-17 Mike Frysinger + + * configure.ac: Change include to common/acinclude.m4. + +2011-10-17 Mike Frysinger + + * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER + call. Replace common.m4 include with SIM_AC_COMMON. + * configure: Regenerate. + +2011-04-16 Mike Frysinger + + * interp.c (sim_complete_command): New stub function. + +2010-04-14 Mike Frysinger + + * interp.c (sim_write): Add const to buffer arg. + +2010-01-12 Masaki Muranaka + + * interp.c: Don't include sysdep.h. + Include stdio.h and errno.h. + Include string.h strings.h stdlib.h sys/stat.h if present. + 2010-01-09 Ralf Wildenhues * configure: Regenerate. @@ -15,8 +368,8 @@ * config.in: Ditto. 2008-06-06 Vladimir Prus - Daniel Jacobowitz - Joseph Myers + Daniel Jacobowitz + Joseph Myers * configure: Regenerate. @@ -163,7 +516,7 @@ * gencode.c: (op tab): Some refs and defs fixes. "fsrra" -> "fsrra ". "sleep": replace array ref with array addr. - "trapa": ditto. + "trapa": ditto. Comment and whitespace clean-ups. 2004-01-07 Michael Snyder @@ -175,7 +528,7 @@ (op tab): Add new instructions for sh4a, DBR, SBR. (expand_opcode): Add handling for new movxy combinations. (gensym_caselist): Ditto. - (expand_ppi_movxy): Remove movx/movy expansions, + (expand_ppi_movxy): Remove movx/movy expansions, now handled in expand_opcode. (gensym): Add some helpful macros. (expand_ppi_code): Flatten loop for simplicity, tweak for 12-bit @@ -186,7 +539,7 @@ (union saved_state_type): Add dbr, sgr, ldst. (get_loop_bounds_ext): New function. (init_dsp): Add bfd_mach_sh4al_dsp. - (sim_resume): Handle extended loop bounds. + (sim_resume): Handle extended loop bounds. 2003-12-18 Michael Snyder @@ -211,10 +564,10 @@ * syscall.h (SYS_truncate, SYS_ftruncate): Define. * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate. -2003-08-11 Shrinivas Atre - * sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and +2003-08-11 Shrinivas Atre + * sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and correction for MAC.W handler - * sim/sh/interp.c ( macl ): New Function. Implementation of + * sim/sh/interp.c ( macl ): New Function. Implementation of MAC.L handler. 2003-08-07 Michael Snyder @@ -225,7 +578,7 @@ * gencode.c (pshl): Change < to <= (shift by 16 is allowed). Cast argument of >> to unsigned to prevent sign extension. - (psha): Change < to <= (shift by 32 is allowed). + (psha): Change < to <= (shift by 32 is allowed). 2003-07-24 Michael Snyder @@ -489,7 +842,7 @@ Wed Aug 25 07:55:23 1999 Brendan Kehoe 1999-05-08 Felix Lee * configure: Regenerated to track ../common/aclocal.m4 changes. - + 1999-04-02 Keith Seitz * interp.c (POLL_QUIT_INTERVAL): Define. Used to tweak the @@ -510,7 +863,7 @@ Mon Jun 29 19:35:24 1998 Jason Molenda (crash@bugshack.cygnus.com) Tue Apr 28 18:33:31 1998 Geoffrey Noer - * configure: Regenerated to track ../common/aclocal.m4 changes. + * configure: Regenerated to track ../common/aclocal.m4 changes. Sun Apr 26 15:31:55 1998 Tom Tromey @@ -641,20 +994,20 @@ Mon Jun 23 15:49:14 1997 Andrew Cagney * interp.c (get_dr): Avoid SIGFPE by moving integers instead of FP's around. (set_dr): Ditto. - + Mon Jun 23 15:02:40 1997 Andrew Cagney * interp.c (XD, SET_XD): Delete. (XF, SET_XF, XD_TO_XF): Define, move around registers in either FP bank. - + * gencode.c (fmov): Update. Sun Jun 22 19:33:33 1997 Andrew Cagney * interp.c (set_fpscr1): From J"orn Rennecke , Fix typo. Ditto for comment. - + Tue Aug 12 00:19:11 1997 J"orn Rennecke * interp.c (special_address): New function. @@ -686,7 +1039,7 @@ Mon Jun 16 14:01:55 1997 Andrew Cagney endian problems. * gencode.c (tab): Update. - + Sun Jun 15 15:22:52 1997 Andrew Cagney * gencode.c (main): Perform basic checks on tab entries. @@ -705,7 +1058,7 @@ Sat Jun 14 13:45:09 1997 Andrew Cagney (Delay_Slot): Rename from SL. * gencode.c (tab): Update/simplify. - + * gencode.c (gensim): Better formatting of output code. (gensim): Replace 10 with constant MAX_NR_STUFF- define as 15. (tab): Sort alphabetically. Break `stuff' into multiple lines. @@ -727,13 +1080,13 @@ Thu Jun 5 12:56:08 1997 J"orn Rennecke Wed May 28 23:42:35 1997 J"orn Rennecke - * gencode.c (swap.b): Fix treatment of high word. + * gencode.c (swap.b): Fix treatment of high word. Wed May 28 23:42:35 1997 J"orn Rennecke - * sh/gencode.c, - * interp.c: experimental SH4 support. - DFmode moves are probaly broken for target little endian. + * sh/gencode.c, + * interp.c: experimental SH4 support. + DFmode moves are probaly broken for target little endian. Tue May 20 10:23:28 1997 Andrew Cagney @@ -854,7 +1207,7 @@ Wed Nov 20 02:04:32 1996 Doug Evans * interp.c: #include "config.h". #include if present. (trap): Fetch errno value with callback->get_errno. -Tue Nov 12 13:34:00 1996 Dawn Perchik +Tue Nov 12 13:34:00 1996 Dawn Perchik * interp.c: Don't include windows polling code if inside simluator. @@ -867,12 +1220,12 @@ Fri Sep 20 14:57:50 1996 Stan Shebs Wed Jun 26 12:29:22 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, - INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. - (docdir): Removed. - * configure.in (AC_PREREQ): autoconf 2.5 or higher. - (AC_PROG_INSTALL): Added. - * configure: Rebuilt. + * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, + INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. + (docdir): Removed. + * configure.in (AC_PREREQ): autoconf 2.5 or higher. + (AC_PROG_INSTALL): Added. + * configure: Rebuilt. Thu May 16 15:44:29 1996 Ian Lance Taylor @@ -926,7 +1279,7 @@ Sat Oct 21 13:01:18 1995 Jim Wilson * sh/interp.c (sim_stop_reason): Catch SIGQUIT and indicate program exited. (sim_get_quit_code): Delete. - + * gencode.c (gensim): Indicate SIGILL instead of calling abort for default case. @@ -943,10 +1296,10 @@ Fri Oct 6 12:08:18 1995 Jim Wilson * interp.c (trap, case SYS_utime): Cast second arg of utime to void * to avoid compiler error. - + * interp.c (callback): Remove last change. It is initialized by a sim_set_callbacks call. - + Thu Oct 5 14:13:29 1995 steve chamberlain * interp.c (callback): Initialize to default callback. @@ -978,7 +1331,7 @@ Thu Sep 14 19:32:59 1995 Stu Grossman (grossman@cygnus.com) * gencode.c: Back up PC by 2 for breakpoints. * interp.c: Move fp regs beyond pc/pr/etc to avoid confusing GDB, - which expect pc to immediatly follow regs[]. + which expect pc to immediately follow regs[]. Fri Sep 8 14:18:13 1995 Ian Lance Taylor @@ -1049,7 +1402,7 @@ Tue Jul 18 23:33:10 1995 Fred Fish Wed Jul 5 14:32:54 1995 J.T. Conklin * Makefile.in (clean): Remove run, libsim.a. - (distclean, mostlyclean, realclean): Remove Makefile and + (distclean, mostlyclean, realclean): Remove Makefile and autoconf files. * sh.mt: Removed. @@ -1091,7 +1444,7 @@ Wed May 24 14:07:11 1995 Steve Chamberlain Mon Apr 24 15:09:49 1995 Jason Molenda (crash@cygnus.com) - * configure.in: use ../../bfd/hosts/std-host.h, not + * configure.in: use ../../bfd/hosts/std-host.h, not ../bfd/hosts/std-host.h (which doesn't exist). Mon Mar 27 10:32:34 1995 J.T. Conklin @@ -1160,7 +1513,7 @@ Thu Sep 8 17:35:07 1994 Steve Chamberlain (sac@jonny.cygnus.com) * interp.c (RSBAT): Sign extend the arg. (ACE_FAST): New macro. (sim_resume): Remove obsolete test of sim_timeout. - + Fri Aug 5 14:12:31 1994 Steve Chamberlain (sac@jonny.cygnus.com) * interp.c (IOMEM): New function, simulates very basic I/O area of @@ -1192,15 +1545,15 @@ Wed May 18 14:18:53 1994 Doug Evans (dje@canuck.cygnus.com) Wed Apr 27 12:03:48 1994 Steve Chamberlain (sac@cygnus.com) * gencode.c (table): Get direction of some opcodes right. - (trapa, rte): Implement fully. + (trapa, rte): Implement fully. * interp.c (trap): Make stat call more portable. Fri Feb 11 21:59:38 1994 Steve Chamberlain (sac@sphagnum.cygnus.com) * gencode.c (main, gendefines): New -d option prints table of defines. - * interp.c (trap): Add a load of system calls. + * interp.c (trap): Add a load of system calls. (sim_memory_size): Now default to 8Mbyte. - (PARANOID): Keep vector of registers with undefined contents. + (PARANOID): Keep vector of registers with undefined contents. Mon Nov 15 14:37:18 1993 Steve Chamberlain (sac@jonny.cygnus.com) @@ -1257,7 +1610,7 @@ Tue Jul 6 10:30:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) Thu Jun 24 13:29:57 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) * Makefile.in: don't run indent everytime; also add a space in the - includes + includes Thu Jun 17 18:30:42 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) @@ -1272,7 +1625,7 @@ Wed May 5 13:17:22 1993 Steve Chamberlain (sac@cygnus.com) Mon May 3 15:25:33 1993 Steve Chamberlain (sac@thepub.cygnus.com) - * run.c (main): Support for resizing simulated RAM. + * run.c (main): Support for resizing simulated RAM. * Makefile.in: Support for broken makes. * interp.c, gencode.c: Lint.