Christian Thalinger christian.thalinger at
Thu Jun 5 20:45:15 UTC 2014

Well, I guess the easiest but maybe not most performant way would be to have a substitution and implement it in plain Java.

On the other hand you could rely on vectorization and the power of GPUs to produce good, parallel code :-)

On Jun 5, 2014, at 1:29 PM, Deneau, Tom <tom.deneau at> wrote:

> Since we cannot handle "foreign calls" in the hsail backend, what is the preferred way to implement System.arraycopy?  Right now, we are deferring to the host and so getting an ArrayCopyCallNode which gets lowered to a graph containing a ForeignCallNode.
> I confess to being a little confused with the ArrayCopyNode and Snippets, UnsafeArrayCopyNode and Snippets, ArrayCopyCallNode, etc.
> -- Tom

More information about the graal-dev mailing list