< prev index next >

src/hotspot/share/opto/c2compiler.cpp

Print this page
rev 64195 : 8251525: AARCH64: Faster Math.signum(fp)
Reviewed-by: aph, vlivanov, adinn


 628   case vmIntrinsics::_multiplyToLen:
 629   case vmIntrinsics::_squareToLen:
 630   case vmIntrinsics::_mulAdd:
 631   case vmIntrinsics::_montgomeryMultiply:
 632   case vmIntrinsics::_montgomerySquare:
 633   case vmIntrinsics::_bigIntegerRightShiftWorker:
 634   case vmIntrinsics::_bigIntegerLeftShiftWorker:
 635   case vmIntrinsics::_vectorizedMismatch:
 636   case vmIntrinsics::_ghash_processBlocks:
 637   case vmIntrinsics::_base64_encodeBlock:
 638   case vmIntrinsics::_updateCRC32:
 639   case vmIntrinsics::_updateBytesCRC32:
 640   case vmIntrinsics::_updateByteBufferCRC32:
 641   case vmIntrinsics::_updateBytesCRC32C:
 642   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 643   case vmIntrinsics::_updateBytesAdler32:
 644   case vmIntrinsics::_updateByteBufferAdler32:
 645   case vmIntrinsics::_profileBoolean:
 646   case vmIntrinsics::_isCompileConstant:
 647   case vmIntrinsics::_Preconditions_checkIndex:



 648     break;
 649   default:
 650     return false;
 651   }
 652   return true;
 653 }
 654 
 655 int C2Compiler::initial_code_buffer_size(int const_size) {
 656   // See Compile::init_scratch_buffer_blob
 657   int locs_size = sizeof(relocInfo) * PhaseOutput::MAX_locs_size;
 658   int slop = 2 * CodeSection::end_slop(); // space between sections
 659   return PhaseOutput::MAX_inst_size + PhaseOutput::MAX_stubs_size + const_size + slop + locs_size;
 660 }


 628   case vmIntrinsics::_multiplyToLen:
 629   case vmIntrinsics::_squareToLen:
 630   case vmIntrinsics::_mulAdd:
 631   case vmIntrinsics::_montgomeryMultiply:
 632   case vmIntrinsics::_montgomerySquare:
 633   case vmIntrinsics::_bigIntegerRightShiftWorker:
 634   case vmIntrinsics::_bigIntegerLeftShiftWorker:
 635   case vmIntrinsics::_vectorizedMismatch:
 636   case vmIntrinsics::_ghash_processBlocks:
 637   case vmIntrinsics::_base64_encodeBlock:
 638   case vmIntrinsics::_updateCRC32:
 639   case vmIntrinsics::_updateBytesCRC32:
 640   case vmIntrinsics::_updateByteBufferCRC32:
 641   case vmIntrinsics::_updateBytesCRC32C:
 642   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 643   case vmIntrinsics::_updateBytesAdler32:
 644   case vmIntrinsics::_updateByteBufferAdler32:
 645   case vmIntrinsics::_profileBoolean:
 646   case vmIntrinsics::_isCompileConstant:
 647   case vmIntrinsics::_Preconditions_checkIndex:
 648   case vmIntrinsics::_sizeOf:
 649   case vmIntrinsics::_addressOf:
 650   case vmIntrinsics::_getReferencedObjects:
 651     break;
 652   default:
 653     return false;
 654   }
 655   return true;
 656 }
 657 
 658 int C2Compiler::initial_code_buffer_size(int const_size) {
 659   // See Compile::init_scratch_buffer_blob
 660   int locs_size = sizeof(relocInfo) * PhaseOutput::MAX_locs_size;
 661   int slop = 2 * CodeSection::end_slop(); // space between sections
 662   return PhaseOutput::MAX_inst_size + PhaseOutput::MAX_stubs_size + const_size + slop + locs_size;
 663 }
< prev index next >