src/cpu/sparc/vm/vm_version_sparc.cpp

changeset 1076
6af0a709d52b
parent 631
d1605aabd0a1
child 1077
660978a2a31a
     1.1 --- a/src/cpu/sparc/vm/vm_version_sparc.cpp	Tue Mar 10 08:52:16 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/vm_version_sparc.cpp	Wed Mar 11 14:16:13 2009 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 1997-2008 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 1997-2009 Sun Microsystems, Inc.  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 @@ -90,7 +90,7 @@
    1.11    }
    1.12  
    1.13    char buf[512];
    1.14 -  jio_snprintf(buf, sizeof(buf), "%s%s%s%s%s%s%s%s%s",
    1.15 +  jio_snprintf(buf, sizeof(buf), "%s%s%s%s%s%s%s%s%s%s%s",
    1.16                 (has_v8() ? ", has_v8" : ""),
    1.17                 (has_v9() ? ", has_v9" : ""),
    1.18                 (has_vis1() ? ", has_vis1" : ""),
    1.19 @@ -98,7 +98,9 @@
    1.20                 (is_ultra3() ? ", is_ultra3" : ""),
    1.21                 (is_sun4v() ? ", is_sun4v" : ""),
    1.22                 (is_niagara1() ? ", is_niagara1" : ""),
    1.23 -               (!has_hardware_int_muldiv() ? ", no-muldiv" : ""),
    1.24 +               (is_niagara1_plus() ? ", is_niagara1_plus" : ""),
    1.25 +               (!has_hardware_mul32() ? ", no-mul32" : ""),
    1.26 +               (!has_hardware_div32() ? ", no-div32" : ""),
    1.27                 (!has_hardware_fsmuld() ? ", no-fsmuld" : ""));
    1.28  
    1.29    // buf is started with ", " or is empty

mercurial