< prev index next >

src/hotspot/share/opto/c2compiler.cpp

Print this page

722   case vmIntrinsics::_montgomerySquare:
723   case vmIntrinsics::_bigIntegerRightShiftWorker:
724   case vmIntrinsics::_bigIntegerLeftShiftWorker:
725   case vmIntrinsics::_vectorizedMismatch:
726   case vmIntrinsics::_ghash_processBlocks:
727   case vmIntrinsics::_base64_encodeBlock:
728   case vmIntrinsics::_base64_decodeBlock:
729   case vmIntrinsics::_updateCRC32:
730   case vmIntrinsics::_updateBytesCRC32:
731   case vmIntrinsics::_updateByteBufferCRC32:
732   case vmIntrinsics::_updateBytesCRC32C:
733   case vmIntrinsics::_updateDirectByteBufferCRC32C:
734   case vmIntrinsics::_updateBytesAdler32:
735   case vmIntrinsics::_updateByteBufferAdler32:
736   case vmIntrinsics::_profileBoolean:
737   case vmIntrinsics::_isCompileConstant:
738   case vmIntrinsics::_Preconditions_checkIndex:
739   case vmIntrinsics::_Preconditions_checkLongIndex:
740   case vmIntrinsics::_getObjectSize:
741   case vmIntrinsics::_Continuation_doYield:


742     break;
743 
744   case vmIntrinsics::_VectorCompressExpand:
745   case vmIntrinsics::_VectorUnaryOp:
746   case vmIntrinsics::_VectorBinaryOp:
747   case vmIntrinsics::_VectorTernaryOp:
748   case vmIntrinsics::_VectorFromBitsCoerced:
749   case vmIntrinsics::_VectorShuffleIota:
750   case vmIntrinsics::_VectorShuffleToVector:
751   case vmIntrinsics::_VectorLoadOp:
752   case vmIntrinsics::_VectorLoadMaskedOp:
753   case vmIntrinsics::_VectorStoreOp:
754   case vmIntrinsics::_VectorStoreMaskedOp:
755   case vmIntrinsics::_VectorGatherOp:
756   case vmIntrinsics::_VectorScatterOp:
757   case vmIntrinsics::_VectorReductionCoerced:
758   case vmIntrinsics::_VectorTest:
759   case vmIntrinsics::_VectorBlend:
760   case vmIntrinsics::_VectorRearrange:
761   case vmIntrinsics::_VectorCompare:
762   case vmIntrinsics::_VectorBroadcastInt:
763   case vmIntrinsics::_VectorConvert:
764   case vmIntrinsics::_VectorInsert:
765   case vmIntrinsics::_VectorExtract:
766   case vmIntrinsics::_VectorMaskOp:
767     return EnableVectorSupport;
768   case vmIntrinsics::_blackhole:
769     break;
770 



771   default:
772     return false;
773   }
774   return true;
775 }
776 
777 int C2Compiler::initial_code_buffer_size(int const_size) {
778   // See Compile::init_scratch_buffer_blob
779   int locs_size = sizeof(relocInfo) * PhaseOutput::MAX_locs_size;
780   int slop = 2 * CodeSection::end_slop(); // space between sections
781   return PhaseOutput::MAX_inst_size + PhaseOutput::MAX_stubs_size + const_size + slop + locs_size;
782 }

722   case vmIntrinsics::_montgomerySquare:
723   case vmIntrinsics::_bigIntegerRightShiftWorker:
724   case vmIntrinsics::_bigIntegerLeftShiftWorker:
725   case vmIntrinsics::_vectorizedMismatch:
726   case vmIntrinsics::_ghash_processBlocks:
727   case vmIntrinsics::_base64_encodeBlock:
728   case vmIntrinsics::_base64_decodeBlock:
729   case vmIntrinsics::_updateCRC32:
730   case vmIntrinsics::_updateBytesCRC32:
731   case vmIntrinsics::_updateByteBufferCRC32:
732   case vmIntrinsics::_updateBytesCRC32C:
733   case vmIntrinsics::_updateDirectByteBufferCRC32C:
734   case vmIntrinsics::_updateBytesAdler32:
735   case vmIntrinsics::_updateByteBufferAdler32:
736   case vmIntrinsics::_profileBoolean:
737   case vmIntrinsics::_isCompileConstant:
738   case vmIntrinsics::_Preconditions_checkIndex:
739   case vmIntrinsics::_Preconditions_checkLongIndex:
740   case vmIntrinsics::_getObjectSize:
741   case vmIntrinsics::_Continuation_doYield:
742   case vmIntrinsics::_shipilev_magic_sizeOf:
743   case vmIntrinsics::_shipilev_magic_addressOf:
744     break;
745 
746   case vmIntrinsics::_VectorCompressExpand:
747   case vmIntrinsics::_VectorUnaryOp:
748   case vmIntrinsics::_VectorBinaryOp:
749   case vmIntrinsics::_VectorTernaryOp:
750   case vmIntrinsics::_VectorFromBitsCoerced:
751   case vmIntrinsics::_VectorShuffleIota:
752   case vmIntrinsics::_VectorShuffleToVector:
753   case vmIntrinsics::_VectorLoadOp:
754   case vmIntrinsics::_VectorLoadMaskedOp:
755   case vmIntrinsics::_VectorStoreOp:
756   case vmIntrinsics::_VectorStoreMaskedOp:
757   case vmIntrinsics::_VectorGatherOp:
758   case vmIntrinsics::_VectorScatterOp:
759   case vmIntrinsics::_VectorReductionCoerced:
760   case vmIntrinsics::_VectorTest:
761   case vmIntrinsics::_VectorBlend:
762   case vmIntrinsics::_VectorRearrange:
763   case vmIntrinsics::_VectorCompare:
764   case vmIntrinsics::_VectorBroadcastInt:
765   case vmIntrinsics::_VectorConvert:
766   case vmIntrinsics::_VectorInsert:
767   case vmIntrinsics::_VectorExtract:
768   case vmIntrinsics::_VectorMaskOp:
769     return EnableVectorSupport;
770   case vmIntrinsics::_blackhole:
771     break;
772   case vmIntrinsics::_shipilev_magic_timestamp:
773     return Matcher::match_rule_supported(Op_Timestamp);
774   case vmIntrinsics::_shipilev_magic_timestamp_serial:
775     return Matcher::match_rule_supported(Op_TimestampSerial);
776   default:
777     return false;
778   }
779   return true;
780 }
781 
782 int C2Compiler::initial_code_buffer_size(int const_size) {
783   // See Compile::init_scratch_buffer_blob
784   int locs_size = sizeof(relocInfo) * PhaseOutput::MAX_locs_size;
785   int slop = 2 * CodeSection::end_slop(); // space between sections
786   return PhaseOutput::MAX_inst_size + PhaseOutput::MAX_stubs_size + const_size + slop + locs_size;
787 }
< prev index next >