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