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

Use VEX2 prefix in Assembler::psllq

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 11
    • hotspot
    • b26
    • x86

      Assembler::psllq emits `c4 e1 c1 73 f7 34` for `vpsllq xmm7,xmm7,0x34` at https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/x86/stubGenerator_x86_64_cbrt.cpp#L255 . Since Vex.W is ignored for psllq according to the Intel SDM. We could use the VEX2 prefix `c5 c1 73 f7 34`

            yzheng Yudi Zheng
            yzheng Yudi Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: