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

Implement vectorization optimizations in hotspot-server

XMLWordPrintable

    • b21
    • x86
    • linux

        A DESCRIPTION OF THE REQUEST :
        Almost all C-compilers available are able to vectorize code, so that simple code in loops for example can be processed in parallel by using the SIMD registers of modern CPUs like SSE1/2 or AltiVec.

        Hotspot-server still uses SSE only for batch-procession of fpu-operations and it would be great if hotspot would be also able to optimize this caseses since it sometimes can even double performance.

        JUSTIFICATION :
        to archive higher performance on algorythmic code.

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        code like this should be vectorized:

        int x;
        int[] a = new int[10000];
        for(int i=0; i < a.length; i++)
        {
          x += a[i];
        }
        ACTUAL -
        the generated code does not make any use of SIMD commands

        CUSTOMER SUBMITTED WORKAROUND :
        Write C libraries which handle all the complex stuff and write java-code just for the stuff arround itl

              kvn Vladimir Kozlov
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: