hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp
changeset 30209 8ea30dc99369
parent 28187 fc19df82d6ee
child 30303 c703c89fddbf
equal deleted inserted replaced
30208:ed11124f18e1 30209:8ea30dc99369
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright 2012, 2014 SAP AG. All rights reserved.
     3  * Copyright 2012, 2015 SAP AG. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
     8  * published by the Free Software Foundation.
     8  * published by the Free Software Foundation.
   170     FLAG_SET_DEFAULT(UseSHA1Intrinsics, false);
   170     FLAG_SET_DEFAULT(UseSHA1Intrinsics, false);
   171     FLAG_SET_DEFAULT(UseSHA256Intrinsics, false);
   171     FLAG_SET_DEFAULT(UseSHA256Intrinsics, false);
   172     FLAG_SET_DEFAULT(UseSHA512Intrinsics, false);
   172     FLAG_SET_DEFAULT(UseSHA512Intrinsics, false);
   173   }
   173   }
   174 
   174 
       
   175   // This machine does not allow unaligned memory accesses
       
   176   if (UseUnalignedAccesses) {
       
   177     if (!FLAG_IS_DEFAULT(UseUnalignedAccesses))
       
   178       warning("Unaligned memory access is not available on this CPU");
       
   179     FLAG_SET_DEFAULT(UseUnalignedAccesses, false);
       
   180   }
   175 }
   181 }
   176 
   182 
   177 void VM_Version::print_features() {
   183 void VM_Version::print_features() {
   178   tty->print_cr("Version: %s cache_line_size = %d", cpu_features(), (int) get_cache_line_size());
   184   tty->print_cr("Version: %s cache_line_size = %d", cpu_features(), (int) get_cache_line_size());
   179 }
   185 }