src/cpu/sparc/vm/vm_version_sparc.hpp

changeset 4108
3a327d0b8586
parent 3972
8cb110fd7627
child 5283
46c544b8fbfc
     1.1 --- a/src/cpu/sparc/vm/vm_version_sparc.hpp	Thu Sep 20 16:49:17 2012 +0200
     1.2 +++ b/src/cpu/sparc/vm/vm_version_sparc.hpp	Mon Sep 24 11:07:03 2012 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -124,6 +124,8 @@
    1.11    // Returns true if the platform is in the niagara line (T series)
    1.12    // and newer than the niagara1.
    1.13    static bool is_niagara_plus()         { return is_T_family(_features) && !is_T1_model(_features); }
    1.14 +
    1.15 +  static bool is_M_series()             { return is_M_family(_features); }
    1.16    static bool is_T4()                   { return is_T_family(_features) && has_cbcond(); }
    1.17  
    1.18    // Fujitsu SPARC64

mercurial