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

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

XMLWordPrintable

    • b30
    • x86
    • generic

        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.

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

                Created:
                Updated:
                Resolved: