< prev index next >

src/hotspot/cpu/ppc/vm_version_ppc.hpp

Print this page

        

*** 1,8 **** /* ! * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2012, 2019 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,8 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 49,58 **** --- 49,59 ---- ldbrx, stdbrx, vshasig, rtm, darn, + brw, num_features // last entry to count features }; enum Feature_Flag_Set { unknown_m = 0, fsqrt_m = (1 << fsqrt ),
*** 72,81 **** --- 73,83 ---- ldbrx_m = (1 << ldbrx ), stdbrx_m = (1 << stdbrx ), vshasig_m = (1 << vshasig), rtm_m = (1 << rtm ), darn_m = (1 << darn ), + brw_m = (1 << brw ), all_features_m = (unsigned long)-1 }; static bool _is_determine_features_test_running;
*** 117,126 **** --- 119,129 ---- static bool has_ldbrx() { return (_features & ldbrx_m) != 0; } static bool has_stdbrx() { return (_features & stdbrx_m) != 0; } 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 // Assembler testing static void allow_all();
< prev index next >