Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8252362: C2: Remove no-op checking for callee-saved-floats
Reviewed-by: vlivanov
  • Loading branch information
shipilev committed Aug 27, 2020
1 parent 319348b commit ea029715c1afb5e117cefb54a7d1212b598b9ec7
Showing 1 changed file with 0 additions and 10 deletions.
@@ -63,16 +63,6 @@ bool C2Compiler::init_c2_runtime() {
}
}

// Check that runtime and architecture description agree on callee-saved-floats
bool callee_saved_floats = false;
for( OptoReg::Name i=OptoReg::Name(0); i<OptoReg::Name(_last_Mach_Reg); i = OptoReg::add(i,1) ) {
// Is there a callee-saved float or double?
if( register_save_policy[i] == 'E' /* callee-saved */ &&
(register_save_type[i] == Op_RegF || register_save_type[i] == Op_RegD) ) {
callee_saved_floats = true;
}
}

DEBUG_ONLY( Node::init_NodeProperty(); )

Compile::pd_compiler2_init();

0 comments on commit ea02971

Please sign in to comment.