mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8238683: C2: Remove Use24BitFP and Use24BitFPMode flags
Reviewed-by: thartmann, neliasso
This commit is contained in:
parent
74e68b4092
commit
5e9dc46d21
4 changed files with 26 additions and 29 deletions
|
@ -1094,7 +1094,7 @@ void Compile::Init(int aliaslevel) {
|
|||
_matcher = NULL; // filled in later
|
||||
_cfg = NULL; // filled in later
|
||||
|
||||
set_24_bit_selection_and_mode(Use24BitFP, false);
|
||||
IA32_ONLY( set_24_bit_selection_and_mode(true, false); )
|
||||
|
||||
_node_note_array = NULL;
|
||||
_default_node_notes = NULL;
|
||||
|
@ -3713,14 +3713,16 @@ bool Compile::final_graph_reshaping() {
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef IA32
|
||||
// If original bytecodes contained a mixture of floats and doubles
|
||||
// check if the optimizer has made it homogenous, item (3).
|
||||
if( Use24BitFPMode && Use24BitFP && UseSSE == 0 &&
|
||||
if (UseSSE == 0 &&
|
||||
frc.get_float_count() > 32 &&
|
||||
frc.get_double_count() == 0 &&
|
||||
(10 * frc.get_call_count() < frc.get_float_count()) ) {
|
||||
set_24_bit_selection_and_mode( false, true );
|
||||
set_24_bit_selection_and_mode(false, true);
|
||||
}
|
||||
#endif // IA32
|
||||
|
||||
set_java_calls(frc.get_java_call_count());
|
||||
set_inner_loops(frc.get_inner_loop_count());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue