Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8303885

SLP fails due to different address patters on 32bit JVM

XMLWordPrintable

      Test: LoopRangeStrideTest.countDownLoopWithNegScale fails to vectorized on x86.

      Problem is around recognizing valid address expression during SWPointer creation for memory operands with 32 bit jvm, this prevents gathering adjacent memory operations. -XX:+TraceSuperWord -XX:+TraceNewVectors -XX:CompileCommand=VectorizeDebug,<method>,3 shows following errors .

      SWPointer::memory_alignment: SWPointer p invalid, return bottom_align
      SWPointer::memory_alignment: SWPointer p invalid, return bottom_align
      SWPointer::memory_alignment: SWPointer p invalid, return bottom_align
      SWPointer::memory_alignment: SWPointer p invalid, return bottom_align
      SWPointer::memory_alignment: SWPointer p invalid, return bottom_align

      Behavior also exist in JDK17 LTS.

            jbhateja Jatin Bhateja
            jbhateja Jatin Bhateja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: