@@ -1199,9 +1199,6 @@ reg_class gov_pr (
11991199 // P7, non-allocatable, preserved with all elements preset to TRUE.
12001200);
12011201
1202- reg_class p0_reg(P0);
1203- reg_class p1_reg(P1);
1204-
12051202// Singleton class for condition codes
12061203reg_class int_flags(RFLAGS);
12071204
@@ -5540,24 +5537,6 @@ operand pRegGov()
55405537 interface(REG_INTER);
55415538%}
55425539
5543- operand pRegGov_P0()
5544- %{
5545- constraint(ALLOC_IN_RC(p0_reg));
5546- match(RegVectMask);
5547- op_cost(0);
5548- format %{ %}
5549- interface(REG_INTER);
5550- %}
5551-
5552- operand pRegGov_P1()
5553- %{
5554- constraint(ALLOC_IN_RC(p1_reg));
5555- match(RegVectMask);
5556- op_cost(0);
5557- format %{ %}
5558- interface(REG_INTER);
5559- %}
5560-
55615540// Flags register, used as output of signed compare instructions
55625541
55635542// note that on AArch64 we also use this register as the output for
@@ -16512,7 +16491,7 @@ instruct partialSubtypeCheckVsZero(iRegP_R4 sub, iRegP_R0 super, iRegP_R2 temp,
1651216491instruct string_compareU(iRegP_R1 str1, iRegI_R2 cnt1, iRegP_R3 str2, iRegI_R4 cnt2,
1651316492 iRegI_R0 result, iRegP_R10 tmp1, iRegL_R11 tmp2, rFlagsReg cr)
1651416493%{
16515- predicate((UseSVE == 0) && ((( StrCompNode*)n)->encoding() == StrIntrinsicNode::UU) );
16494+ predicate((( StrCompNode*)n)->encoding() == StrIntrinsicNode::UU);
1651616495 match(Set result (StrComp (Binary str1 cnt1) (Binary str2 cnt2)));
1651716496 effect(KILL tmp1, KILL tmp2, USE_KILL str1, USE_KILL str2, USE_KILL cnt1, USE_KILL cnt2, KILL cr);
1651816497
@@ -16522,15 +16501,15 @@ instruct string_compareU(iRegP_R1 str1, iRegI_R2 cnt1, iRegP_R3 str2, iRegI_R4 c
1652216501 __ string_compare($str1$$Register, $str2$$Register,
1652316502 $cnt1$$Register, $cnt2$$Register, $result$$Register,
1652416503 $tmp1$$Register, $tmp2$$Register,
16525- fnoreg, fnoreg, fnoreg, pnoreg, pnoreg, StrIntrinsicNode::UU);
16504+ fnoreg, fnoreg, fnoreg, StrIntrinsicNode::UU);
1652616505 %}
1652716506 ins_pipe(pipe_class_memory);
1652816507%}
1652916508
1653016509instruct string_compareL(iRegP_R1 str1, iRegI_R2 cnt1, iRegP_R3 str2, iRegI_R4 cnt2,
1653116510 iRegI_R0 result, iRegP_R10 tmp1, iRegL_R11 tmp2, rFlagsReg cr)
1653216511%{
16533- predicate((UseSVE == 0) && ((( StrCompNode*)n)->encoding() == StrIntrinsicNode::LL) );
16512+ predicate((( StrCompNode*)n)->encoding() == StrIntrinsicNode::LL);
1653416513 match(Set result (StrComp (Binary str1 cnt1) (Binary str2 cnt2)));
1653516514 effect(KILL tmp1, KILL tmp2, USE_KILL str1, USE_KILL str2, USE_KILL cnt1, USE_KILL cnt2, KILL cr);
1653616515
@@ -16539,7 +16518,7 @@ instruct string_compareL(iRegP_R1 str1, iRegI_R2 cnt1, iRegP_R3 str2, iRegI_R4 c
1653916518 __ string_compare($str1$$Register, $str2$$Register,
1654016519 $cnt1$$Register, $cnt2$$Register, $result$$Register,
1654116520 $tmp1$$Register, $tmp2$$Register,
16542- fnoreg, fnoreg, fnoreg, pnoreg, pnoreg, StrIntrinsicNode::LL);
16521+ fnoreg, fnoreg, fnoreg, StrIntrinsicNode::LL);
1654316522 %}
1654416523 ins_pipe(pipe_class_memory);
1654516524%}
@@ -16548,7 +16527,7 @@ instruct string_compareUL(iRegP_R1 str1, iRegI_R2 cnt1, iRegP_R3 str2, iRegI_R4
1654816527 iRegI_R0 result, iRegP_R10 tmp1, iRegL_R11 tmp2,
1654916528 vRegD_V0 vtmp1, vRegD_V1 vtmp2, vRegD_V2 vtmp3, rFlagsReg cr)
1655016529%{
16551- predicate((UseSVE == 0) && ((( StrCompNode*)n)->encoding() == StrIntrinsicNode::UL) );
16530+ predicate((( StrCompNode*)n)->encoding() == StrIntrinsicNode::UL);
1655216531 match(Set result (StrComp (Binary str1 cnt1) (Binary str2 cnt2)));
1655316532 effect(KILL tmp1, KILL tmp2, KILL vtmp1, KILL vtmp2, KILL vtmp3,
1655416533 USE_KILL str1, USE_KILL str2, USE_KILL cnt1, USE_KILL cnt2, KILL cr);
@@ -16558,8 +16537,8 @@ instruct string_compareUL(iRegP_R1 str1, iRegI_R2 cnt1, iRegP_R3 str2, iRegI_R4
1655816537 __ string_compare($str1$$Register, $str2$$Register,
1655916538 $cnt1$$Register, $cnt2$$Register, $result$$Register,
1656016539 $tmp1$$Register, $tmp2$$Register,
16561- $vtmp1$$FloatRegister, $vtmp2$$FloatRegister, $vtmp3$$FloatRegister,
16562- pnoreg, pnoreg , StrIntrinsicNode::UL);
16540+ $vtmp1$$FloatRegister, $vtmp2$$FloatRegister,
16541+ $vtmp3$$FloatRegister , StrIntrinsicNode::UL);
1656316542 %}
1656416543 ins_pipe(pipe_class_memory);
1656516544%}
@@ -16568,7 +16547,7 @@ instruct string_compareLU(iRegP_R1 str1, iRegI_R2 cnt1, iRegP_R3 str2, iRegI_R4
1656816547 iRegI_R0 result, iRegP_R10 tmp1, iRegL_R11 tmp2,
1656916548 vRegD_V0 vtmp1, vRegD_V1 vtmp2, vRegD_V2 vtmp3, rFlagsReg cr)
1657016549%{
16571- predicate((UseSVE == 0) && ((( StrCompNode*)n)->encoding() == StrIntrinsicNode::LU) );
16550+ predicate((( StrCompNode*)n)->encoding() == StrIntrinsicNode::LU);
1657216551 match(Set result (StrComp (Binary str1 cnt1) (Binary str2 cnt2)));
1657316552 effect(KILL tmp1, KILL tmp2, KILL vtmp1, KILL vtmp2, KILL vtmp3,
1657416553 USE_KILL str1, USE_KILL str2, USE_KILL cnt1, USE_KILL cnt2, KILL cr);
@@ -16578,8 +16557,8 @@ instruct string_compareLU(iRegP_R1 str1, iRegI_R2 cnt1, iRegP_R3 str2, iRegI_R4
1657816557 __ string_compare($str1$$Register, $str2$$Register,
1657916558 $cnt1$$Register, $cnt2$$Register, $result$$Register,
1658016559 $tmp1$$Register, $tmp2$$Register,
16581- $vtmp1$$FloatRegister, $vtmp2$$FloatRegister, $vtmp3$$FloatRegister,
16582- pnoreg, pnoreg, StrIntrinsicNode::LU);
16560+ $vtmp1$$FloatRegister, $vtmp2$$FloatRegister,
16561+ $vtmp3$$FloatRegister, StrIntrinsicNode::LU);
1658316562 %}
1658416563 ins_pipe(pipe_class_memory);
1658516564%}
0 commit comments