[foreign-memaccess+abi] RFR: Add benchmarks to MemorySegmentVsBits

Paul Sandoz psandoz at openjdk.org
Tue Jan 3 19:07:07 UTC 2023


On Tue, 3 Jan 2023 18:45:12 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> All checks are hoisted out of the hot loop - so in principle the segment code should vectorize as well?

The addressing modes of loads from the long array and stores to the underlying memory are slightly different, but connected via the loop variable. I wonder if additional layers involved with memory segments means C2 is loosing that information, which makes the auto-vectorizer bail out.

-------------

PR: https://git.openjdk.org/panama-foreign/pull/762


More information about the panama-dev mailing list