Print this page


Split Close
Expand all
Collapse all
          --- old/src/cpu/sparc/vm/vm_version_sparc.cpp
          +++ new/src/cpu/sparc/vm/vm_version_sparc.cpp
   1    1  /*
   2      - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
        2 + * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
   3    3   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4    4   *
   5    5   * This code is free software; you can redistribute it and/or modify it
   6    6   * under the terms of the GNU General Public License version 2 only, as
   7    7   * published by the Free Software Foundation.
   8    8   *
   9    9   * This code is distributed in the hope that it will be useful, but WITHOUT
  10   10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11   11   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12   12   * version 2 for more details (a copy is included in the LICENSE file that
↓ open down ↓ 191 lines elided ↑ open up ↑
 204  204        FLAG_SET_DEFAULT(UseBlockCopy, true);
 205  205      }
 206  206    } else if (UseBlockCopy) {
 207  207      warning("BIS instructions are not available or expensive on this CPU");
 208  208      FLAG_SET_DEFAULT(UseBlockCopy, false);
 209  209    }
 210  210  
 211  211  #ifdef COMPILER2
 212  212    // T4 and newer Sparc cpus have fast RDPC.
 213  213    if (has_fast_rdpc() && FLAG_IS_DEFAULT(UseRDPCForConstantTableBase)) {
 214      -//    FLAG_SET_DEFAULT(UseRDPCForConstantTableBase, true);
      214 +    FLAG_SET_DEFAULT(UseRDPCForConstantTableBase, true);
 215  215    }
 216  216  
 217  217    // Currently not supported anywhere.
 218  218    FLAG_SET_DEFAULT(UseFPUForSpilling, false);
 219  219  
 220  220    assert((InteriorEntryAlignment % relocInfo::addr_unit()) == 0, "alignment is not a multiple of NOP size");
 221  221  #endif
 222  222  
 223  223    assert((CodeEntryAlignment % relocInfo::addr_unit()) == 0, "alignment is not a multiple of NOP size");
 224  224    assert((OptoLoopAlignment % relocInfo::addr_unit()) == 0, "alignment is not a multiple of NOP size");
↓ open down ↓ 121 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX