1fbe0a3edbc46c9aac8510124948e16496312e5a
[deliverable/binutils-gdb.git] / sim / d10v / ChangeLog
1 Thu Sep 19 21:38:20 1996 Michael Meissner <meissner@wogglebug.ziplink.net>
2
3 * simops.c (OP_{401,2000000,601,3000000,23000000}): Get sign right
4 on comparisons.
5 (OP_401): Fix tracing information.
6
7 Thu Sep 19 10:30:22 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8
9 * simops.c (SIZE_{PC,LINE_NUMBER}): New default sizes for output.
10 (trace_input_func): Use them.
11 (trace_input_func): Make sure there is a trailing space after the
12 instruction.
13 (OP_6200): Fix tracing info.
14
15 * Makefile.in (run): Add dependencies on libbfd.a and
16 libiberity.a.
17
18 Wed Sep 18 09:13:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
19
20 * d10v_sim.h (DEBUG_INSTRUCTION): New debug value to include line
21 numbers and function names in debug trace.
22 (DEBUG): If not defined, set to DEBUG_TRACE, DEBUG_VALUES, and
23 DEBUG_LINE_NUMBER.
24 (SIG_D10V_{STOP,EXIT}): Values to represent the stop instruction
25 and exit system call trap being executed.
26
27 * interp.c (sim_stop_reason): Set exit code correctly for stop
28 instruction and exit system call trap.
29
30 * configure.in (--enable-sim-cflags): Remove trace case.
31 (--enable-sim-debug): New switch to set the debug values.
32 * configure: Regenerate.
33
34 * simops.c (trace_{input,output}_func): Rename from
35 trace_{input,output}.
36 (trace_{input,output}): Call trace_{input,output}_func if
37 d10v_debug is non-zero.
38 (SIZE_INSTRUCTION): Cut down to 8.
39 (SIZE_OPERANDS): Cut down to 18.
40 (SIZE_LOCATION): New value for size of line number, function name
41 field.
42 (init_text_p,text{,_start,_end}): New static variables for
43 printing line number and function name.
44 (exec_bfd): New external that run.c sets.
45 (trace_input_func): Print line number and function name if
46 available and if desired.
47 (OP_4E09): Don't print out DBT message.
48 (OP_5FE0): Set exception field to SIG_D10V_STOP.
49 (OP_5F00): Set exception field to SIG_D10V_EXIT.
50
51 Sat Sep 14 22:18:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
52
53 * interp.c (do_2_short): If the instruction encodes jump->ins,
54 don't do the second instruction if the jump succeeds.
55
56 Fri Sep 13 22:35:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
57
58 * simops.c (OP_5F00): Use unknown traps to print all GPRs,
59 accumulators, PC, and F0/F1/C flags.
60
61 Thu Sep 12 12:50:11 1996 Mark Alexander <marka@cygnus.com>
62
63 * simops.c (OP_5F00): Fix problems with system calls.
64
65 Thu Sep 12 12:19:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
66
67 * simops.c (OP_5F00): Correct tracing information for trap.
68
69 Wed Sep 11 18:55:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
70
71 * Makefile.in (CSEARCH): Correctly find opcodes directory.
72
73 Mon Sep 9 13:27:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
74
75 * simops.c (trace_output): Properly align accumulator output.
76 (OP_3{0,2,4}00): Properly parenthesize test expression. Add error
77 if shift count is too high.
78 (OP_4E{00,02,04,20,22,40,42}): Make tests agree with book.
79 (OP_4E09): Make cpfg properly trace the input flags.
80 (op_types): Add OP_FLAG_OUTPUT.
81 (trace_{input,output}): Support OP_FLAG_OUTPUT.
82 (OP_31000000): This ld2w varient is a 16-bit memory reference, not
83 an 8-bit memory reference instruction for tracing purposes.
84 (OP_201): Addi needs to set the carry.
85
86 Fri Sep 6 17:56:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
87
88 * simops.c (OP_2600, OP_2601): Changed min and max comparisons
89 to use signed register values.
90
91 Wed Sep 4 11:35:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
92
93 * d10v_sim.h (DEBUG_*): Add bit flags for controlling debug
94 output.
95 (_ins_type): New enumeration to specify which container an
96 instruction is in, and whether it is part of a parallel operation.
97 (_state): Add ins_type field.
98 ({,u}int{8,16,32,64}): Use limits.h to size the appropriate types.
99 (ins_type_counters): Counters for the various instruction types.
100 ({left,right}_nops): Counters for the number of nops in each
101 container.
102 (d10v_debug): New variable to indicate whether debugging is turned
103 on.
104
105 * simops.c: (all functions): Change all #ifdef DEBUG code so that
106 the input and output values can be traced, along with the
107 instruction type. Make the -t option enable tracing.
108 (all functions): Change printf calls to use the printf_filtered
109 function in the callback table.
110
111 * interp.c (_leftright): New enumeration to say whether 2 short
112 instructions are done left first or right first.
113 (do_{long,2_short,parallel}): Indicate in the machine state which
114 type of instruction this is. Count each of the types of
115 instructions executed.
116 (sim_size): Only print the memory sizes if DEBUG_MEMSIZE debug
117 flag is set.
118 (sim_resume): Pass left/right indication to do_2_short.
119 (all functions): Change printf calls to use the printf_filtered
120 function in the callback table.
121 (sim_trace): Turn on debug flag if DEBUG was defined, and call
122 sim_resume.
123 (sim_info): Print out statistics on instructions.
124 (sim_{trace,create_inferior}): Eliminate extraneous output unless
125 debugging.
126 (sim_open): If args == -t and DEBUG was defined, set d10v_debug.
127 Only initialize the hash table the first time sim_open is called.
128
129 * Makefile.in: Make objects depend on d10v_sim.h.
130 ({,SIM_}CFLAGS): Include configure dependent switches. Setting
131 CFLAGS does not override host/target defines or SIM_CFLAGS.
132 (CC_FOR_BUILD,gencode): Use CC_FOR_BUILD to compile gencode.
133 (run): By default, the math library is not needed to be linked
134 in.
135 ({BFD,LIBIBERTY}_LIB): Define as variables so they can be
136 overridden.
137 (VPATH): Don't set to anything but @srcdir@ to work with non-GNU
138 makes.
139 ({run,callback}.o): Provide explicit paths to their appropriate
140 source directories.
141 (gencode{,.o},d10v-opc.o): Split compilation into creating object
142 and linking. Instead of linking in libopcodes.a, just compile
143 d10v-opc.o directly to handle canadian cross.
144 (CSEARCH): Add opcodes directory.
145
146 * configure.in (--enable-sim-cflags): New switch to allow user to
147 set the defaults.
148 (CC_FOR_BUILD): Deal with canadian crosses.
149 * configure: Regenerate.
150
151 Wed Sep 04 04:45:34 1996 Mark Alexander <marka@cygnus.com>
152
153 * simops.c: Include correct syscall.h for d10v, not host's.
154 Fix #ifdef SYS_stat.
155
156 Tue Sep 3 14:00:04 1996 Michael Meissner <meissner@tiktok.cygnus.com>
157
158 * simops.c (OP_5F00): Wrap all SYS_xxx traps with #ifdef.
159 Add trap 2 to be printf and trap 3 to be putchar.
160
161 Wed Aug 28 21:42:34 1996 Mark Alexander <marka@cygnus.com>
162
163 * Makefile.in, d10v_sim.h, interp.c, simops.c: Add support
164 for low-level system calls.
165
166 Wed Aug 28 17:33:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
167
168 * Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems.
169
170 Mon Aug 26 18:30:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
171
172 * d10v_sim.h (SEXT32): Added.
173 * interp.c: Commented out printfs.
174 * simops.c: Fixed error in sb and st2w.
175
176 Thu Aug 15 13:30:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
177
178 * Makefile.in, d10v_sim.h, interp.c, simops.c: Added remaining
179 DSP instructions. Added modulo addressing.
180
181 Sun Aug 11 12:57:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
182
183 * Makefile.in, d10v_sim.h, interp.c, simops.c: Snapshot.
184
185 Fri Aug 2 17:44:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
186
187 * d10v_sim.h, simops.c: Snapshot.
188
189 Thu Aug 1 17:05:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
190
191 * ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h,
192 gencode.c, interp.c, simops.c: Created.
193
This page took 0.039718 seconds and 4 git commands to generate.