SuperWord::unrolling_analysis() question

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Apr 26 17:56:04 UTC 2016


The question is for Michael. I would say it is typo but let Michael to answer.

Thanks,
Vladimir

On 4/26/16 7:29 AM, Roland Westrelin wrote:
>
> Why does SuperWord::unrolling_analysis() use:
>
> int max_vector = Matcher::max_vector_size(T_INT);
>
> instead of:
>
> int max_vector = Matcher::max_vector_size(T_BYTE);
>
> ?
>
> For a loop like this:
>
> static void test_byte(byte[] src, byte[] dst) {
>     for (int i = 0; i < src.length; i++) {
>         dst[i] = src[i];
>     }
> }
>
>
> It limits the size of the vectors that are used below what the hardware
> can support.
>
> Roland.
>


More information about the hotspot-compiler-dev mailing list