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