Skip to content

Commit 9c24a56

Browse files
committed
8253029: [PPC64] Remove obsolete Power6 code
Reviewed-by: dholmes, lucy
1 parent e6a493a commit 9c24a56

File tree

5 files changed

+37
-936
lines changed

5 files changed

+37
-936
lines changed

src/hotspot/cpu/ppc/c2_init_ppc.cpp

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
3-
* Copyright (c) 2012, 2018 SAP SE. All rights reserved.
2+
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
3+
* Copyright (c) 2012, 2020 SAP SE. All rights reserved.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
66
* This code is free software; you can redistribute it and/or modify it
@@ -40,12 +40,6 @@ void Compile::pd_compiler2_init() {
4040
}
4141
}
4242

43-
if (PowerArchitecturePPC64 == 6) {
44-
if (FLAG_IS_DEFAULT(InsertEndGroupPPC64)) {
45-
FLAG_SET_ERGO(InsertEndGroupPPC64, true);
46-
}
47-
}
48-
4943
if (!VM_Version::has_isel() && FLAG_IS_DEFAULT(ConditionalMoveLimit)) {
5044
FLAG_SET_ERGO(ConditionalMoveLimit, 0);
5145
}

src/hotspot/cpu/ppc/globals_ppc.hpp

-6
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,6 @@ define_pd_global(intx, InitArrayShortSize, 9*BytesPerLong);
134134
product(bool, UseStaticBranchPredictionForUncommonPathsPPC64, false, \
135135
"Use static branch prediction hints for uncommon paths.") \
136136
\
137-
product(bool, UsePower6SchedulerPPC64, false, \
138-
"Use Power6 Scheduler.") \
139-
\
140-
product(bool, InsertEndGroupPPC64, false, \
141-
"Insert EndGroup instructions to optimize for Power6.") \
142-
\
143137
/* Trap based checks. */ \
144138
/* Trap based checks use the ppc trap instructions to check certain */ \
145139
/* conditions. This instruction raises a SIGTRAP caught by the */ \

0 commit comments

Comments
 (0)