RFR(L): AARCH64 support for lworld v.06

Dmitry Samersoff dms at samersoff.net
Mon Sep 2 11:16:10 UTC 2019

Hello Everybody,

Please review v.06 of adding AArch64 support to lworld branch


What was done:

  1. Adopted changes in shared code and fixed compilation errors

  2. Removed all DMS CHECK kludges (but some of them become FIXME)

  3. All the code needed to support value pack/unpack logic
     is in place.

Problems left:

   There are couple of bugs mostly related to register usage while we
pack/unpack values.

   Therefore, ValueTypePassFieldsAsArgs/ValueTypePassFieldsAsArgs is
still hardly disabled for aarch64

Testing (the same as for v.05):

   All tests in runtime/valhalla/valuetypes and in
compiler/valhalla/valuetypes/ are passed


   are passed after manually tweaking of output patterns, I have not
found a way to support both x86 and aarch64, so these tests remain
unchanged and run on x64 only.


More information about the valhalla-dev mailing list