X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fbfin%2FChangeLog;h=6844035e4c64a801c8b7b6bb95f4b70d798b096e;hb=1ac72f0659d64d6a14da862242db0d841d2878d0;hp=aaea1e5a0c7f6cfe7f7b6967a036e94ed50ac4cb;hpb=b02cc5b9df3085cad87f914f7616cdec809630bc;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index aaea1e5a0c..6844035e4c 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,667 @@ +2016-01-02 Mike Frysinger + + * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to + LITTLE. + * configure: Regenerate. + +2015-12-27 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-hload.o. + +2015-12-26 Mike Frysinger + + * config.in, configure: Regenerate. + +2015-12-26 Mike Frysinger + + * devices.c (bfin_mmr_invalid): Delete cpu arg and add missing arg. + Add cpu, rw, and reason local vars. Rewrite error messages. Add + more todo comments. + (dv_bfin_mmr_invalid): Update bfin_mmr_invalid call. + (dv_bfin_mmr_require): Likewise. Change return to bool. Check + alignment of the addr variable. + (bfin_mmr_check, dv_bfin_mmr_check, device_io_read_buffer, + device_io_write_buffer): Delete. + (dv_bfin_mmr_require_16_32): Define. + * devices.h (dv_bfin_mmr_require): Change return to bool. + (dv_bfin_mmr_check): Delete. + (dv_bfin_mmr_require_16_32): Define. + Add a few comments. + * dv-bfin_cec.c (bfin_cec_io_write_buffer): Call + dv_bfin_mmr_require_32. + (bfin_cec_io_read_buffer): Likewise. + * dv-bfin_ctimer.c (bfin_ctimer_io_write_buffer): Likewise. + (bfin_ctimer_io_read_buffer): Likewise. + * dv-bfin_dma.c (bfin_dma_io_write_buffer): Call + dv_bfin_mmr_require_16_32. Return 0 in the default case. + (bfin_dma_io_read_buffer): Call dv_bfin_mmr_require_16_32. + * dv-bfin_ebiu_amc.c (bf50x_ebiu_amc_io_write_buffer): Return 0 + when dv_bfin_mmr_require_16 fails and in the default case. + (bf53x_ebiu_amc_io_write_buffer): Likewise. + (bf54x_ebiu_amc_io_write_buffer): Likewise. + (bfin_ebiu_amc_io_write_buffer): Call dv_bfin_mmr_require_16_32. + (bf50x_ebiu_amc_io_read_buffer): Return 0 when + dv_bfin_mmr_require_16 fails and in the default case. + (bf53x_ebiu_amc_io_read_buffer): Likewise. + (bf54x_ebiu_amc_io_read_buffer): Likewise. + (bfin_ebiu_amc_io_read_buffer): Call dv_bfin_mmr_require_16_32. + * dv-bfin_ebiu_ddrc.c (bfin_ebiu_ddrc_io_write_buffer): Call + dv_bfin_mmr_require_16_32. Return 0 when dv_bfin_mmr_require_16 or + dv_bfin_mmr_require_32 fails. + (bfin_ebiu_ddrc_io_read_buffer): Likewise. + * dv-bfin_ebiu_sdc.c (bfin_ebiu_sdc_io_write_buffer): Likewise. + (bfin_ebiu_sdc_io_read_buffer): Likewise. + * dv-bfin_emac.c (bfin_emac_io_write_buffer): Return 0 when + dv_bfin_mmr_require_32 fails and in the default case. + (bfin_emac_io_read_buffer): Likewise. + * dv-bfin_eppi.c (bfin_eppi_io_write_buffer): Call + dv_bfin_mmr_require_16_32 and return 0 when dv_bfin_mmr_require_16 + or dv_bfin_mmr_require_32 fails and in the default case. + (bfin_eppi_io_read_buffer): Likewise. + * dv-bfin_evt.c (bfin_evt_io_write_buffer): Call + dv_bfin_mmr_require_32. + (bfin_evt_io_read_buffer): Likewise. + * dv-bfin_gpio.c (bfin_gpio_io_write_buffer): Move call to + dv_bfin_mmr_require_16 to earlier in the func. Return 0 when it + fails and in the default case. + (bfin_gpio_io_read_buffer): Likewise. + * dv-bfin_gpio2.c (bfin_gpio_io_write_buffer): Move call to + dv_bfin_mmr_require_16 and dv_bfin_mmr_require_32 to earlier in the + func. Return 0 when it fails and in the default case. + (bfin_gpio_io_read_buffer): Likewise. + * dv-bfin_gptimer.c (bfin_gptimer_io_write_buffer): Call + dv_bfin_mmr_require_16_32. Return 0 when dv_bfin_mmr_require_16 or + dv_bfin_mmr_require_32 fails and in the default case. + (bfin_gptimer_io_read_buffer): Likewise. + * dv-bfin_jtag.c (bfin_jtag_io_write_buffer): Call + dv_bfin_mmr_require_32. Return 0 in the default case. + (bfin_jtag_io_read_buffer): Likewise. Delete while(1) loop. + * dv-bfin_mmu.c (bfin_mmu_io_write_buffer): Call + dv_bfin_mmr_require_32. Return 0 in the default case. + (bfin_mmu_io_read_buffer): Likewise. Delete while(1) loop. + * dv-bfin_nfc.c (bfin_nfc_io_write_buffer): Move call to + dv_bfin_mmr_require_16 to earlier in the func. Return 0 when it + fails and in the default case. + (bfin_nfc_io_read_buffer): Likewise. + * dv-bfin_otp.c (bfin_otp_io_write_buffer): Call + dv_bfin_mmr_require_16_32. Return 0 when dv_bfin_mmr_require_16 + or dv_bfin_mmr_require_32 fails and in the default case. + (bfin_otp_io_read_buffer): Likewise. + * dv-bfin_pfmon.c (bfin_pfmon_io_write_buffer): Call + dv_bfin_mmr_require_32. Return 0 in the default case. + (bfin_pfmon_io_read_buffer): Likewise. Delete while(1) loop. + * dv-bfin_pint.c (bfin_pint_io_write_buffer): Move call to + dv_bfin_mmr_require_32 to earlier in the func. Return 0 when it + fails and in the default case. + (bfin_pint_io_read_buffer): Likewise. + * dv-bfin_pll.c (bfin_pll_io_write_buffer): Call + dv_bfin_mmr_require_16_32. Return 0 when dv_bfin_mmr_require_16 + fails. + (bfin_pll_io_read_buffer): Likewise. + * dv-bfin_ppi.c (bfin_ppi_io_write_buffer): Move call to + dv_bfin_mmr_require_16 to earlier in the func. Return 0 when it + fails and in the default case. + 9bfin_ppi_io_read_buffer): Likewise. + * dv-bfin_rtc.c (bfin_rtc_io_write_buffer): Call + dv_bfin_mmr_require_16_32. + (bfin_rtc_io_read_buffer): Likewise. + * dv-bfin_sic.c (bfin_sic_52x_io_write_buffer): Likewise. + (bfin_sic_52x_io_read_buffer, bfin_sic_537_io_write_buffer, + bfin_sic_537_io_read_buffer, bfin_sic_54x_io_write_buffer, + bfin_sic_54x_io_read_buffer, bfin_sic_561_io_write_buffer, + bfin_sic_561_io_read_buffer): Likewise. + * dv-bfin_spi.c (bfin_spi_io_write_buffer): Move call to + dv_bfin_mmr_require_16 to earlier in the func. Return 0 when it + fails and in the default case. + (bfin_spi_io_read_buffer): Likewise. + * dv-bfin_trace.c (bfin_trace_io_write_buffer): Call + dv_bfin_mmr_require_32. Return 0 in the default case. + (bfin_trace_io_read_buffer): Likewise. Delete while(1) loop. + * dv-bfin_twi.c (bfin_twi_io_write_buffer): Move call to + dv_bfin_mmr_require_16 to earlier in the func. Return 0 when it + fails and in the default case. + (bfin_twi_io_read_buffer): Likewise. + * dv-bfin_uart.c (bfin_uart_io_write_buffer): Likewise. + (bfin_uart_io_read_buffer): Likewise. + * dv-bfin_uart2.c (bfin_uart_io_write_buffer): Likewise. + (bfin_uart_io_read_buffer): Likewise. + * dv-bfin_wdog.c (bfin_wdog_io_write_buffer): Call + dv_bfin_mmr_require_16_32. + (bfin_wdog_io_read_buffer): Likewise. Return 0 when + dv_bfin_mmr_require_16 fails. + * dv-bfin_wp.c (bfin_wp_io_write_buffer): Call + dv_bfin_mmr_require_32. Return 0 in the default case. + (bfin_wp_io_read_buffer): Likewise. Delete while(1) loop. + * tconfig.h: Delete file. + +2015-12-26 Mike Frysinger + + * bfin-sim.c (decode_LDST_0): Add 4th element to posts array. + +2015-12-26 Mike Frysinger + + * interp.c (sim_create_inferior): Update comment and argv check. + +2015-12-25 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-model.o. + * tconfig.h (SIM_HAVE_MODEL): Delete. + +2015-12-25 Mike Frysinger + + * machs.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to + SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL. + +2015-12-25 Mike Frysinger + + * devices.c (device_error): Delete. + +2015-12-24 Mike Frysinger + + * tconfig.h (SIM_HANDLES_LMA): Delete. + +2015-11-17 Mike Frysinger + + * tconfig.h (WITH_MODULO_MEMORY): Delete. + +2015-11-15 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and + sim-stop.o. + +2015-11-14 Mike Frysinger + + * interp.c (sim_close): Delete. + +2015-10-11 Mike Frysinger + + PR sim/18407 + * bfin-sim.c (decode_dsp32shiftimm_0): Call ashiftrt when count + is less than 0. + +2015-06-24 Mike Frysinger + + * interp.c (trace_register): Delete. + * sim-main.h (trace_register, TRACE_REGISTER, TRACE_REG): Delete. + +2015-06-23 Mike Frysinger + + * configure: Regenerate. + +2015-06-17 Mike Frysinger + + * interp.c: Include sim-syscall.h. + (syscall_read_mem, syscall_write_mem): Delete. + (bfin_syscall): Change syscall_read_mem/syscall_write_mem to + sim_syscall_read_mem/sim_syscall_write_mem. + +2015-06-17 Mike Frysinger + + * linux-targ-map.h: Update example comments. + (cb_linux_syscall_map): Fill out name field. + (cb_linux_errno_map, cb_linux_open_map, cb_linux_signal_map): + Likewise. + +2015-06-12 Mike Frysinger + + * interp.c: Expand comment on CB_SYS_xxx defines. + +2015-06-12 Mike Frysinger + + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * bfin-sim.c (hwloop_get_next_pc): Change TRACE_BRANCH to + BFIN_TRACE_BRANCH. + (decode_ProgCtrl_0, decode_BRCC_0, decode_UJUMP_0, decode_CALLa_0): + Likewise. + * bfin-sim.h (__PUT_MEM, __GET_MEM): Change TRACE_CORE to + BFIN_TRACE_CORE. + * dv-bfin_cec.c (_cec_raise, cec_latch, cec_return): Change + TRACE_BRANCH to BFIN_TRACE_BRANCH. + * interp.c (syscall_read_mem, syscall_write_mem): Change MAYBE_TRACE + to TRACE_CORE. + * sim-main.h (MAYBE_TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT, + TRACE_SYSCALL, TRACE_EVENTS): Delete. + (TRACE_CORE): Rename to ... + (BFIN_TRACE_CORE): ... this. Change MAYBE_TRACE to TRACE_CORE. + (TRACE_BRANCH): Rename to ... + (BFIN_TRACE_BRANCH): ... this. Change MAYBE_TRACE to TRACE_BRANCH. + +2015-04-24 David Binderman + Nick Clifton + + PR 18273 + * bfin-sim.c (decode_dsp32alu_0): Remove spurious check for + s == 1. + +2015-04-18 Mike Frysinger + + * sim-main.h (SIM_CPU): Add note to clean this up. + +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-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 and sim-hrw.o. + +2015-04-01 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS). + +2015-03-31 Mike Frysinger + + * config.in, configure: Regenerate. + +2015-03-24 Mike Frysinger + + * configure: Regenerate. + +2015-03-23 Mike Frysinger + + * configure: Regenerate. + +2015-03-23 Mike Frysinger + + * configure: Regenerate. + * configure.ac (BFIN_SIM_EXTRA_OBJS): Delete. + * Makefile.in (SIM_OBJS): Delete @BFIN_SIM_EXTRA_OBJS@. + +2015-03-23 Mike Frysinger + + * dv-bfin_uart.c [!HAVE_DV_SOCKSER] (dv_sockser_status, + dv_sockser_write, dv_sockser_read): Delete. + +2015-03-23 Mike Frysinger + + * sim-main.h: Delete run-sim.h include. + +2015-03-16 Mike Frysinger + + * aclocal.m4, config.in, configure: Regenerate. + * tconfig.in: Rename file ... + * tconfig.h: ... here. + +2015-03-15 Mike Frysinger + + * tconfig.in: Delete includes. + [HAVE_DV_SOCKSER]: Delete. + +2015-03-14 Mike Frysinger + + * bfin-sim.c (decode_dsp32alu_0): Change v to bu32. + +2015-03-14 Mike Frysinger + + * Makefile.in (SIM_RUN_OBJS): Delete. + +2015-03-10 Mike Frysinger + + PR sim/13160 + * Makefile.in ($(srcdir)/linux-fixed-code.h): Put a ; after the + print sed command for BSD compatibility. + +2015-03-08 Mike Frysinger + + PR sim/13160 + * Makefile.in ($(srcdir)/linux-fixed-code.h): Specify the asm input + directly rather than use $<. Move the file name to the end of the + sed command to be POSIX compliant. + +2014-08-19 Alan Modra + + * configure: Regenerate. + +2014-08-15 Roland McGrath + + * configure: Regenerate. + * config.in: Regenerate. + +2014-03-04 Mike Frysinger + + * configure: Regenerate. + +2013-09-23 Alan Modra + + * configure: Regenerate. + +2013-06-23 Mike Frysinger + + * bfin-sim.c (decode_dsp32alu_0): Add note about broken handling of + SEARCH with parallel insns. + +2013-06-23 Mike Frysinger + + * bfin-sim.c (decode_dsp32shift_0): Make sure HLs is 0 after last + insn that uses it. + (decode_dsp32shiftimm_0): Likewise. + Require HLs be less than 2 for accumulator shift insns. + +2013-06-18 Mike Frysinger + + * bfin-sim.c (decode_dsp32alu_0): Check more opcode fields before + decoding various insns. + +2013-06-17 Mike Frysinger + + * TODO: Add more notes. + +2013-06-09 Mike Frysinger + + * Makefile.in ($(srcdir)/linux-fixed-code.h): Add + @MAINTAINER_MODE_TRUE@ as the first item in the dependency list. + +2013-06-03 Mike Frysinger + + * aclocal.m4, configure: Regenerate. + +2013-05-10 Freddie Chopin + + * configure: Rebuild. + +2013-03-26 Mike Frysinger + + * aclocal.m4, configure: Regenerate. + +2013-03-23 Joel Sherrill + + * configure.ac: Use $SIM_DV_SOCKSER_O. + * configure: Regenerated. + +2012-12-20 Joel Brobecker + + * aclocal.m4: Revert the previous change changing + the license from GPL v2 or later to GPL v3 or later + (this file was generated). + +2012-12-20 Joel Brobecker + + * linux-fixed-code.s: Revert the previous change changing + the license from GPL v2 or later to GPL v3 or later. + +2012-07-31 Mike Frysinger + + * machs.c (bf54x_roms): Pass 0x1000 to alias field of BFROM, and + 0x10000 to the alias field of BFROMA. + (bf561_roms): Pass 0x1000 to alias field of BFROM. + (bf59x_roms): Pass 0x10000 to alias field of BFROMA. + +2012-07-31 Mike Frysinger + + * machs.c (bfin_reg_fetch): Change return 0 to return -1, and + return -1 to return 4. + (bfin_reg_store): Likewise. + +2012-06-15 Joel Brobecker + + * config.in, configure: Regenerate. + +2012-04-09 Mike Frysinger + + * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_pint. + * configure: Regenerate. + * dv-bfin_pint.c, dv-bfin_pint.h: New device model. + * machs.c (bf542_dev): Add PINT register blocks. + (bf544_dev, bf547_dev): Likewise. + (PINT_PIQS): Define. + (bf54x_port): Add pint/gpio routing. + * machs.h (BFIN_MMR_PINT_SIZE): Define. + +2012-04-09 Mike Frysinger + + * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_gpio2. + * configure: Regenerate. + * dv-bfin_gpio2.c, dv-bfin_gpio2.h: New device model. + * machs.c (bf54x_mem): Delete GPIO mem stub. + (bf542_dev): Add GPIO register blocks. + (bf544_dev, bf547_dev): Likewise. + * machs.h (BFIN_MMR_GPIO2_SIZE): Define. + +2012-04-09 Robin Getz + + * bfin-sim.c (decode_dsp32shift_0): Extract the sign for ASHIFT + and LSHIFT, and set ASTAT based on the before/after values. + Rename "val" to "acc" to be consistent with other code branches. + +2012-04-09 Robin Getz + + * bfin-sim.c (sgn_extend): New helper. + (decode_dsp32shiftimm_0): Call lshift when newimmag is more + than 16, otherwise call ashiftrt. Set ASTAT fields as needed. + For accumulator shifts, call new sgn_extend helper. + +2012-04-08 Mike Frysinger + + * bfin-sim.c (illegal_instruction_or_combination): New helper. + (decode_ProgCtrl_0): Call illegal_instruction_or_combination instead + of illegal_instruction. + (decode_PushPopReg_0, decode_CCflag_0, decode_CC2dreg_0, + decode_LDSTpmod_0, decode_dagMODim_0, decode_dagMODik_0, + decode_dspLDST_0, decode_LDST_0, _interp_insn_bfin): Likewise. + (decode_PushPopMultiple_0): Call illegal_instruction_combination when + PARALLEL_GROUP is not BFIN_PARALLEL_NONE. + (decode_CCflag_0, decode_REGMV_0, decode_ALU2op_0, decode_PTR2op_0, + decode_COMPI2opD_0, decode_COMPI2opP_0): Likewise. + (decode_CC2stat_0): Check PARALLEL_GROUP before cbit. + (decode_LDSTpmod_0): Call illegal_instruction_combination when + PARALLEL_GROUP is BFIN_PARALLEL_GROUP2. + (decode_dagMODim_0, decode_dagMODik_0, decode_LDST_0, + decode_LDSTiiFP_0, decode_LDSTii_0): Likewise. + +2012-04-08 Mike Frysinger + + * bfin-sim.h (bfin_parallel_group): New enum. + (bfin_cpu_state): Add new "group" member. + (PARALLEL_GROUP): Define. + * bfin-sim.c (decode_ProgCtrl_0): Change INSN_LEN check to + PARALLEL_GROUP. + (decode_CaCTRL_0, decode_PushPopReg_0, decode_ccMV_0, decode_CCflag_0, + decode_CC2dreg_0, decode_CC2stat_0, decode_BRCC_0, decode_UJUMP_0, + decode_LOGI2op_0, decode_LoopSetup_0, decode_LDIMMhalf_0, + decode_CALLa_0, decode_linkage_0): Likewise. + (_interp_insn_bfin): Set PARALLEL_GROUP. + (interp_insn_bfin): Likewise. + +2012-04-08 Mike Frysinger + + * bfin-sim.c (decode_dsp32alu_0): Delete extra space in TRACE_INSN. + +2012-04-01 Mike Frysinger + + * bfin-sim.c (_interp_insn_bfin): Call illegal_instruction_combination + when INSN_LEN is non-zero before 32bit decode. + +2012-04-01 Mike Frysinger + + * bfin-dis.c (fmtconst): Replace decimal handling with a single + sprintf call and the '*' field width. + +2012-04-01 Mike Frysinger + + * machs.c (bfin_model_map_bfrom): Return when mnum is 535. + +2012-04-01 Mike Frysinger + + * interp.c (bfin_user_init): Move auxvt_size decl from top to + inside of auxvt check. + +2012-03-31 Mike Frysinger + + * dv-bfin_sic.c (bfin_sic_finish): Change iwr1 to iwr2. + +2012-03-31 Mike Frysinger + + * devices.c: Include devices.h. + +2012-03-24 Mike Frysinger + + * aclocal.m4, config.in, configure: Regenerate. + +2012-03-19 Robin Getz + Mike Frysinger + + * 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 + + * 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 + + * dv-bfin_ebiu_amc.c (bfin_ebiu_amc_attach_address_callback): Use + ARRAY_SIZE rather than hardcoded constant. + +2012-02-04 Mike Frysinger + + * 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 + + * 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 + + * Makefile.in: Delete all dependency rules. + * aclocal.m4, configure: Regenerate. + +2011-10-19 Mike Frysinger + + * configure: Regenerate after common/acinclude.m4 update. + +2011-10-17 Mike Frysinger + + * configure.ac: Change include to common/acinclude.m4. + * aclocal.m4, configure: Regenerate. + +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-09-28 Mike Frysinger + + * bfin-sim.c (decode_dsp32shift_0): Use STORE() for VIT_MAX insns. + +2011-07-05 Mike Frysinger + + * interp.c (sim_do_command): Delete. + +2011-07-01 Mike Frysinger + + * 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 + + * interp.c (bfin_syscall): Delete old comment. Set dreg 1 to + sc.result2 and dreg 2 to sc.errcode. + +2011-06-18 Robin Getz + + * 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 + + * bfin-sim.c (ashiftrt): If size is 40, do not call SET_ASTATREG. + (lshiftrt): Likewise. + +2011-06-18 Robin Getz + + * bfin-sim.c (decode_dsp32shift_0): Use get_unextended_acc + rather than get_extended_acc in LSHIFT insns. + +2011-06-18 Robin Getz + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 * bfin-sim.c (saturate_s40_astat): Change ">=" to ">".