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