comparison src/cpu/sparc/vm/vm_version_sparc.hpp @ 6798:f7c1f489db55

Merge
author twisti
date Mon, 24 Sep 2012 12:31:47 -0700
parents 3a327d0b8586
children 46c544b8fbfc
comparison
equal deleted inserted replaced
6796:b31471cdc53e 6798:f7c1f489db55
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
122 { return has_v9(); } 122 { return has_v9(); }
123 123
124 // Returns true if the platform is in the niagara line (T series) 124 // Returns true if the platform is in the niagara line (T series)
125 // and newer than the niagara1. 125 // and newer than the niagara1.
126 static bool is_niagara_plus() { return is_T_family(_features) && !is_T1_model(_features); } 126 static bool is_niagara_plus() { return is_T_family(_features) && !is_T1_model(_features); }
127
128 static bool is_M_series() { return is_M_family(_features); }
127 static bool is_T4() { return is_T_family(_features) && has_cbcond(); } 129 static bool is_T4() { return is_T_family(_features) && has_cbcond(); }
128 130
129 // Fujitsu SPARC64 131 // Fujitsu SPARC64
130 static bool is_sparc64() { return (_features & sparc64_family_m) != 0; } 132 static bool is_sparc64() { return (_features & sparc64_family_m) != 0; }
131 133