sim: bfin: always do 16bit sign extension with the SEARCH insn
[binutils-gdb.git] / sim / bfin / ChangeLog
1 2011-03-23 Robin Getz <robin.getz@analog.com>
2
3 * bfin-sim.c (decode_dsp32alu_0): Set A1 to a1_lo when up_hi is false,
4 and set A0 to a0_lo when up_lo is false.
5
6 2011-03-23 Robin Getz <robin.getz@analog.com>
7
8 * bfin-sim.c (decode_dsp32alu_0): Call saturate_s40_astat instead of
9 saturate_s40, and use the v parameter to update the AV bit. Set the
10 AC bit only when the final result is 0.
11
12 2011-03-23 Mike Frysinger <vapier@gentoo.org>
13
14 * dv-bfin_sic.c (ENC, DEC_PIN, DEC_SIC): Define.
15 (bfin_sic_50x_ports, bfin_sic_51x_ports, bfin_sic_52x_ports,
16 bfin_sic_533_ports, bfin_sic_537_ports, bfin_sic_538_ports,
17 bfin_sic_54x_ports, bfin_sic_561_ports, bfin_sic_59x_ports):
18 Encode ids with the ENC macro.
19 (bfin_sic_52x_port_event, bfin_sic_537_port_event,
20 bfin_sic_54x_port_event, bfin_sic_561_port_event): Set idx
21 from my_port with DEC_SIC, and set bit from my_port with DEC_PIN.
22 (bfin_sic_533_port_event): Delete.
23 (bfin_sic_finish): Call set_hw_port_event with
24 bfin_sic_537_port_event for BF533 and BF59x targets.
25
26 2011-03-23 Robin Getz <robin.getz@analog.com>
27
28 * bfin-sim.c (decode_dsp32alu_0): Drop the src0/src1 check for
29 BYTEOP1P, BYTEOP2P, and BYTEOP3P insns.
30
31 2011-03-23 Mike Frysinger <vapier@gentoo.org>
32
33 * machs.c (bf50x_dev, bf512_dev, bf516_dev, bf522_dev, bf526_dev,
34 bf533_dev, bf534_dev, bf537_dev, bf538_dev, bf561_dev, bf592_dev):
35 Change bfin_gpio addresses from f/g/h to 5/6/7.
36 (bfin_model_hw_tree_init): Add the bfin_gpio address base to 'a'.
37
38 2011-03-17 Mike Frysinger <vapier@gentoo.org>
39
40 * configure.ac (AC_CHECK_FUNCS): Check for kill and pread.
41 * configure: Regenerate.
42 * config.in: Regenerate.
43 * interp.c (bfin_syscall): Check for HAVE_{KILL,PREAD} before using
44 kill or pread.
45
46 2011-03-15 Mike Frysinger <vapier@gentoo.org>
47
48 * Makefile.in (dv-bfin_gpio.o): New target.
49 * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_gpio.
50 * configure: Regenerate.
51 * dv-bfin_gpio.c, dv-bfin_gpio.h: New files.
52 * machs.c: Include dv-bfin_gpio.h.
53 (bf50x_mem, bf51x_mem, bf52x_mem, bf531_mem, bf532_mem, bf533_mem,
54 bf534_mem, bf536_mem, bf537_mem, bf538_mem, bf561_mem, bf592_mem):
55 Delete GPIO memory stubs.
56 (bf50x_dev, bf512_dev, bf516_dev, bf522_dev, bf526_dev, bf533_dev,
57 bf534_dev, bf537_dev, bf538_dev, bf561_dev, bf592_dev): Add GPIO
58 peripheral devices.
59 (bfin_model_hw_tree_init): Hook up GPIO interrupts to SIC.
60
61 2011-03-15 Mike Frysinger <vapier@gentoo.org>
62
63 * bfroms/bf50x-0.0.h, bfroms/bf51x-0.0.h, bfroms/bf51x-0.1.h,
64 bfroms/bf51x-0.2.h, bfroms/bf526-0.0.h, bfroms/bf526-0.1.h,
65 bfroms/bf527-0.0.h, bfroms/bf527-0.1.h, bfroms/bf527-0.2.h,
66 bfroms/bf533-0.1.h, bfroms/bf533-0.2.h, bfroms/bf533-0.3.h,
67 bfroms/bf537-0.0.h, bfroms/bf537-0.1.h, bfroms/bf537-0.3.h,
68 bfroms/bf538-0.0.h, bfroms/bf54x-0.0.h, bfroms/bf54x-0.1.h,
69 bfroms/bf54x-0.2.h, bfroms/bf54x_l1-0.0.h, bfroms/bf54x_l1-0.1.h,
70 bfroms/bf54x_l1-0.2.h, bfroms/bf561-0.5.h, bfroms/bf59x-0.0.h,
71 bfroms/bf59x_l1-0.1.h, dv-bfin_cec.c, dv-bfin_ctimer.c,
72 dv-bfin_dma.c, dv-bfin_dmac.c, dv-bfin_ebiu_amc.c,
73 dv-bfin_ebiu_ddrc.c, dv-bfin_ebiu_sdc.c, dv-bfin_emac.c,
74 dv-bfin_eppi.c, dv-bfin_evt.c, dv-bfin_gptimer.c, dv-bfin_jtag.c,
75 dv-bfin_mmu.c, dv-bfin_nfc.c, dv-bfin_otp.c, dv-bfin_pll.c,
76 dv-bfin_ppi.c, dv-bfin_rtc.c, dv-bfin_sic.c, dv-bfin_spi.c,
77 dv-bfin_trace.c, dv-bfin_twi.c, dv-bfin_uart.c, dv-bfin_uart2.c,
78 dv-bfin_wdog.c, dv-bfin_wp.c, dv-eth_phy.c, gui.c,
79 linux-fixed-code.h, linux-targ-map.h, machs.c, Makefile.in: Fix style.
80
81 2011-03-15 Robin Getz <robin.getz@analog.com>
82
83 * bfin-sim.c (decode_dsp32alu_0): Set AZ based on val for 16bit adds
84 and subs.
85
86 2011-03-15 Robin Getz <robin.getz@analog.com>
87
88 * bfin-sim.c (decode_macfunc): Move acc STOREs behind op != 3 check.
89
90 2011-03-15 Robin Getz <robin.getz@analog.com>
91
92 * bfin-sim.c (decode_macfunc): New neg parameter. Set when the
93 high bit is set after extract_mult.
94 (decode_dsp32mac_0): Declare n_1 and n_0. Pass to the decode_macfunc
95 functions. Use these to update the AN bit.
96
97 2011-03-15 Robin Getz <robin.getz@analog.com>
98
99 * bfin-sim.c (decode_dsp32mult_0): Declare v_i0 and v_i1. Pass to
100 the extract_mult functions. Include these when updating the V, VS,
101 and V_COPY bits.
102
103 2011-03-15 Robin Getz <robin.getz@analog.com>
104
105 * bfin-sim.c (astat_names): New global bit array.
106 (decode_CC2stat_0): Delete local astat_name and astat_names.
107 (decode_psedodbg_assert_0): Move hardcoded offset into a variable.
108 Print out ASTAT bit values when checking an ASTAT register.
109
110 2010-03-15 Robin Getz <robin.getz@analog.com>
111
112 * bfin-sim.c (extract_mult): Handle M_IU.
113
114 2011-03-05 Mike Frysinger <vapier@gentoo.org>
115
116 * Makefile.in, TODO, aclocal.m4, bfin-sim.c, bfin-sim.h,
117 bfroms/all.h, bfroms/bf50x-0.0.h, bfroms/bf51x-0.0.h,
118 bfroms/bf51x-0.1.h, bfroms/bf51x-0.2.h, bfroms/bf526-0.0.h,
119 bfroms/bf526-0.1.h, bfroms/bf527-0.0.h, bfroms/bf527-0.1.h,
120 bfroms/bf527-0.2.h, bfroms/bf533-0.1.h, bfroms/bf533-0.2.h,
121 bfroms/bf533-0.3.h, bfroms/bf537-0.0.h, bfroms/bf537-0.1.h,
122 bfroms/bf537-0.3.h, bfroms/bf538-0.0.h, bfroms/bf54x-0.0.h,
123 bfroms/bf54x-0.1.h, bfroms/bf54x-0.2.h, bfroms/bf54x_l1-0.0.h,
124 bfroms/bf54x_l1-0.1.h, bfroms/bf54x_l1-0.2.h, bfroms/bf561-0.5.h,
125 bfroms/bf59x-0.0.h, bfroms/bf59x_l1-0.1.h, config.in, configure,
126 configure.ac, devices.c, devices.h, dv-bfin_cec.c, dv-bfin_cec.h,
127 dv-bfin_ctimer.c, dv-bfin_ctimer.h, dv-bfin_dma.c, dv-bfin_dma.h,
128 dv-bfin_dmac.c, dv-bfin_dmac.h, dv-bfin_ebiu_amc.c, dv-bfin_ebiu_amc.h,
129 dv-bfin_ebiu_ddrc.c, dv-bfin_ebiu_ddrc.h, dv-bfin_ebiu_sdc.c,
130 dv-bfin_ebiu_sdc.h, dv-bfin_emac.c, dv-bfin_emac.h, dv-bfin_eppi.c,
131 dv-bfin_eppi.h, dv-bfin_evt.c, dv-bfin_evt.h, dv-bfin_gptimer.c,
132 dv-bfin_gptimer.h, dv-bfin_jtag.c, dv-bfin_jtag.h, dv-bfin_mmu.c,
133 dv-bfin_mmu.h, dv-bfin_nfc.c, dv-bfin_nfc.h, dv-bfin_otp.c,
134 dv-bfin_otp.h, dv-bfin_pll.c, dv-bfin_pll.h, dv-bfin_ppi.c,
135 dv-bfin_ppi.h, dv-bfin_rtc.c, dv-bfin_rtc.h, dv-bfin_sic.c,
136 dv-bfin_sic.h, dv-bfin_spi.c, dv-bfin_spi.h, dv-bfin_trace.c,
137 dv-bfin_trace.h, dv-bfin_twi.c, dv-bfin_twi.h, dv-bfin_uart.c,
138 dv-bfin_uart.h, dv-bfin_uart2.c, dv-bfin_uart2.h, dv-bfin_wdog.c,
139 dv-bfin_wdog.h, dv-bfin_wp.c, dv-bfin_wp.h, dv-eth_phy.c, gui.c,
140 gui.h, insn_list.def, interp.c, linux-fixed-code.h, linux-fixed-code.s,
141 linux-targ-map.h, machs.c, machs.h, proc_list.def, sim-main.h,
142 tconfig.in: New Blackfin port.