Graal work on AArch64

Doug Simon doug.simon at
Mon Mar 19 16:27:18 UTC 2018

> On 19 Mar 2018, at 16:52, stewartd.qdt <stewartd.qdt at> wrote:
> Andrew,
> Thanks. I have CC'd the grail-dev list. 
> For the list  - I'd like to implement some basic support for instructions (CAS, LDADD) that are required for some intrisincs, such as getAndAdd/getAndSet functions. Just wanting to ensure I am not stepping on someone's in-process work.

I think it's fine from the Oracle side. Stefan Anzinger is working on the AArch64 stuff on this end and would let you know if there's any issue.


> -----Original Message-----
> From: Andrew Haley [mailto:aph at] 
> Sent: Monday, March 19, 2018 11:30 AM
> To: stewartd.qdt <stewartd.qdt at>
> Subject: Re: Graal work on AArch64
> On 19/03/18 14:00, stewartd.qdt wrote:
>> I was thinking of adding some intrinsic support for getAndAdd* and getAndSet* functions in Graal for AArch64. This would require adding basic support for CAS and LDADD instructions to Graal, as well as a support(CPUFeature feature) function, which doesn't appear to exist for AArch64. However, I wanted to check with you first to ensure I was not implementing something which you are already doing for the AOT support. If this is something which you are already doing, I will certainly wait until you are complete. I was just attempting to find something fairly straightforward in the JIT for me to start with in Graal.
> That sounds reasonable.  We should probably cc: this conversation to the Graal list.
> --
> Andrew Haley
> Java Platform Lead Engineer
> Red Hat UK Ltd. <>
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the graal-dev mailing list