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