ChangeLog-2021 21 KB

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