[PATCH] sim: make sure to include strsignal prototype
[binutils-gdb.git] / sim / bfin / ChangeLog
index 5aab1171afe836a83bb1d88fd357d63a0836d498..0ca2390efadce2d027002c95916f68939a1c0c5c 100644 (file)
@@ -1,3 +1,157 @@
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2012-03-19  Robin Getz  <robin.getz@analog.com>
+           Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (lshift): Add an overflow flag.  Delete now unused
+       i, j, and tmp vars.  Add a new v_i var.  Split the overflow logic
+       out from the saturate logic.  Do not set V ASTAT bits when working
+       with accumulators.
+       (decode_ALU2op_0): Add new argument to lshift call.
+       (decode_LOGI2op_0, decode_dsp32shift_0, decode_dsp32shiftimm_0):
+       Likewise.
+
+2012-03-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_ebiu_amc.c (struct bfin_ebiu_amc): Add bank_base.
+       (bfin_ebiu_amc_write_amgctl): Replace BFIN_EBIU_AMC_BASE with
+       amc->bank_base.
+       (bfin_ebiu_amc_finish): Assign BFIN_EBIU_AMC_BASE to amc->bank_base.
+
+2012-03-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_ebiu_amc.c (bfin_ebiu_amc_attach_address_callback): Use
+       ARRAY_SIZE rather than hardcoded constant.
+
+2012-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+       * configure.ac: Add linux/types.h to AC_CHECK_HEADERS.
+       * dv-eth_phy.c: Check for HAVE_LINUX_TYPES_H, and delete __u16 and
+       _LINUX_TYPES_H defines.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (bfin_syscall): Increase _tbuf storage.  Declare new local
+       tstr buffer.  Call cb_get_string on tstr when handling CB_SYS_stat64,
+       CB_SYS_lstat64, CB_SYS_open, CB_SYS_write, CB_SYS_unlink,
+       CB_SYS_truncate, CB_SYS_rename, CB_SYS_stat, CB_SYS_lstat.  Include
+       tstr in the tbuf output.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Delete all dependency rules.
+       * aclocal.m4, configure: Regenerate.
+
+2011-10-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate after common/acinclude.m4 update.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+       * aclocal.m4, configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-09-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32shift_0): Use STORE() for VIT_MAX insns.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Delete.
+
+2011-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (cb_linux_stat_map_32, cb_linux_stat_map_64): Rename from
+       stat_map_32 and stat_map_64.
+       (cb_libgloss_stat_map_32): New stat map.
+       (stat_map_32, stat_map_64): New stat map pointers.
+       (bfin_user_init): Assign stat_map_32 to cb_linux_stat_map_32 and
+       stat_map_64 to cb_linux_stat_map_64.
+       (bfin_virtual_init): New function.
+       (sim_create_inferior): Call bfin_virtual_init for all other envs.
+
+2011-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (bfin_syscall): Delete old comment.  Set dreg 1 to
+       sc.result2 and dreg 2 to sc.errcode.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shift_0): Clear ASTAT[AV] if val is 0,
+       else set it.  Set ASTAT[AVS] if val is 0.  Do this for LSHIFT and
+       ASHIFT accumulator insns.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (ashiftrt): If size is 40, do not call SET_ASTATREG.
+       (lshiftrt): Likewise.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shift_0): Use get_unextended_acc
+       rather than get_extended_acc in LSHIFT insns.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_macfunc): Handle MM when mmod is M_TFU.
+       Check MM once when mmod is M_FU to match M_TFU better.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shiftimm_0): When shift is greater than
+       32, perform a left shift.  Update the corresponding AV bit.  Set
+       AZ when the low 32bits are also zero.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shiftimm_0): With left shift vector insns,
+       call lshift only when count is positive.  Otherwise, call ashiftrt.
+       With arithmetic right shift insns, call ashiftrt when the value is
+       small enough, otherwise call lshift.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (extract_mult): Call saturate_s16 directly when
+       mmod is M_IH rather than computing the result by hand.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_macfunc): Add nosat_acc to track acc value
+       before saturation, set sat when more cases saturate, and set the
+       overflow bit based on these results.  For M_TFU, M_IU, M_FU, and
+       M_W32, change the max values compared against.
+       (decode_dsp32mac_0): Delete v_i and add v_0 and v_1.  Pass v_1
+       when processing MAC1 and pass v_0 when processing MAC0.  Combine
+       the results into the V/VS ASTAT bits.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (extract_mult): Call saturate_s32 when MM is set
+       and mmod is M_IU.  Call saturate_s16 when MM is set and mmod
+       is M_TFU.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_multfunc): Call new is_macmod_signed, and
+       allow MM to sign extend all the time.
+       (decode_macfunc): Likewise.  Drop sign extension of unsigned
+       values.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (saturate_s40_astat): Change ">=" to ">".
+       (decode_macfunc): Likewise when mmod is M_IH.
+
 2011-06-18  Mike Frysinger  <vapier@gentoo.org>
 
        * interp.c (sim_create_inferior): Change free to freeargv.