< prev index next >

src/hotspot/cpu/aarch64/aarch64.ad

Print this page




5830   op_cost(0);
5831   format %{ %}
5832   interface(CONST_INTER);
5833 %}
5834 
5835 // Polling Page Pointer Immediate
5836 operand immPollPage()
5837 %{
5838   predicate((address)n->get_ptr() == os::get_polling_page());
5839   match(ConP);
5840 
5841   op_cost(0);
5842   format %{ %}
5843   interface(CONST_INTER);
5844 %}
5845 
5846 // Card Table Byte Map Base
5847 operand immByteMapBase()
5848 %{
5849   // Get base of card map
5850   predicate(Universe::heap()->barrier_set()->is_a(BarrierSet::CardTableBarrierSet) &&
5851             (jbyte*)n->get_ptr() == ((CardTableBarrierSet*)(Universe::heap()->barrier_set()))->card_table()->byte_map_base());
5852   match(ConP);
5853 
5854   op_cost(0);
5855   format %{ %}
5856   interface(CONST_INTER);
5857 %}
5858 
5859 // Pointer Immediate Minus One
5860 // this is used when we want to write the current PC to the thread anchor
5861 operand immP_M1()
5862 %{
5863   predicate(n->get_ptr() == -1);
5864   match(ConP);
5865 
5866   op_cost(0);
5867   format %{ %}
5868   interface(CONST_INTER);
5869 %}
5870 
5871 // Pointer Immediate Minus Two




5830   op_cost(0);
5831   format %{ %}
5832   interface(CONST_INTER);
5833 %}
5834 
5835 // Polling Page Pointer Immediate
5836 operand immPollPage()
5837 %{
5838   predicate((address)n->get_ptr() == os::get_polling_page());
5839   match(ConP);
5840 
5841   op_cost(0);
5842   format %{ %}
5843   interface(CONST_INTER);
5844 %}
5845 
5846 // Card Table Byte Map Base
5847 operand immByteMapBase()
5848 %{
5849   // Get base of card map
5850   predicate(BarrierSet::barrier_set()->is_a(BarrierSet::CardTableBarrierSet) &&
5851             (jbyte*)n->get_ptr() == ((CardTableBarrierSet*)(BarrierSet::barrier_set()))->card_table()->byte_map_base());
5852   match(ConP);
5853 
5854   op_cost(0);
5855   format %{ %}
5856   interface(CONST_INTER);
5857 %}
5858 
5859 // Pointer Immediate Minus One
5860 // this is used when we want to write the current PC to the thread anchor
5861 operand immP_M1()
5862 %{
5863   predicate(n->get_ptr() == -1);
5864   match(ConP);
5865 
5866   op_cost(0);
5867   format %{ %}
5868   interface(CONST_INTER);
5869 %}
5870 
5871 // Pointer Immediate Minus Two


< prev index next >