[aarch64-port-dev ] RFR (M) 8228400: Remove built-in AArch64 simulator
Aleksey Shipilev
shade at redhat.com
Fri Jul 26 06:56:13 UTC 2019
On 7/25/19 2:22 PM, Andrew Dinn wrote:
> 1) File cpustate_aarch64.hpp exists primarily to declare a class
> CPUState. This was needed to save/restore AArch64 register state on exit
> from/re-entry into the simulator. I don't think anything else ought to
> be using class CPUState or any of the other types it defines.
>
> Was there any good reason not simply to delete this file? (if so perhaps
> whatever is keeping that file alive needs to be relocated to a home that
> corresponds to the x86 file layout).
Right on, removed cpustate_aarch64.hpp.
> 2) File decode_aarch64.hpp contains almost entirely redundant stuff. I
> believe the only code that is referenced from another file is the suite
> of various pickbit* functions and their underlying mask* functions, the
> client being code in file immediate_aarch64.cpp. All the enums are
> redundant. So, I think this needs fixing by removing everything but the
> pickbit* and mask* fns. It would probably be better to move these to
> file immediate_aarch64.hpp and delete file decode_aarch64.hpp.
Right. I moved required definitions to immediate_aarch64.cpp and removed decode_aarch64.hpp.
New webrev:
http://cr.openjdk.java.net/~shade/8228400/webrev.03/
Testing: aarch64 cross-build; (gonna test tier1 once aarch64 box is free)
--
Thanks,
-Aleksey
More information about the aarch64-port-dev
mailing list