Move CL entries from gdb/ChangeLog to gdb/testsuite/ChangeLog
[deliverable/binutils-gdb.git] / sim / aarch64 / ChangeLog
CommitLineData
ef0d8ffc
NC
12016-03-29 Nick Clifton <nickc@redhat.com>
2
3 * cpustate.c: Remove space after asterisk in function parameters.
4 * decode.h (greg): Delete unused function.
5 (vreg, shift, extension, scaling, writeback, condcode): Likewise.
6 * simulator.c: Use INSTR macro in more places.
7 (HALT_NYI): Use sim_io_eprintf in place of fprintf.
8 Remove extraneous whitespace.
9
5ab6d79e
NC
102016-03-23 Nick Clifton <nickc@redhat.com>
11
12 * cpustate.c (aarch64_get_FP_half): New function. Read a vector
13 register as a half precision floating point number.
14 (aarch64_set_FP_half): New function. Similar, but for setting
15 a half precision register.
16 (aarch64_get_thread_id): New function. Returns the value of the
17 CPU's TPIDR register.
18 (aarch64_get_FPCR): New function. Returns the value of the CPU's
19 floating point control register.
20 (aarch64_set_FPCR): New function. Set the value of the CPU's FPCR
21 register.
22 * cpustate.h: Add prototypes for new functions.
23 * sim-main.h (struct _sim_cpu): Add FPCR and tpidr fields.
24 * memory.c: Use unaligned core access functions for all memory
25 reads and writes.
26 * simulator.c (HALT_NYI): Generate an error message if tracing
27 will not tell the user why the simulator is halting.
28 (HALT_UNREACHABLE): Delete. Delete (unneeded) uses of the macro.
29 (INSTR): New time-saver macro.
30 (fldrb_abs): New function. Loads an 8-bit value using a scaled
31 offset.
32 (fldrh_abs): New function. Likewise for 16-bit values.
33 (do_vec_SSHL): Allow for negative shift values.
34 (do_vec_USHL): Likewise.
35 (do_vec_SHL): Correct computation of shift amount.
36 (do_vec_SSHR_USHR): Correct decision of signed vs unsigned
37 shifts and computation of shift value.
38 (clz): New function. Counts leading zero bits.
39 (do_vec_CLZ): New function. Implements CLZ (vector).
40 (do_vec_MOV_element): Call do_vec_CLZ.
41 (dexSimpleFPCondCompare): Implement.
42 (do_FCVT_half_to_single): New function. Implements one of the
43 FCVT operations.
44 (do_FCVT_half_to_double): New function. Likewise.
45 (do_FCVT_single_to_half): New function. Likewise.
46 (do_FCVT_double_to_half): New function. Likewise.
47 (dexSimpleFPDataProc1Source): Call new FCVT functions.
48 (do_scalar_SHL): Handle negative shifts.
49 (do_scalar_shift): Handle SSHR.
50 (do_scalar_USHL): New function.
51 (do_double_add): Simplify to just performing a double precision
52 add operation. Move remaining code into...
53 (do_scalar_vec): ... New function.
54 (dexLoadUnsignedImmediate): Call new fldrb_abs and fldrh_abs
55 functions.
56 (system_get): Add support for TPIDR, CTR, FPCR, FPSR and CPSR
57 registers.
58 (system_set): New function.
59 (do_MSR_immediate): New function. Stub for now.
60 (do_MSR_reg): New function. Likewise. Partially implements MSR
61 instruction.
62 (do_SYS): New function. Stub for now,
63 (dexSystem): Call new functions.
64
e101a78b
NC
652016-03-18 Nick Clifton <nickc@redhat.com>
66
67 * cpustate.c: Remove spurious spaces from TRACE strings.
68 Print hex equivalents of floats and doubles.
69 Check element number against array size when accessing vector
70 registers.
4c0ca98e
NC
71 (GET_VEC_ELEMENT): Fix off by one error checking for an invalid
72 element index.
73 (SET_VEC_ELEMENT): Likewise.
87bba7a5 74 (GET_VEC_ELEMENT): And fix thinko using macro arguments.
4c0ca98e 75
e101a78b
NC
76 * memory.c: Trace memory reads when --trace-memory is enabled.
77 Remove float and double load and store functions.
78 * memory.h (aarch64_get_mem_float): Delete prototype.
79 (aarch64_get_mem_double): Likewise.
80 (aarch64_set_mem_float): Likewise.
81 (aarch64_set_mem_double): Likewise.
82 * simulator (IS_SET): Always return either 0 or 1.
83 (IS_CLEAR): Likewise.
84 (fldrs_pcrel): Load and store floats using 32-bit memory accesses
85 and doubles using 64-bit memory accesses.
86 (fldrd_pcrel, fldrs_wb, fldrs_abs, fldrs_scale_ext): Likewise.
87 (fldrd_wb, fldrd_abs, fsturs, fsturd, fldurs, fldurd): Likewise.
88 (fstrs_abs, fstrs_wb, fstrs_scale_ext, fstrd_abs): Likewise.
89 (fstrd_wb, fstrd_scale_ext, store_pair_float): Likewise.
90 (store_pair_double, load_pair_float, load_pair_double): Likewise.
91 (do_vec_MUL_by_element): New function.
92 (do_vec_op2): Call do_vec_MUL_by_element.
93 (do_scalar_NEG): New function.
94 (do_double_add): Call do_scalar_NEG.
95
57aa1742
NC
962016-03-03 Nick Clifton <nickc@redhat.com>
97
98 * simulator.c (set_flags_for_sub32): Correct type of signbit.
99 (CondCompare): Swap interpretation of bit 30.
100 (DO_ADDP): Delete macro.
101 (do_vec_ADDP): Copy source registers before starting to update
102 destination register.
103 (do_vec_FADDP): Likewise.
104 (do_vec_load_store): Fix computation of sizeof_operation.
105 (rbit64): Fix type of constant.
106 (aarch64_step): When displaying insn value, display all 32 bits.
107
ce39bd38
MF
1082016-01-10 Mike Frysinger <vapier@gentoo.org>
109
110 * config.in, configure: Regenerate.
111
e19418e0
MF
1122016-01-10 Mike Frysinger <vapier@gentoo.org>
113
114 * configure: Regenerate.
115
16f7876d
MF
1162016-01-10 Mike Frysinger <vapier@gentoo.org>
117
118 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
119 * configure: Regenerate.
120
99d8e879
MF
1212016-01-10 Mike Frysinger <vapier@gentoo.org>
122
123 * configure: Regenerate.
35656e95
MF
124
1252016-01-10 Mike Frysinger <vapier@gentoo.org>
126
127 * configure: Regenerate.
99d8e879 128
347fe5bb
MF
1292016-01-10 Mike Frysinger <vapier@gentoo.org>
130
131 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
132 * configure: Regenerate.
133
22be3fbe
MF
1342016-01-10 Mike Frysinger <vapier@gentoo.org>
135
136 * configure: Regenerate.
137
0dc73ef7
MF
1382016-01-10 Mike Frysinger <vapier@gentoo.org>
139
140 * configure: Regenerate.
141
936df756
MF
1422016-01-09 Mike Frysinger <vapier@gentoo.org>
143
144 * config.in, configure: Regenerate.
145
2e3d4f4d
MF
1462016-01-06 Mike Frysinger <vapier@gentoo.org>
147
148 * interp.c (sim_create_inferior): Mark argv and env const.
149 (sim_open): Mark argv const.
150
1a846c62
MF
1512016-01-05 Mike Frysinger <vapier@gentoo.org>
152
153 * interp.c: Delete dis-asm.h include.
154 (info, opbuf, op_printf, aarch64_print_insn, sim_dis_read): Delete.
155 (sim_create_inferior): Delete disassemble init logic.
156 (OPTION_DISAS, aarch64_option_handler, aarch64_options): Delete.
157 (sim_open): Delete sim_add_option_table call.
158 * memory.c (mem_error): Delete disas check.
159 * simulator.c: Delete dis-asm.h include.
160 (disas): Delete.
161 (HALT_UNALLOC): Replace disassembly logic with TRACE_DISASM.
162 (HALT_NYI): Likewise.
163 (handle_halt): Delete disas call.
164 (aarch64_step): Replace disas logic with TRACE_DISASM.
165 * simulator.h: Delete dis-asm.h include.
166 (aarch64_print_insn): Delete.
167
bc273e17
MF
1682016-01-04 Mike Frysinger <vapier@gentoo.org>
169
170 * simulator.c (MAX, MIN): Delete.
171 (do_vec_maxv): Change MAX to max and MIN to min.
172 (do_vec_fminmaxV): Likewise.
173
ac8eefeb
TG
1742016-01-04 Tristan Gingold <gingold@adacore.com>
175
176 * simulator.c: Remove syscall.h include.
177
9bbf6f91
MF
1782016-01-04 Mike Frysinger <vapier@gentoo.org>
179
180 * configure: Regenerate.
181
0cb8d851
MF
1822016-01-03 Mike Frysinger <vapier@gentoo.org>
183
184 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
185 * configure: Regenerate.
186
1ac72f06
MF
1872016-01-02 Mike Frysinger <vapier@gentoo.org>
188
189 * configure: Regenerate.
190
5d015275
MF
1912015-12-27 Mike Frysinger <vapier@gentoo.org>
192
193 * interp.c (sim_dis_read): Change private_data to application_data.
194 (sim_create_inferior): Likewise.
195
5e744ef8
MF
1962015-12-27 Mike Frysinger <vapier@gentoo.org>
197
198 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
199
1b393626
MF
2002015-12-26 Mike Frysinger <vapier@gentoo.org>
201
202 * config.in, configure: Regenerate.
203
0e967299
MF
2042015-12-26 Mike Frysinger <vapier@gentoo.org>
205
206 * interp.c (sim_create_inferior): Update comment and argv check.
207
f66affe9
MF
2082015-12-14 Nick Clifton <nickc@redhat.com>
209
210 * simulator.c (system_get): New function. Provides read
211 access to the dczid system register.
212 (do_mrs): New function - implements the MRS instruction.
213 (dexSystem): Call do_mrs for the MRS instruction. Halt on
214 unimplemented system instructions.
215
2162015-11-24 Nick Clifton <nickc@redhat.com>
217
218 * configure.ac: New configure template.
219 * aclocal.m4: Generate.
220 * config.in: Generate.
221 * configure: Generate.
222 * cpustate.c: New file - functions for accessing AArch64 registers.
223 * cpustate.h: New header.
224 * decode.h: New header.
225 * interp.c: New file - interface between GDB and simulator.
226 * Makefile.in: New makefile template.
227 * memory.c: New file - functions for simulating aarch64 memory
228 accesses.
229 * memory.h: New header.
230 * sim-main.h: New header.
231 * simulator.c: New file - aarch64 simulator functions.
232 * simulator.h: New header.
This page took 0.042136 seconds and 4 git commands to generate.