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