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