src/hotspot/cpu/aarch64/aarch64.ad
changeset 59303 1d6e62764eee
parent 59053 ba6c248cae19
equal deleted inserted replaced
59302:24e8cdead5f3 59303:1d6e62764eee
  5637 // converted to cbxx or tbxx instructions
  5637 // converted to cbxx or tbxx instructions
  5638 
  5638 
  5639 operand cmpOpEqNe()
  5639 operand cmpOpEqNe()
  5640 %{
  5640 %{
  5641   match(Bool);
  5641   match(Bool);
  5642   match(CmpOp);
       
  5643   op_cost(0);
  5642   op_cost(0);
  5644   predicate(n->as_Bool()->_test._test == BoolTest::ne
  5643   predicate(n->as_Bool()->_test._test == BoolTest::ne
  5645             || n->as_Bool()->_test._test == BoolTest::eq);
  5644             || n->as_Bool()->_test._test == BoolTest::eq);
  5646 
  5645 
  5647   format %{ "" %}
  5646   format %{ "" %}
  5661 // converted to cbxx or tbxx instructions
  5660 // converted to cbxx or tbxx instructions
  5662 
  5661 
  5663 operand cmpOpLtGe()
  5662 operand cmpOpLtGe()
  5664 %{
  5663 %{
  5665   match(Bool);
  5664   match(Bool);
  5666   match(CmpOp);
       
  5667   op_cost(0);
  5665   op_cost(0);
  5668 
  5666 
  5669   predicate(n->as_Bool()->_test._test == BoolTest::lt
  5667   predicate(n->as_Bool()->_test._test == BoolTest::lt
  5670             || n->as_Bool()->_test._test == BoolTest::ge);
  5668             || n->as_Bool()->_test._test == BoolTest::ge);
  5671 
  5669 
  5686 // converted to cbxx or tbxx instructions
  5684 // converted to cbxx or tbxx instructions
  5687 
  5685 
  5688 operand cmpOpUEqNeLtGe()
  5686 operand cmpOpUEqNeLtGe()
  5689 %{
  5687 %{
  5690   match(Bool);
  5688   match(Bool);
  5691   match(CmpOp);
       
  5692   op_cost(0);
  5689   op_cost(0);
  5693 
  5690 
  5694   predicate(n->as_Bool()->_test._test == BoolTest::eq
  5691   predicate(n->as_Bool()->_test._test == BoolTest::eq
  5695             || n->as_Bool()->_test._test == BoolTest::ne
  5692             || n->as_Bool()->_test._test == BoolTest::ne
  5696             || n->as_Bool()->_test._test == BoolTest::lt
  5693             || n->as_Bool()->_test._test == BoolTest::lt