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