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

compiler/vectorapi/reshape/TestVectorCastAVX1.java crashes in assembler

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b30
    • CPU:
      x86
    • OS:
      generic

      Backports

        Description

        Casting short vector to double vector requires us to promote the input to an int vector first. In AVX1, double vectors support vector shape of 256 bit while int vectors only support vector shape of 128 bit. The current implementation mistakenly uses the vector length of the destination for intermediate promotion. As a result, casting a Short64Vector to a Double256Vector leads to unsupported vpmovsxbd ymm, xmm instruction.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                qamai Quan Anh Mai
                Reporter:
                qamai Quan Anh Mai
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: