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