]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/d10v/ChangeLog
Correct trap tracing information
[thirdparty/binutils-gdb.git] / sim / d10v / ChangeLog
1 Thu Sep 12 12:19:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2
3 * simops.c (OP_5F00): Correct tracing information for trap.
4
5 Wed Sep 11 18:55:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6
7 * Makefile.in (CSEARCH): Correctly find opcodes directory.
8
9 Mon Sep 9 13:27:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10
11 * simops.c (trace_output): Properly align accumulator output.
12 (OP_3{0,2,4}00): Properly parenthesize test expression. Add error
13 if shift count is too high.
14 (OP_4E{00,02,04,20,22,40,42}): Make tests agree with book.
15 (OP_4E09): Make cpfg properly trace the input flags.
16 (op_types): Add OP_FLAG_OUTPUT.
17 (trace_{input,output}): Support OP_FLAG_OUTPUT.
18 (OP_31000000): This ld2w varient is a 16-bit memory reference, not
19 an 8-bit memory reference instruction for tracing purposes.
20 (OP_201): Addi needs to set the carry.
21
22 Fri Sep 6 17:56:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
23
24 * simops.c (OP_2600, OP_2601): Changed min and max comparisons
25 to use signed register values.
26
27 Wed Sep 4 11:35:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
28
29 * d10v_sim.h (DEBUG_*): Add bit flags for controlling debug
30 output.
31 (_ins_type): New enumeration to specify which container an
32 instruction is in, and whether it is part of a parallel operation.
33 (_state): Add ins_type field.
34 ({,u}int{8,16,32,64}): Use limits.h to size the appropriate types.
35 (ins_type_counters): Counters for the various instruction types.
36 ({left,right}_nops): Counters for the number of nops in each
37 container.
38 (d10v_debug): New variable to indicate whether debugging is turned
39 on.
40
41 * simops.c: (all functions): Change all #ifdef DEBUG code so that
42 the input and output values can be traced, along with the
43 instruction type. Make the -t option enable tracing.
44 (all functions): Change printf calls to use the printf_filtered
45 function in the callback table.
46
47 * interp.c (_leftright): New enumeration to say whether 2 short
48 instructions are done left first or right first.
49 (do_{long,2_short,parallel}): Indicate in the machine state which
50 type of instruction this is. Count each of the types of
51 instructions executed.
52 (sim_size): Only print the memory sizes if DEBUG_MEMSIZE debug
53 flag is set.
54 (sim_resume): Pass left/right indication to do_2_short.
55 (all functions): Change printf calls to use the printf_filtered
56 function in the callback table.
57 (sim_trace): Turn on debug flag if DEBUG was defined, and call
58 sim_resume.
59 (sim_info): Print out statistics on instructions.
60 (sim_{trace,create_inferior}): Eliminate extraneous output unless
61 debugging.
62 (sim_open): If args == -t and DEBUG was defined, set d10v_debug.
63 Only initialize the hash table the first time sim_open is called.
64
65 * Makefile.in: Make objects depend on d10v_sim.h.
66 ({,SIM_}CFLAGS): Include configure dependent switches. Setting
67 CFLAGS does not override host/target defines or SIM_CFLAGS.
68 (CC_FOR_BUILD,gencode): Use CC_FOR_BUILD to compile gencode.
69 (run): By default, the math library is not needed to be linked
70 in.
71 ({BFD,LIBIBERTY}_LIB): Define as variables so they can be
72 overridden.
73 (VPATH): Don't set to anything but @srcdir@ to work with non-GNU
74 makes.
75 ({run,callback}.o): Provide explicit paths to their appropriate
76 source directories.
77 (gencode{,.o},d10v-opc.o): Split compilation into creating object
78 and linking. Instead of linking in libopcodes.a, just compile
79 d10v-opc.o directly to handle canadian cross.
80 (CSEARCH): Add opcodes directory.
81
82 * configure.in (--enable-sim-cflags): New switch to allow user to
83 set the defaults.
84 (CC_FOR_BUILD): Deal with canadian crosses.
85 * configure: Regenerate.
86
87 Wed Sep 04 04:45:34 1996 Mark Alexander <marka@cygnus.com>
88
89 * simops.c: Include correct syscall.h for d10v, not host's.
90 Fix #ifdef SYS_stat.
91
92 Tue Sep 3 14:00:04 1996 Michael Meissner <meissner@tiktok.cygnus.com>
93
94 * simops.c (OP_5F00): Wrap all SYS_xxx traps with #ifdef.
95 Add trap 2 to be printf and trap 3 to be putchar.
96
97 Wed Aug 28 21:42:34 1996 Mark Alexander <marka@cygnus.com>
98
99 * Makefile.in, d10v_sim.h, interp.c, simops.c: Add support
100 for low-level system calls.
101
102 Wed Aug 28 17:33:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
103
104 * Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems.
105
106 Mon Aug 26 18:30:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
107
108 * d10v_sim.h (SEXT32): Added.
109 * interp.c: Commented out printfs.
110 * simops.c: Fixed error in sb and st2w.
111
112 Thu Aug 15 13:30:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
113
114 * Makefile.in, d10v_sim.h, interp.c, simops.c: Added remaining
115 DSP instructions. Added modulo addressing.
116
117 Sun Aug 11 12:57:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
118
119 * Makefile.in, d10v_sim.h, interp.c, simops.c: Snapshot.
120
121 Fri Aug 2 17:44:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
122
123 * d10v_sim.h, simops.c: Snapshot.
124
125 Thu Aug 1 17:05:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
126
127 * ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h,
128 gencode.c, interp.c, simops.c: Created.
129