--- old/src/hotspot/cpu/ppc/vm_version_ppc.hpp 2020-08-17 12:17:05.446621970 -0500 +++ new/src/hotspot/cpu/ppc/vm_version_ppc.hpp 2020-08-17 12:17:05.336628591 -0500 @@ -1,6 +1,6 @@ /* - * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2012, 2019 SAP SE. All rights reserved. + * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2020 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -51,6 +51,7 @@ vshasig, rtm, darn, + brw, num_features // last entry to count features }; enum Feature_Flag_Set { @@ -74,6 +75,7 @@ vshasig_m = (1 << vshasig), rtm_m = (1 << rtm ), darn_m = (1 << darn ), + brw_m = (1 << brw ), all_features_m = (unsigned long)-1 }; @@ -119,6 +121,7 @@ static bool has_vshasig() { return (_features & vshasig_m) != 0; } static bool has_tm() { return (_features & rtm_m) != 0; } static bool has_darn() { return (_features & darn_m) != 0; } + static bool has_brw() { return (_features & brw_m) != 0; } static bool has_mtfprd() { return has_vpmsumb(); } // alias for P8