* fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
[external/binutils.git] / sim / rx / ChangeLog
1 2010-09-23  Kevin Buettner  <kevinb@redhat.com>
2
3         * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
4
5 2010-07-29  DJ Delorie  <dj@redhat.com>
6
7         * rx.c (decode_cache_base): New.
8         (id_names): Remove ediv and edivu.
9         (optype_names): Add TwoReg.
10         (maybe_get_mem_page): New.
11         (rx_get_byte): Call it.
12         (get_op): Add TwoReg support.
13         (put_op): Likewise.
14         (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
15         is a pointer now.
16         (DO_RETURN): New.  We use longjmp to return an exception result.
17         (decode_opcode): Make opcode a pointer to the decode cache.  Save
18         decoded opcode information and re-use.  Call DO_RETURN instead of
19         return throughout.  Remove ediv and edivu.
20         * mem.c (ptdc): New.  Adds decode cache.
21         (rx_mem_ptr): Support it.
22         (rx_mem_decode_cache): New.
23         * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
24         (rx_mem_decode_cache): Declare.
25         * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
26         * main.c (main): ...and here.  Use a fast loop if neither trace
27         nor disassemble is given.
28         * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
29         RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
30         valid code for anything.
31
32 2010-07-27  DJ Delorie  <dj@redhat.com>
33
34         * README.txt: New.
35         * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
36         * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
37         New.  Default to enabled.
38         * configure: Regenerate.
39
40         * cpu.h (regs_type): Add cycle tracking info.
41         (reset_pipeline_stats): Declare.
42         (halt_pipeline_stats): Declare.
43         (pipeline_stats): Declare.
44         * main.c (done): Call pipeline_stats().
45         * mem.h (rx_mem_ptr): Moved to here ...
46         * mem.c (mem_ptr): ... from here.  Rename throughout.
47         (mem_put_byte): Move LEDs to Port A.  Add Port B to control cycle
48         statistics.  Move UART to SCI4.
49         (mem_put_hi): Add TPU 1-2.  TPU 1 and 2 count CPU cycles.
50         * reg.c (init_regs): Set Rt reg to -1 (no reg).
51         * rx.c: Add cycle counting and statistics throughout.
52         (rx_get_byte): Optimize for speed.
53         (decode_opcode): Likewise.
54         (reset_pipeline_stats): New.
55         (halt_pipeline_stats): New.
56         (pipeline_stats): New.
57         * trace.c (sim_disasm_one): Print cycle count.
58
59 2010-07-07  Kevin Buettner  <kevinb@redhat.com>
60
61         * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
62
63 2010-06-24  Kevin Buettner  <kevinb@redhat.com>
64
65         * gdb-if.c (trace.h): Include.
66         (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
67
68 2010-06-07  Nick Clifton  <nickc@redhat.com>
69
70         * reg.c (set_oszc): Use unsigned int for the mask.
71         (set_szc, set_osz, set_sz): Likewise.
72
73 2010-05-28  Kevin Buettner  <kevinb@redhat.com>
74
75         * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
76
77 2010-04-14  Mike Frysinger  <vapier@gentoo.org>
78
79         * gdb-if.c (sim_write): Add const to buf arg.
80
81 2010-01-30  Masaki Muranaka  <monaka@monami-software.com>
82
83         * configure.in: Check if the host has getopt.h.
84         * configure: Regenerate.
85         * config.in: Regenerate.
86         * main.c: Include config.h.
87         Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
88         Include getopt.h in case HAVE_GETOPT_H is defined.
89
90 2009-12-22  Yoshinori Sato  <ysato@users.sourceforge.jp>
91
92         * rx/rx.c (decode_opcode): btst bit address mask fix.
93
94 2009-11-30  DJ Delorie  <dj@redhat.com>
95
96         * rx/rx.c (decode_opcode): fix SWHILE logic.
97
98 2009-10-27  DJ Delorie  <dj@redhat.com>
99             Kevin Buettner <kevinb@redhat.com>
100
101         * load.h: New.
102         * rx.c: New.
103         * syscalls.c: New.
104         * syscalls.h: New.
105         * load.c: New.
106         * configure.in: New.
107         * gdb-if.c: New.
108         * err.c: New.
109         * cpu.h: New.
110         * Makefile.in: New.
111         * fpu.c: New.
112         * mem.c: New.
113         * config.in: New.
114         * err.h: New.
115         * reg.c: New.
116         * mem.h: New.
117         * main.c: New.
118         * misc.h: New.
119         * trace.c: New.
120         * misc.c: New.
121         * syscall.h: New.
122         * trace.h: New.
123         * fpu.h: New.