[11] RFR (XS): JDK-8198293: AARCH64 - Add CPU detection code for Cavium Thunder X2

Andrew Haley aph at redhat.com
Thu Oct 18 14:44:31 UTC 2018


On 02/20/2018 11:27 AM, Dmitry Chuyko wrote:
> @@ -202,6 +204,20 @@
>         FLAG_SET_DEFAULT(UseSIMDForMemoryOps, (_variant > 0));
>       }
>     }
> +  // ThunderX2
> +  if ((_cpu == CPU_CAVIUM && (_model == 0xAF)) ||
> +      (_cpu == CPU_BROADCOM && (_model == 0x516))) {
> +    if (FLAG_IS_DEFAULT(AvoidUnalignedAccesses)) {
> +      FLAG_SET_DEFAULT(AvoidUnalignedAccesses, true);
> +    }

Is there some significant performance benefit here to avoiding unaligned
accesses on Thunder X2?

-- 
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 hotspot-compiler-dev mailing list