RFR: 8348678: [PPC64] C2: unaligned vector load/store is ok [v2]

Richard Reingruber rrich at openjdk.org
Wed Jan 29 22:05:04 UTC 2025


On Wed, 29 Jan 2025 17:39:10 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> The displacement should be handled by the `memoryAlg4` operands. (Should be checked.)

Of course. I should play more often with them AD files.

> It may make sense to switch off `AlignVector` even without `SuperwordUseVSX` (on any Power Architecture).

Done.
I've looked at a little example where bytes from a `long[]` are copied to a `byte[]` varying a constant offset. The stores were always merged into a `std` instruction independently of `AlignVector` also I couldn't get it to use 16 byte load/stores. Would be interesting to find out why...

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

PR Comment: https://git.openjdk.org/jdk/pull/23318#issuecomment-2622955925


More information about the hotspot-compiler-dev mailing list