[aarch64-port-dev ] RFR(S): 8214922: Add vectorization support for fmin/fmax

Andrew Haley aph at redhat.com
Fri Dec 21 18:36:49 UTC 2018


On 12/21/18 6:29 PM, Vladimir Ivanov wrote:
> Haven't checked AArch64, bu there's some logic to enable reduction 
> vectorization only for more complex code shapes (see [1] for some details).
> 
> I was able to trigger auto-vectorization on x86 for the following code 
> shape:
>      int r = 0;
>      for (int i = 0; i < MAX; i++) {
>          r += A[i]*B[i];
>      }

Aha! Thank you. That mystery was doing my head in. :-)

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the aarch64-port-dev mailing list