Loading... (original) (raw)

Add scalar reduction optimization to C2 to take advantage of vector instruction support in modern CPUs.

This enhancement is contributed by Intel and sponsored by the hotspot compiler team.

  1. webrev.zip
    2.33 MB
    2015-03-13 02:01

backported by

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8082641 Integer/FP scalar reduction optimization

duplicates

Enhancement - null JDK-7192383 vectorize sum of arrays's elements loop

relates to

Enhancement - null JDK-8078563 Restrict reduction optimization

Bug - A problem which impairs or prevents the functions of the product. JDK-8232106 [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it

Bug - A problem which impairs or prevents the functions of the product. JDK-8279622 C2: miscompilation of map pattern as a vector reduction

Bug - A problem which impairs or prevents the functions of the product. JDK-8261147 C2: Node is wrongly marked as reduction resulting in a wrong execution due to wrong vector instructions

Enhancement - null JDK-8345044 Sum of array elements not vectorized

Enhancement - null JDK-8287087 C2: perform SLP reduction analysis on-demand

(3 relates to)