]>
Commit | Line | Data |
---|---|---|
982c3a65 MF |
1 | 2021-06-18 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * configure: Regenerate. | |
4 | ||
1fef66b0 MF |
5 | 2021-06-18 Mike Frysinger <vapier@gentoo.org> |
6 | ||
7 | * cpustate.c: Include sim-signal.h. | |
8 | * memory.c, simulator.c: Likewise. | |
9 | ||
f9a4d543 MF |
10 | 2021-06-17 Mike Frysinger <vapier@gentoo.org> |
11 | ||
12 | * configure.ac: Delete SIM_AC_OPTION_ENDIAN call. | |
13 | * aclocal.m4, configure: Regenerate. | |
14 | ||
a8a3d907 MF |
15 | 2021-06-16 Mike Frysinger <vapier@gentoo.org> |
16 | ||
17 | * configure: Regenerate. | |
18 | ||
52d37d2c MF |
19 | 2021-06-16 Mike Frysinger <vapier@gentoo.org> |
20 | ||
21 | * configure: Regenerate. | |
22 | * config.in: Removed. | |
23 | ||
bcaa61f7 MF |
24 | 2021-06-15 Mike Frysinger <vapier@gentoo.org> |
25 | ||
26 | * config.in, configure: Regenerate. | |
27 | ||
82e6d6bf MF |
28 | 2021-06-14 Mike Frysinger <vapier@gentoo.org> |
29 | ||
30 | * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS. | |
31 | * configure: Regenerate. | |
32 | ||
ba307cdd MF |
33 | 2021-06-12 Mike Frysinger <vapier@gentoo.org> |
34 | ||
35 | * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT. | |
36 | * interp.c (sim_open): Set current_alignment. | |
37 | ||
dba333c1 MF |
38 | 2021-06-12 Mike Frysinger <vapier@gentoo.org> |
39 | ||
40 | * aclocal.m4, config.in, configure: Regenerate. | |
41 | ||
b15c5d7a MF |
42 | 2021-06-12 Mike Frysinger <vapier@gentoo.org> |
43 | ||
44 | * config.in, configure: Regenerate. | |
45 | ||
f4fdd845 MF |
46 | 2021-05-17 Mike Frysinger <vapier@gentoo.org> |
47 | ||
48 | * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete. | |
49 | ||
383861bd MF |
50 | 2021-05-17 Mike Frysinger <vapier@gentoo.org> |
51 | ||
52 | * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define. | |
53 | (struct sim_state): Delete. | |
54 | ||
6df01ab8 MF |
55 | 2021-05-16 Mike Frysinger <vapier@gentoo.org> |
56 | ||
57 | * cpustate.c: Include defs.h. | |
58 | * interp.c: Replace config.h include with defs.h. | |
59 | * memory.c, simulator.c: Likewise. | |
60 | * cpustate.h, simulator.h: Delete config.h include. | |
61 | ||
79633c12 MF |
62 | 2021-05-16 Mike Frysinger <vapier@gentoo.org> |
63 | ||
64 | * config.in, configure: Regenerate. | |
65 | ||
df68e12b MF |
66 | 2021-05-14 Mike Frysinger <vapier@gentoo.org> |
67 | ||
68 | * cpustate.h: Update include path. | |
69 | * interp.c: Likewise. | |
70 | ||
aa0fca16 MF |
71 | 2021-05-04 Mike Frysinger <vapier@gentoo.org> |
72 | ||
73 | * configure: Regenerate. | |
74 | ||
fe348617 MF |
75 | 2021-05-01 Mike Frysinger <vapier@gentoo.org> |
76 | ||
77 | * config.in, configure: Regenerate. | |
78 | ||
f1ca3215 MF |
79 | 2021-05-01 Mike Frysinger <vapier@gentoo.org> |
80 | ||
81 | * cpustate.c (aarch64_set_FP_float): Change lx to PRIx64. | |
82 | (aarch64_set_FP_double, aarch64_set_FP_long_double, | |
83 | aarch64_set_vec_u64, aarch64_set_vec_s64): Likewise. | |
84 | ||
ce224813 MF |
85 | 2021-05-01 Mike Frysinger <vapier@gentoo.org> |
86 | ||
87 | * simulator.c (do_fcvtzu): Change UL to ULL. | |
88 | ||
66d055c7 MF |
89 | 2021-04-26 Mike Frysinger <vapier@gentoo.org> |
90 | ||
91 | * aclocal.m4, config.in, configure: Regenerate. | |
92 | ||
19f6a43c TT |
93 | 2021-04-22 Tom Tromey <tom@tromey.com> |
94 | ||
95 | * configure, config.in: Rebuild. | |
96 | ||
efd82ac7 TT |
97 | 2021-04-22 Tom Tromey <tom@tromey.com> |
98 | ||
99 | * configure: Rebuild. | |
100 | ||
2662c237 MF |
101 | 2021-04-21 Mike Frysinger <vapier@gentoo.org> |
102 | ||
103 | * aclocal.m4: Regenerate. | |
104 | ||
1f195bc3 SM |
105 | 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> |
106 | ||
107 | * configure: Regenerate. | |
108 | ||
37e9f182 MF |
109 | 2021-04-18 Mike Frysinger <vapier@gentoo.org> |
110 | ||
111 | * configure: Regenerate. | |
112 | ||
d5a71b11 MF |
113 | 2021-04-12 Mike Frysinger <vapier@gentoo.org> |
114 | ||
115 | * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. | |
116 | ||
0592e80b JW |
117 | 2021-04-07 Jim Wilson <jimw@sifive.com> |
118 | ||
119 | PR sim/27483 | |
120 | * simulator.c (set_flags_for_add32): Compare uresult against | |
121 | itself. Compare sresult against itself. | |
122 | ||
c2783492 MF |
123 | 2021-04-02 Mike Frysinger <vapier@gentoo.org> |
124 | ||
125 | * aclocal.m4, configure: Regenerate. | |
126 | ||
ebe9564b MF |
127 | 2021-02-28 Mike Frysinger <vapier@gentoo.org> |
128 | ||
129 | * configure: Regenerate. | |
130 | ||
760b3e8b MF |
131 | 2021-02-21 Mike Frysinger <vapier@gentoo.org> |
132 | ||
133 | * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. | |
134 | * aclocal.m4, configure: Regenerate. | |
135 | ||
136da8cd MF |
136 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> |
137 | ||
138 | * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. | |
139 | * aclocal.m4, configure: Regenerate. | |
140 | ||
aa09469f MF |
141 | 2021-02-06 Mike Frysinger <vapier@gentoo.org> |
142 | ||
143 | * configure: Regenerate. | |
144 | ||
68ed2854 MF |
145 | 2021-01-11 Mike Frysinger <vapier@gentoo.org> |
146 | ||
147 | * config.in, configure: Regenerate. | |
148 | ||
bf470982 MF |
149 | 2021-01-09 Mike Frysinger <vapier@gentoo.org> |
150 | ||
151 | * configure: Regenerate. | |
152 | ||
46f900c0 MF |
153 | 2021-01-08 Mike Frysinger <vapier@gentoo.org> |
154 | ||
155 | * configure: Regenerate. | |
156 | ||
dfb856ba MF |
157 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> |
158 | ||
159 | * configure: Regenerate. | |
160 | ||
69b1ffdb CB |
161 | 2020-02-06 Carlo Bramini <carlo_bramini@users.sourceforge.net> |
162 | ||
163 | PR sim/25318 | |
164 | * simulator.c (blr): Read destination register before calling | |
165 | aarch64_save_LR. | |
166 | ||
cd5b6074 AB |
167 | 2019-03-28 Andrew Burgess <andrew.burgess@embecosm.com> |
168 | ||
169 | * cpustate.c: Add 'libiberty.h' include. | |
170 | * interp.c: Add 'sim-assert.h' include. | |
171 | ||
5c887dd5 JB |
172 | 2017-09-06 John Baldwin <jhb@FreeBSD.org> |
173 | ||
174 | * configure: Regenerate. | |
175 | ||
bf155438 JW |
176 | 2017-04-22 Jim Wilson <jim.wilson@linaro.org> |
177 | ||
178 | * simulator.c (vec_load): Add M argument. Rewrite to iterate over | |
179 | registers based on structure size. | |
180 | (LD4, LD3, LD2, LD1_2, LD1_3, LD1_4): Pass new arg to vec_load. | |
181 | (LD1_1): Replace with call to vec_load. | |
182 | (vec_store): Add new M argument. Rewrite to iterate over registers | |
183 | based on structure size. | |
184 | (ST4, ST3, ST2, ST1_2, ST1_3, ST1_4): Pass new arg to vec_store. | |
185 | (ST1_1): Replace with call to vec_store. | |
186 | ||
ae27d3fe JW |
187 | 2017-04-08 Jim Wilson <jim.wilson@linaro.org> |
188 | ||
b630840c JW |
189 | * simulator.c (do_vec_FCVTL): New. |
190 | (do_vec_op1): Call do_vec_FCVTL. | |
191 | ||
ae27d3fe JW |
192 | * simulator.c (do_scalar_FCMGE_zero, do_scalar_FCMLE_zero, |
193 | do_scalar_FCMGT_zero, do_scalar_FCMEQ_zero, do_scalar_FCMLT_zero): New. | |
194 | (do_scalar_vec): Add calls to new functions. | |
195 | ||
f1241682 JW |
196 | 2017-03-25 Jim Wilson <jim.wilson@linaro.org> |
197 | ||
198 | * simulator.c (set_flags_for_add32): Cast result to uint32_t in carry | |
199 | flag check. | |
200 | ||
8ecbe595 JW |
201 | 2017-03-03 Jim Wilson <jim.wilson@linaro.org> |
202 | ||
203 | * simulator.c (mul64hi): Shift carry left by 32. | |
204 | (smulh): Change signum to negate. If negate, invert result, and add | |
205 | carry bit if low part of multiply result is zero. | |
206 | ||
ac189e7b JW |
207 | 2017-02-25 Jim Wilson <jim.wilson@linaro.org> |
208 | ||
152e1e1b JW |
209 | * simulator.c (do_vec_SMOV_into_scalar): New. |
210 | (do_vec_UMOV_into_scalar): Renamed from do_vec_MOV_into_scalar. | |
211 | Rewritten. | |
212 | (do_vec_UMOV): Merged into do_vec_UMOV_into_scalar and deleted. | |
213 | (do_vec_op1): Move do_vec_TRN call and do_vec_UZP call. Add | |
214 | do_vec_SMOV_into_scalar call. Delete do_vec_MOV_into_scalar and | |
215 | do_vec_UMOV calls. Add do_vec_UMOV_into_scalar call. | |
216 | ||
ac189e7b JW |
217 | * simulator.c (popcount): New. |
218 | (do_vec_CNT): New. | |
219 | (do_vec_op1): Add do_vec_CNT call. | |
220 | ||
2e7e5e28 JW |
221 | 2017-02-19 Jim Wilson <jim.wilson@linaro.org> |
222 | ||
223 | * simulator.c (do_vec_ADDV): Mov val declaration inside each case, | |
224 | with type set to input type size. | |
225 | (do_vec_xtl): Change bias from 3 to 4 for byte case. | |
226 | ||
e8f42b5e JW |
227 | 2017-02-14 Jim Wilson <jim.wilson@linaro.org> |
228 | ||
742e3a77 JW |
229 | * simulator.c (do_vec_MLA): Rewrite switch body. |
230 | ||
bf25e9a0 JW |
231 | * simulator.c (do_vec_bit): Change loop limits from 16 and 8 to 4 and |
232 | 2. Move test_false if inside loop. Fix logic for computing result | |
233 | stored to vd. | |
234 | ||
e8f42b5e JW |
235 | * simulator.c: (LDn_STn_SINGLE_LANE_AND_SIZE): New. |
236 | (do_vec_LDn_single, do_vec_STn_single): New. | |
237 | (do_vec_LDnR): Add and set new nregs var. Replace switch on nregs with | |
238 | loop over nregs using new var n. Add n times size to address in loop. | |
239 | Add n to vd in loop. | |
240 | (do_vec_load_store): Add comment for instruction bit 24. New var | |
241 | single to hold instruction bit 24. Add new code to use single. Move | |
242 | ldnr support inside single if statements. Fix ldnr register counts | |
243 | inside post if statement. Change HALT_NYI calls to HALT_UNALLOC. | |
244 | ||
fbf32f63 JW |
245 | 2017-01-23 Jim Wilson <jim.wilson@linaro.org> |
246 | ||
247 | * simulator.c (do_vec_compare): Add case 0x23 for CMTST. | |
248 | ||
05b3d79d JW |
249 | 2017-01-17 Jim Wilson <jim.wilson@linaro.org> |
250 | ||
251 | * simulator.c (do_vec_ADDV): Call aarch64_set_vec_u64 instead of | |
252 | aarch64_set_reg_u64. In case 2, call HALT_UNALLOC if not full. In | |
253 | case 3, call HALT_UNALLOC unconditionally. | |
254 | (do_vec_XTN): Delete shifts. In case 2, change index from i + 4 to | |
255 | i + 2. Delete if on bias, change index to i + bias * X. | |
256 | ||
a4fb5981 JW |
257 | 2017-01-09 Jim Wilson <jim.wilson@linaro.org> |
258 | ||
259 | * simulator.c (do_vec_UZP): Rewrite. | |
260 | ||
c0386d4d JW |
261 | 2017-01-04 Jim Wilson <jim.wilson@linaro.org> |
262 | ||
263 | * cpustate.c: Include math.h. | |
264 | (aarch64_set_FP_float): Use signbit to check for signed zero. | |
265 | (aarch64_set_FP_double): Likewise. | |
266 | * simulator.c (do_vec_MOV_immediate, case 0x8): Add missing break. | |
267 | (do_vec_mul): In all DO_VEC_WIDENING_MUL calls, make second and fourth | |
268 | args same size as third arg. | |
269 | (fmaxnm): Use isnan instead of fpclassify. | |
270 | (fminnm, dmaxnm, dminnm): Likewise. | |
271 | (do_vec_MLS): Reverse order of subtraction operands. | |
272 | (dexSimpleFPCondSelect): Call aarch64_get_FP_double or | |
273 | aarch64_get_FP_float to get source register contents. | |
274 | (UINT_MIN, ULONG_MIN, FLOAT_UINT_MAX, FLOAT_UINT_MIN, | |
275 | DOUBLE_UINT_MAX, DOUBLE_UINT_MIN, FLOAT_ULONG_MAX, FLOAT_ULONG_MIN, | |
276 | DOUBLE_ULONG_MAX, DOUBLE_ULONG_MIN): New. | |
277 | (do_fcvtzu): Use ULONG instead of LONG, and UINT instead of INT in | |
278 | raise_exception calls. | |
279 | ||
87903eaf JW |
280 | 2016-12-21 Jim Wilson <jim.wilson@linaro.org> |
281 | ||
282 | * simulator.c (set_flags_for_float_compare): Add code to handle Inf. | |
283 | Add comment to document NaN issue. | |
284 | (set_flags_for_double_compare): Likewise. | |
285 | ||
963201cf JW |
286 | 2016-12-13 Jim Wilson <jim.wilson@linaro.org> |
287 | ||
288 | * simulator.c (NEG, POS): Move before set_flags_for_add64. | |
289 | (set_flags_for_add64): Replace with a modified copy of | |
290 | set_flags_for_sub64. | |
291 | ||
668650d5 JW |
292 | 2016-12-03 Jim Wilson <jim.wilson@linaro.org> |
293 | ||
294 | * simulator.c (tbnz, tbz): Cast 1 to uint64_t before shifting. | |
295 | (dexTestBranchImmediate): Shift high bit of pos by 5 not 4. | |
296 | ||
88ddd4a1 JW |
297 | 2016-12-01 Jim Wilson <jim.wilson@linaro.org> |
298 | ||
88256e71 | 299 | * simulator.c (fsturs): Switch use of rn and st variables. |
88ddd4a1 JW |
300 | (fsturd, fsturq): Likewise |
301 | ||
5357150c MF |
302 | 2016-08-15 Mike Frysinger <vapier@gentoo.org> |
303 | ||
304 | * interp.c: Include bfd.h. | |
305 | (symcount, symtab, aarch64_get_sym_value): Delete. | |
306 | (remove_useless_symbols): Change count type to long. | |
307 | (aarch64_get_func): Add SIM_DESC to arg list. Add symcount | |
308 | and symtab local variables. | |
309 | (sim_create_inferior): Delete storage. Replace symbol code | |
310 | with a call to trace_load_symbols. | |
311 | * memory.c: Delete bfd.h, elf/internal.h, and elf/common.h | |
312 | includes. | |
313 | (aarch64_get_heap_start): Change aarch64_get_sym_value to | |
314 | trace_sym_value. | |
315 | * memory.h: Delete bfd.h include. | |
316 | (mem_add_blk): Delete unused prototype. | |
317 | * simulator.c (bl, blr): Pass SIM_DESC to aarch64_get_func. | |
318 | * simulator.c (aarch64_get_func): Add SIM_DESC to arg list. | |
319 | (aarch64_get_sym_value): Delete. | |
320 | ||
b14bdb3b NC |
321 | 2016-08-12 Nick Clifton <nickc@redhat.com> |
322 | ||
323 | * simulator.c (aarch64_step): Revert pervious delta. | |
324 | (aarch64_run): Call sim_events_tick after each | |
325 | instruction is simulated, and if necessary call | |
326 | sim_events_process. | |
327 | * simulator.h: Revert previous delta. | |
328 | ||
6a277579 NC |
329 | 2016-08-11 Nick Clifton <nickc@redhat.com> |
330 | ||
331 | * interp.c (sim_create_inferior): Allow for being called with a | |
332 | NULL abfd parameter. If a bfd is provided, initialise the sim | |
333 | with that start address. | |
334 | * simulator.c (HALT_NYI): Just print out the numeric value of the | |
335 | instruction when not tracing. | |
b14bdb3b NC |
336 | (aarch64_step): Change from static to global. |
337 | * simulator.h: Add a prototype for aarch64_step(). | |
6a277579 | 338 | |
293acfae AM |
339 | 2016-07-27 Alan Modra <amodra@gmail.com> |
340 | ||
341 | * memory.c: Don't include libbfd.h. | |
342 | ||
0f118bc7 NC |
343 | 2016-07-21 Nick Clifton <nickc@redhat.com> |
344 | ||
0c66ea4c | 345 | * simulator.c (fsqrts): Use sqrtf rather than sqrt. |
0f118bc7 | 346 | |
c7be4414 JW |
347 | 2016-06-30 Jim Wilson <jim.wilson@linaro.org> |
348 | ||
349 | * cpustate.h: Include config.h. | |
350 | (union GRegisterValue): Add WORDS_BIGENDIAN check. For big endian code | |
351 | use anonymous structs to align members. | |
352 | * simulator.c (aarch64_step): Use sim_core_read_buffer and | |
353 | endian_le2h_4 to read instruction from pc. | |
354 | ||
fd7ed446 NC |
355 | 2016-05-06 Nick Clifton <nickc@redhat.com> |
356 | ||
357 | * simulator.c (do_FMLA_by_element): New function. | |
358 | (do_vec_op2): Call it. | |
359 | ||
2cdad34c NC |
360 | 2016-04-27 Nick Clifton <nickc@redhat.com> |
361 | ||
362 | * simulator.c: Add TRACE_DECODE statements to all emulation | |
363 | functions. | |
364 | ||
7517e550 NC |
365 | 2016-03-30 Nick Clifton <nickc@redhat.com> |
366 | ||
367 | * cpustate.c (aarch64_set_reg_s32): New function. | |
368 | (aarch64_set_reg_u32): New function. | |
369 | (aarch64_get_FP_half): Place half precision value into the correct | |
370 | slot of the union. | |
371 | (aarch64_set_FP_half): Likewise. | |
372 | * cpustate.h: Add prototypes for aarch64_set_reg_s32 and | |
373 | aarch64_set_reg_u32. | |
374 | * memory.c (FETCH_FUNC): Cast the read value to the access type | |
375 | before converting it to the return type. Rename to FETCH_FUNC64. | |
376 | (FETCH_FUNC32): New macro. Duplicates FETCH_FUNC64 but for 32-bit | |
377 | accesses. Use for 32-bit memory access functions. | |
378 | * simulator.c (ldrsb_wb): Use sign extension not zero extension. | |
379 | (ldrb_scale_ext, ldrsh32_abs, ldrsh32_wb): Likewise. | |
380 | (ldrsh32_scale_ext, ldrsh_abs, ldrsh64_wb): Likewise. | |
381 | (ldrsh_scale_ext, ldrsw_abs): Likewise. | |
382 | (ldrh32_abs): Store 32 bit value not 64-bits. | |
383 | (ldrh32_wb, ldrh32_scale_ext): Likewise. | |
384 | (do_vec_MOV_immediate): Fix computation of val. | |
385 | (do_vec_MVNI): Likewise. | |
386 | (DO_VEC_WIDENING_MUL): New macro. | |
387 | (do_vec_mull): Use new macro. | |
388 | (do_vec_mul): Use new macro. | |
389 | (do_vec_MLA): Read values before writing. | |
390 | (do_vec_xtl): Likewise. | |
391 | (do_vec_SSHL): Select correct shift value. | |
392 | (do_vec_USHL): Likewise. | |
393 | (do_scalar_UCVTF): New function. | |
394 | (do_scalar_vec): Call new function. | |
395 | (store_pair_u64): Treat reads of SP as reads of XZR. | |
396 | ||
ef0d8ffc NC |
397 | 2016-03-29 Nick Clifton <nickc@redhat.com> |
398 | ||
399 | * cpustate.c: Remove space after asterisk in function parameters. | |
400 | * decode.h (greg): Delete unused function. | |
401 | (vreg, shift, extension, scaling, writeback, condcode): Likewise. | |
402 | * simulator.c: Use INSTR macro in more places. | |
403 | (HALT_NYI): Use sim_io_eprintf in place of fprintf. | |
404 | Remove extraneous whitespace. | |
405 | ||
5ab6d79e NC |
406 | 2016-03-23 Nick Clifton <nickc@redhat.com> |
407 | ||
408 | * cpustate.c (aarch64_get_FP_half): New function. Read a vector | |
409 | register as a half precision floating point number. | |
410 | (aarch64_set_FP_half): New function. Similar, but for setting | |
411 | a half precision register. | |
412 | (aarch64_get_thread_id): New function. Returns the value of the | |
413 | CPU's TPIDR register. | |
414 | (aarch64_get_FPCR): New function. Returns the value of the CPU's | |
415 | floating point control register. | |
416 | (aarch64_set_FPCR): New function. Set the value of the CPU's FPCR | |
417 | register. | |
418 | * cpustate.h: Add prototypes for new functions. | |
419 | * sim-main.h (struct _sim_cpu): Add FPCR and tpidr fields. | |
420 | * memory.c: Use unaligned core access functions for all memory | |
421 | reads and writes. | |
422 | * simulator.c (HALT_NYI): Generate an error message if tracing | |
423 | will not tell the user why the simulator is halting. | |
424 | (HALT_UNREACHABLE): Delete. Delete (unneeded) uses of the macro. | |
425 | (INSTR): New time-saver macro. | |
426 | (fldrb_abs): New function. Loads an 8-bit value using a scaled | |
427 | offset. | |
428 | (fldrh_abs): New function. Likewise for 16-bit values. | |
429 | (do_vec_SSHL): Allow for negative shift values. | |
430 | (do_vec_USHL): Likewise. | |
431 | (do_vec_SHL): Correct computation of shift amount. | |
432 | (do_vec_SSHR_USHR): Correct decision of signed vs unsigned | |
433 | shifts and computation of shift value. | |
434 | (clz): New function. Counts leading zero bits. | |
435 | (do_vec_CLZ): New function. Implements CLZ (vector). | |
436 | (do_vec_MOV_element): Call do_vec_CLZ. | |
437 | (dexSimpleFPCondCompare): Implement. | |
438 | (do_FCVT_half_to_single): New function. Implements one of the | |
439 | FCVT operations. | |
440 | (do_FCVT_half_to_double): New function. Likewise. | |
441 | (do_FCVT_single_to_half): New function. Likewise. | |
442 | (do_FCVT_double_to_half): New function. Likewise. | |
443 | (dexSimpleFPDataProc1Source): Call new FCVT functions. | |
444 | (do_scalar_SHL): Handle negative shifts. | |
445 | (do_scalar_shift): Handle SSHR. | |
446 | (do_scalar_USHL): New function. | |
447 | (do_double_add): Simplify to just performing a double precision | |
448 | add operation. Move remaining code into... | |
449 | (do_scalar_vec): ... New function. | |
450 | (dexLoadUnsignedImmediate): Call new fldrb_abs and fldrh_abs | |
451 | functions. | |
452 | (system_get): Add support for TPIDR, CTR, FPCR, FPSR and CPSR | |
453 | registers. | |
454 | (system_set): New function. | |
455 | (do_MSR_immediate): New function. Stub for now. | |
456 | (do_MSR_reg): New function. Likewise. Partially implements MSR | |
457 | instruction. | |
458 | (do_SYS): New function. Stub for now, | |
459 | (dexSystem): Call new functions. | |
460 | ||
e101a78b NC |
461 | 2016-03-18 Nick Clifton <nickc@redhat.com> |
462 | ||
463 | * cpustate.c: Remove spurious spaces from TRACE strings. | |
464 | Print hex equivalents of floats and doubles. | |
465 | Check element number against array size when accessing vector | |
466 | registers. | |
4c0ca98e NC |
467 | (GET_VEC_ELEMENT): Fix off by one error checking for an invalid |
468 | element index. | |
469 | (SET_VEC_ELEMENT): Likewise. | |
87bba7a5 | 470 | (GET_VEC_ELEMENT): And fix thinko using macro arguments. |
4c0ca98e | 471 | |
e101a78b NC |
472 | * memory.c: Trace memory reads when --trace-memory is enabled. |
473 | Remove float and double load and store functions. | |
474 | * memory.h (aarch64_get_mem_float): Delete prototype. | |
475 | (aarch64_get_mem_double): Likewise. | |
476 | (aarch64_set_mem_float): Likewise. | |
477 | (aarch64_set_mem_double): Likewise. | |
478 | * simulator (IS_SET): Always return either 0 or 1. | |
479 | (IS_CLEAR): Likewise. | |
480 | (fldrs_pcrel): Load and store floats using 32-bit memory accesses | |
481 | and doubles using 64-bit memory accesses. | |
482 | (fldrd_pcrel, fldrs_wb, fldrs_abs, fldrs_scale_ext): Likewise. | |
483 | (fldrd_wb, fldrd_abs, fsturs, fsturd, fldurs, fldurd): Likewise. | |
484 | (fstrs_abs, fstrs_wb, fstrs_scale_ext, fstrd_abs): Likewise. | |
485 | (fstrd_wb, fstrd_scale_ext, store_pair_float): Likewise. | |
486 | (store_pair_double, load_pair_float, load_pair_double): Likewise. | |
487 | (do_vec_MUL_by_element): New function. | |
488 | (do_vec_op2): Call do_vec_MUL_by_element. | |
489 | (do_scalar_NEG): New function. | |
490 | (do_double_add): Call do_scalar_NEG. | |
491 | ||
57aa1742 NC |
492 | 2016-03-03 Nick Clifton <nickc@redhat.com> |
493 | ||
494 | * simulator.c (set_flags_for_sub32): Correct type of signbit. | |
495 | (CondCompare): Swap interpretation of bit 30. | |
496 | (DO_ADDP): Delete macro. | |
497 | (do_vec_ADDP): Copy source registers before starting to update | |
498 | destination register. | |
499 | (do_vec_FADDP): Likewise. | |
500 | (do_vec_load_store): Fix computation of sizeof_operation. | |
501 | (rbit64): Fix type of constant. | |
502 | (aarch64_step): When displaying insn value, display all 32 bits. | |
503 | ||
ce39bd38 MF |
504 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
505 | ||
506 | * config.in, configure: Regenerate. | |
507 | ||
e19418e0 MF |
508 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
509 | ||
510 | * configure: Regenerate. | |
511 | ||
16f7876d MF |
512 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
513 | ||
514 | * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call. | |
515 | * configure: Regenerate. | |
516 | ||
99d8e879 MF |
517 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
518 | ||
519 | * configure: Regenerate. | |
35656e95 MF |
520 | |
521 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> | |
522 | ||
523 | * configure: Regenerate. | |
99d8e879 | 524 | |
347fe5bb MF |
525 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
526 | ||
527 | * configure.ac (SIM_AC_OPTION_INLINE): Delete call. | |
528 | * configure: Regenerate. | |
529 | ||
22be3fbe MF |
530 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
531 | ||
532 | * configure: Regenerate. | |
533 | ||
0dc73ef7 MF |
534 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
535 | ||
536 | * configure: Regenerate. | |
537 | ||
936df756 MF |
538 | 2016-01-09 Mike Frysinger <vapier@gentoo.org> |
539 | ||
540 | * config.in, configure: Regenerate. | |
541 | ||
2e3d4f4d MF |
542 | 2016-01-06 Mike Frysinger <vapier@gentoo.org> |
543 | ||
544 | * interp.c (sim_create_inferior): Mark argv and env const. | |
545 | (sim_open): Mark argv const. | |
546 | ||
1a846c62 MF |
547 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
548 | ||
549 | * interp.c: Delete dis-asm.h include. | |
550 | (info, opbuf, op_printf, aarch64_print_insn, sim_dis_read): Delete. | |
551 | (sim_create_inferior): Delete disassemble init logic. | |
552 | (OPTION_DISAS, aarch64_option_handler, aarch64_options): Delete. | |
553 | (sim_open): Delete sim_add_option_table call. | |
554 | * memory.c (mem_error): Delete disas check. | |
555 | * simulator.c: Delete dis-asm.h include. | |
556 | (disas): Delete. | |
557 | (HALT_UNALLOC): Replace disassembly logic with TRACE_DISASM. | |
558 | (HALT_NYI): Likewise. | |
559 | (handle_halt): Delete disas call. | |
560 | (aarch64_step): Replace disas logic with TRACE_DISASM. | |
561 | * simulator.h: Delete dis-asm.h include. | |
562 | (aarch64_print_insn): Delete. | |
563 | ||
bc273e17 MF |
564 | 2016-01-04 Mike Frysinger <vapier@gentoo.org> |
565 | ||
566 | * simulator.c (MAX, MIN): Delete. | |
567 | (do_vec_maxv): Change MAX to max and MIN to min. | |
568 | (do_vec_fminmaxV): Likewise. | |
569 | ||
ac8eefeb TG |
570 | 2016-01-04 Tristan Gingold <gingold@adacore.com> |
571 | ||
572 | * simulator.c: Remove syscall.h include. | |
573 | ||
9bbf6f91 MF |
574 | 2016-01-04 Mike Frysinger <vapier@gentoo.org> |
575 | ||
576 | * configure: Regenerate. | |
577 | ||
0cb8d851 MF |
578 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
579 | ||
580 | * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. | |
581 | * configure: Regenerate. | |
582 | ||
1ac72f06 MF |
583 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
584 | ||
585 | * configure: Regenerate. | |
586 | ||
5d015275 MF |
587 | 2015-12-27 Mike Frysinger <vapier@gentoo.org> |
588 | ||
589 | * interp.c (sim_dis_read): Change private_data to application_data. | |
590 | (sim_create_inferior): Likewise. | |
591 | ||
5e744ef8 MF |
592 | 2015-12-27 Mike Frysinger <vapier@gentoo.org> |
593 | ||
594 | * Makefile.in (SIM_OBJS): Delete sim-hload.o. | |
595 | ||
1b393626 MF |
596 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
597 | ||
598 | * config.in, configure: Regenerate. | |
599 | ||
0e967299 MF |
600 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
601 | ||
602 | * interp.c (sim_create_inferior): Update comment and argv check. | |
603 | ||
f66affe9 MF |
604 | 2015-12-14 Nick Clifton <nickc@redhat.com> |
605 | ||
606 | * simulator.c (system_get): New function. Provides read | |
607 | access to the dczid system register. | |
608 | (do_mrs): New function - implements the MRS instruction. | |
609 | (dexSystem): Call do_mrs for the MRS instruction. Halt on | |
610 | unimplemented system instructions. | |
611 | ||
612 | 2015-11-24 Nick Clifton <nickc@redhat.com> | |
613 | ||
614 | * configure.ac: New configure template. | |
615 | * aclocal.m4: Generate. | |
616 | * config.in: Generate. | |
617 | * configure: Generate. | |
618 | * cpustate.c: New file - functions for accessing AArch64 registers. | |
619 | * cpustate.h: New header. | |
620 | * decode.h: New header. | |
621 | * interp.c: New file - interface between GDB and simulator. | |
622 | * Makefile.in: New makefile template. | |
623 | * memory.c: New file - functions for simulating aarch64 memory | |
624 | accesses. | |
625 | * memory.h: New header. | |
626 | * sim-main.h: New header. | |
627 | * simulator.c: New file - aarch64 simulator functions. | |
628 | * simulator.h: New header. |