Skip to content

Commit

Permalink
Deprecate DFP related options
Browse files Browse the repository at this point in the history
The following options are deprecated:

- TR_DisableDFP
- TR_DisableHysteresis
- TR_DisableZonedToDFPReduction
- TR_DisableArch11PackedToDFP

And all the resulting dead code is removed.
  • Loading branch information
fjeremic committed Apr 26, 2021
1 parent 02c7abe commit 7780a2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions compiler/control/OMROptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
{"disableAOTStaticField", "O\tdisable AOT static field inlining", SET_OPTION_BIT(TR_DisableAOTStaticField), "F"},
{"disableAOTValidationOpts", "O\tdisable AOT optimizations with validations", SET_OPTION_BIT(TR_DisableAOTCheckCastInlining | TR_DisableAOTInstanceOfInlining | TR_DisableAOTInstanceFieldResolution | TR_DisableAOTStaticField), "F"},
{"disableAOTWarmRunThroughputImprovement", "O\tdisable change iprofiler entry choosing heuristic to improve aot warm run throughput", SET_OPTION_BIT(TR_DisableAOTWarmRunThroughputImprovement), "F"},
{"disableArch11PackedToDFP", "O\tdisable arch(11) packed to DFP conversion instructions", SET_OPTION_BIT(TR_DisableArch11PackedToDFP), "F",},
{"disableArrayCopyOpts", "O\tdisable array copy optimiations", SET_OPTION_BIT(TR_DisableArrayCopyOpts), "F"},
{"disableArraySetOpts", "O\tdisable array set optimiations", SET_OPTION_BIT(TR_DisableArraySetOpts), "F"},
{"disableArraySetStoreElimination", "O\tdisable arrayset store elimination", SET_OPTION_BIT(TR_DisableArraysetStoreElimination), "F"},
Expand Down Expand Up @@ -591,7 +590,6 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
{"disableZHelix", "O\t[Deprecated] alias for disableZEC12", SET_OPTION_BIT(TR_DisableZEC12), "F"},
{"disableZImplicitNullChecks", "O\tdisable implicit null checks on 390", SET_OPTION_BIT(TR_DisableZImplicitNullChecks), "F"},
{"disableZNext", "O\tdisable zNext support", SET_OPTION_BIT(TR_DisableZNext), "F"},
{"disableZonedToDFPReduction", "O\tdisable strength reduction of zoned decimal arithmetic to DFP arithmetic", SET_OPTION_BIT(TR_DisableZonedToDFPReduction), "F"},
{"dltMostOnce", "O\tprevent DLT compilation of a method at more than one bytecode index.", SET_OPTION_BIT(TR_DLTMostOnce), "F"},
{"dltOptLevel=cold", "O\tforce DLT compilation at cold level", TR::Options::set32BitValue, offsetof(OMR::Options, _dltOptLevel), cold, "P"},
{"dltOptLevel=hot", "O\tforce DLT compilation at hot level", TR::Options::set32BitValue, offsetof(OMR::Options, _dltOptLevel), hot, "P"},
Expand Down
8 changes: 4 additions & 4 deletions compiler/control/OMROptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ enum TR_CompilationOptions
TR_ExperimentalClassLoadPhase = 0x00000020 + 5,
TR_DisableLookahead = 0x00000040 + 5,
TR_TraceBFGeneration = 0x00000080 + 5,
TR_DisableDFP = 0x00000100 + 5,
// Available = 0x00000100 + 5,
TR_SuspendEarly = 0x00000200 + 5,
TR_EnableEarlyCompilationDuringIdleCpu = 0x00000400 + 5,
TR_DisableCallGraphInlining = 0x00000800 + 5, // interpreter profiling
Expand Down Expand Up @@ -362,7 +362,7 @@ enum TR_CompilationOptions
// Option word 9
//
// Available = 0x00000020 + 9,
TR_DisableHysteresis = 0x00000040 + 9, // DFP
// Available = 0x00000040 + 9, // DFP
TR_DisableTLHPrefetch = 0x00000080 + 9,
TR_DisableJProfilerThread = 0x00000100 + 9,
TR_DisableIProfilerThread = 0x00000200 + 9,
Expand Down Expand Up @@ -714,7 +714,7 @@ enum TR_CompilationOptions
// Available = 0x00001000 + 21,
// Available = 0x00002000 + 21,
TR_DisableBCDOppTracing = 0x00004000 + 21,
TR_DisableZonedToDFPReduction = 0x00008000 + 21,
// Available = 0x00008000 + 21,
// Available = 0x00010000 + 21,
TR_OldDataCacheImplementation = 0x00020000 + 21,
TR_EnableDataCacheStatistics = 0x00040000 + 21,
Expand Down Expand Up @@ -880,7 +880,7 @@ enum TR_CompilationOptions
TR_DisableConservativeInlining = 0x00000800 + 27,
TR_EnableExpensiveOptsAtWarm = 0x00001000 + 27,
TR_DisableCheckcastAndProfiledGuardCoalescer = 0x00002000 + 27,
TR_DisableArch11PackedToDFP = 0x00004000 + 27,
// Available = 0x00004000 + 27,
TR_DisableVectorRegGRA = 0x00008000 + 27,
TR_DisableSIMD = 0x00010000 + 27,
// Available = 0x00020000 + 27,
Expand Down

0 comments on commit 7780a2b

Please sign in to comment.