From: Nick Clifton <nickc@redhat.com>
To: vapier@gentoo.org
Cc: gdb-patches@sourceware.org
Subject: Re: RFA: AArch64 sim
Date: Wed, 15 Jul 2015 16:58:00 -0000 [thread overview]
Message-ID: <87y4ih8ij4.fsf@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2377 bytes --]
Hi Mike,
Thanks very much for the detailed review. Attached is a second
attempt at contributing this work. New in this edition are:
* A basic pass/fail testsuite based upon similar code in the moxie
directory. I am planning to expand this to a proper, full testsuite
later on.
* The gdb-if.c file has been renamed to interp.c.
* The files now have an appropriate FSF copyright notice.
* The enum values in sim-aarch64.h are now in uppercase.
* The configure.ac file is now a clone of the one in sim/arm.
* The sources now compile in ISO C90 mode.
* Extraneous whitespace has been removed.
* The standard uintX_t types are used throughout.
* Most global state is now held in the SIM_DESC structure.
* // comments have been replaced with /* ... */
* Prints to stderr have been replaced by calls to sim_io_eprintf
* Register numbers are stored in an enum.
* Updated Makefile.in.
* The tracing code has been replaced with the sim/common tracing
functions.
* The sim common core memory functions are now used to read and write
memory.
I hope that this rewrite meets your approval.
OK to apply ?
Cheers
Nick
sim/ChangeLog
2015-07-15 Nick Clifton <nickc@redhat.com>
* configure.tgt (sim_arch): Add aarch64 target.
* configure: Regenerate.
* aarch64: New directory.
* aarch64/aclocal.m4: Generate.
* aarch64/config.in: Generate.
* aarch64/configure: Generate.
* aarch64/configure.ac: New file.
* aarch64/cpustate.c: New file. Models the AArch64 registers.
* aarch64/cpustate.h: New file.
* aarch64/decode.h: Prototypes and types for the decoder
functions.
* aarch64/interp.c: New file. Interface with GDB.
* aarch64/Makefile.in: New file.
* aarch64/memory.c: New file. Models the AArch64 memory subsystem.
* aarch64/memory.h: New file.
* aarch64/simulator.c: New file. Emulated AArch64 instructions.
* aarch64/simulator.h: New file.
* aarch64/sim-main.h: New file. Interface with common code.
sim/testsuite/ChangeLog
2015-07-15 Nick Clifton <nickc@redhat.com>
* sim/aarch64: New directory.
* sim/aarch64/pass.s: New file. Tests simulator operation.
* sim/aarch64/allinsn.exp: New file. Test driver.
* sim/aarch64/testutils.inc: New file. Test support macros.
include/gdb/ChangeLog
2015-07-15 Nick Clifton <nickc@redhat.com>
* sim-aarch64.h: New file.
[-- Attachment #2: aarch64.sim.patch.2.xz --]
[-- Type: application/x-xz, Size: 51512 bytes --]
next prev reply other threads:[~2015-07-15 16:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-28 12:25 Nick Clifton
2015-07-02 9:17 ` Andre Vieira
2015-07-02 13:53 ` Nicholas Clifton
2015-07-02 14:43 ` Andre Vieira
[not found] ` <55954DEE.50609@arm.com>
2015-07-02 15:20 ` Nicholas Clifton
2015-07-07 17:12 ` Mike Frysinger
2015-07-15 16:58 ` Nick Clifton [this message]
2015-07-16 15:19 ` Mike Frysinger
2015-07-17 14:10 ` Nicholas Clifton
2015-11-10 7:32 ` Mike Frysinger
2015-11-19 14:51 ` Nick Clifton
2015-11-20 9:13 ` Mike Frysinger
2015-11-20 10:56 ` Nick Clifton
2015-11-20 19:28 ` Mike Frysinger
2015-11-24 8:50 ` Nick Clifton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4ih8ij4.fsf@redhat.com \
--to=nickc@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).