Add support for the MRS instruction to the AArch64 simulator.
authorNick Clifton <nickc@redhat.com>
Tue, 15 Dec 2015 11:01:03 +0000 (11:01 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 15 Dec 2015 11:01:03 +0000 (11:01 +0000)
commitcaa8d70005e4e12392683c799b30790fc4c62166
tree979994eb0d5e5774e3402d7c3b9d5c5aceb4cb2a
parenta117b0a51cd3c768453c244a3754c1b9a77e74fc
Add support for the MRS instruction to the AArch64 simulator.

* aarch64/simulator.c (system_get): New function.  Provides read
access to the dczid system register.
(do_mrs): New function - implements the MRS instruction.
(dexSystem): Call do_mrs for the MRS instruction.  Halt on
unimplemented system instructions.
sim/ChangeLog
sim/aarch64/simulator.c