--- old/src/hotspot/share/adlc/formssel.cpp 2020-05-20 17:59:53.617951244 -0700 +++ new/src/hotspot/share/adlc/formssel.cpp 2020-05-20 17:59:53.237943947 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2020, Oracle and/or its affiliates. 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 @@ -1043,11 +1043,7 @@ const char *opType = NULL; while (_matrule->base_operand(position, globals, result, name, opType)) { if ( strcmp(opType,"ConP") == 0 ) { -#ifdef SPARC - reloc_entries += 2; // 1 for sethi + 1 for setlo -#else ++reloc_entries; -#endif } ++position; } @@ -1081,13 +1077,7 @@ // Check for any component being an immediate float or double. Form::DataType data_type = is_chain_of_constant(globals); if( data_type==idealD || data_type==idealF ) { -#ifdef SPARC - // sparc required more relocation entries for floating constants - // (expires 9/98) - reloc_entries += 6; -#else reloc_entries++; -#endif } return reloc_entries;