< prev index next >

src/hotspot/cpu/aarch64/assembler_aarch64.cpp

Print this page
rev 54118 : [mq]: aarch64-port

@@ -1263,10 +1263,17 @@
       __ mov(r, target());
     else
       __ movptr(r, (uint64_t)target());
     break;
   }
+  case post: {
+    // Post-indexed, just copy the contents of the register. Offset added afterwards.
+    if (_base == r) // it's a nop
+      break;
+    __ mov(r, _base);
+    break;
+  }
   default:
     ShouldNotReachHere();
   }
 }
 
< prev index next >