<div dir="ltr"><span style="color:rgb(36,41,46);font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Hi,
On RISC-V we don`t have a node for VectorizedMismatch, and when -XX:+UseVectorizedMismatchIntrinsic option set we got a fatal error caused by: <a href="https://github.com/openjdk/jdk/blob/29ff1e45b910c07711c4f4c3d821712dd9a1e3ba/src/hotspot/cpu/riscv/c1_LIRGenerator_riscv.cpp#L803-L805">https://github.com/openjdk/jdk/blob/29ff1e45b910c07711c4f4c3d821712dd9a1e3ba/src/hotspot/cpu/riscv/c1_LIRGenerator_riscv.cpp#L803-L805</a>.
On other architectures where we don`t have such intrinsic we got only warning. Also, on RISC-V for unimplemented intrinsics like _updateCRC32, _updateCRC32C when we turn on UseCRC32Intrinsics option only warning produced on output.
</span><div><span style="color:rgb(36,41,46);font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><br></span></div><div><span style="color:rgb(36,41,46);font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Do we have any reasons to throw a fatal error in VectorizedMismatch? Can we throw a warning when the UseVectorizedMismatchIntrinsic option is turned on?
</span></div><span style="color:rgb(36,41,46);font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Changes example available here: <a href="https://github.com/Ilyagavrilin/jdk/commit/a6d15bb92875785d3493249d4392cff643ae02f7">https://github.com/Ilyagavrilin/jdk/commit/a6d15bb92875785d3493249d4392cff643ae02f7</a>
With best regards,
Ilya</span></div>