[vector] Intrinsics for fromByteArray, fromByteBuffer, intoByteArray, intoByteBuffer

Paul Sandoz paul.sandoz at oracle.com
Thu May 3 15:51:59 UTC 2018



> On May 3, 2018, at 8:48 AM, John Rose <john.r.rose at oracle.com> wrote:
> 
> On May 3, 2018, at 8:40 AM, Paul Sandoz <paul.sandoz at oracle.com <mailto:paul.sandoz at oracle.com>> wrote:
>> 
>> stick to native endianness for the moment to keep things simpler initially
> 
> I suggest throwing an exception if the buffer is in the wrong endianness.
> We have regretted silently converting to native on other occasions.

A good point, it will remind us to fix it and revisit the specification. I will add placeholder in the load/store tests.

Paul.


More information about the panama-dev mailing list