--- old/src/cpu/aarch64/vm/aarch64.ad 2017-08-11 15:06:28.008434397 +0300 +++ new/src/cpu/aarch64/vm/aarch64.ad 2017-08-11 15:06:27.872433070 +0300 @@ -15747,6 +15747,16 @@ ins_pipe(pipe_class_memory); %} +instruct has_negatives(iRegP_R1 ary1, iRegI_R2 len, iRegI_R0 result, rFlagsReg cr) +%{ + match(Set result (HasNegatives ary1 len)); + effect(USE_KILL ary1, USE_KILL len, KILL cr); + format %{ "has negatives byte[] $ary1,$len -> $result" %} + ins_encode %{ + __ has_negatives($ary1$$Register, $len$$Register, $result$$Register); + %} + ins_pipe( pipe_slow ); +%} // fast char[] to byte[] compression instruct string_compress(iRegP_R2 src, iRegP_R1 dst, iRegI_R3 len,