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