Skip to content
Permalink
Browse files
8253029: [PPC64] Remove obsolete Power6 code
Reviewed-by: dholmes, lucy
  • Loading branch information
TheRealMDoerr committed Sep 14, 2020
1 parent e6a493a commit 9c24a5635ee4caa81fef2f49c1f323d86ddc02c6
Showing with 37 additions and 936 deletions.
  1. +2 −8 src/hotspot/cpu/ppc/c2_init_ppc.cpp
  2. +0 −6 src/hotspot/cpu/ppc/globals_ppc.hpp
  3. +34 −679 src/hotspot/cpu/ppc/ppc.ad
  4. +0 −241 src/hotspot/cpu/ppc/vm_version_ppc.cpp
  5. +1 −2 src/hotspot/cpu/ppc/vm_version_ppc.hpp
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2018 SAP SE. All rights reserved.
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2020 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -40,12 +40,6 @@ void Compile::pd_compiler2_init() {
}
}

if (PowerArchitecturePPC64 == 6) {
if (FLAG_IS_DEFAULT(InsertEndGroupPPC64)) {
FLAG_SET_ERGO(InsertEndGroupPPC64, true);
}
}

if (!VM_Version::has_isel() && FLAG_IS_DEFAULT(ConditionalMoveLimit)) {
FLAG_SET_ERGO(ConditionalMoveLimit, 0);
}
@@ -134,12 +134,6 @@ define_pd_global(intx, InitArrayShortSize, 9*BytesPerLong);
product(bool, UseStaticBranchPredictionForUncommonPathsPPC64, false, \
"Use static branch prediction hints for uncommon paths.") \
\
product(bool, UsePower6SchedulerPPC64, false, \
"Use Power6 Scheduler.") \
\
product(bool, InsertEndGroupPPC64, false, \
"Insert EndGroup instructions to optimize for Power6.") \
\
/* Trap based checks. */ \
/* Trap based checks use the ppc trap instructions to check certain */ \
/* conditions. This instruction raises a SIGTRAP caught by the */ \
Loading

1 comment on commit 9c24a56

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on 9c24a56 Sep 14, 2020

Please sign in to comment.