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

Don't use x87 FPU on x86-64

XMLWordPrintable

    • b09
    • x86_64

      Modern x86 processors have very fast SSE unit and slow old x87 FPU. Hotspot VM still use FPU to generate code for some java Math methods. Investigate possibility and performance benefits from switching to SSE only instructions for 64bit VM where at least SSE2 is present. It should include Interpreter code and C1 (in Tiered) and C2 generated code.

      Here are java methods from java/lang/Math which are implemeted in 64bit VM using x87 FPU instructions:
      sin(), cos(), tan(), log(), log10(), pow(), exp()

            vlivanov Vladimir Ivanov
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: