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