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