Unsafe.{get,put}-X-Unaligned; Efficient array comparison intrinsics (original) (raw)
Andrew Haley aph at redhat.com
Wed Mar 4 15:35:22 UTC 2015
- Previous message: Unsafe.{get,put}-X-Unaligned; Efficient array comparison intrinsics
- Next message: Unsafe.{get,put}-X-Unaligned; Efficient array comparison intrinsics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03/04/2015 03:07 PM, Paul Sandoz wrote:
If so then presumably that would be applicable to both get* and set*?
I think so.
Could those boolean accepting methods be intrinsified or would they always be Java only?
Sure, but I've been wondering if it's necessary. Suppose we had some hypothetical machine which is natively little-endian and has big- and little-endian unaligned stores. We could match a big-endian store with something like
instruct bigEndianStoreL(iRegL src, memory mem) %{ match(Set mem (StoreL mem (ReverseBytesI src))); format %{ "str.be src,src, src,mem\t" %}
so maybe there aren't any architectures where we'd gain any advantage from intrinsifying such loads and stores?
Andrew.
- Previous message: Unsafe.{get,put}-X-Unaligned; Efficient array comparison intrinsics
- Next message: Unsafe.{get,put}-X-Unaligned; Efficient array comparison intrinsics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list