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

ghash intrinsic code is not portable upwards to EVEX.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      x86
    • OS:
      generic

      Description

      The recent ghash check-in (8073108) is not portable upwards to EVEX. Some of the instructions like pclmulqdq are only supported as legacy instructions, also the register save/restore regions are too small and not conditionally mapped to check for EVEX, you will see example around though, so fixing that should be trivial. Instructions like pshufb/pslldq will be forcibly coded to legacy instructions on KNL, meaning if you change the code to use the upper bank of registers you will need to copy a register down to the lower bank to use them there(legacy means only xmm0..xmm15 can be used). You will need to change both stub generators in 64 bit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mcberg Michael Berg
                Reporter:
                kvn Vladimir Kozlov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: