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