C2 SuperWord: Unsafe access with long address that is a CastX2P does not vectorize

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 23
    • Component/s: hotspot

      Attached file, here the commandline:

      The issue is that the VPointer wants the address to be a AddP. But in this case, it directly gets a CastX2P, which it does currently not parse through.

      ./java --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED -XX:CompileCommand=compileonly,Test*::* -XX:CompileCommand=printcompilation,TestMemorySegment::* -XX:CompileCommand=TraceAutoVectorization,Test*::*,SW_REJECTIONS,PRECONDITIONS,POINTERS -XX:+TraceNewVectors -XX:+TraceLoopOpts -Xbatch TestUnsafeAllocateLongAdr.java

            Assignee:
            Emanuel Peter
            Reporter:
            Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: