RFR(M): 8154826: AArch64: take better advantage of base + shifted offset addressing mode

Roland Westrelin rwestrel at redhat.com
Mon May 9 09:57:45 UTC 2016


Hi Vladimir,

> Does not build:
>
> "hotspot/src/cpu/x86/vm/x86.ad", line 1898: Error: The type "AddPNode" is incomplete.
> ...
>

Indeed it doesn't build with precompiled headers off.

I updated:

http://cr.openjdk.java.net/~roland/8154826/8154826.patch

with the patch below.

Roland.

diff --git a/src/cpu/aarch64/vm/aarch64.ad b/src/cpu/aarch64/vm/aarch64.ad
--- a/src/cpu/aarch64/vm/aarch64.ad
+++ b/src/cpu/aarch64/vm/aarch64.ad
@@ -996,6 +996,7 @@
 source_hpp %{
 
 #include "gc/shared/cardTableModRefBS.hpp"
+#include "opto/addnode.hpp"
 
 class CallStubImpl {
 
diff --git a/src/cpu/x86/vm/x86.ad b/src/cpu/x86/vm/x86.ad
--- a/src/cpu/x86/vm/x86.ad
+++ b/src/cpu/x86/vm/x86.ad
@@ -1586,6 +1586,8 @@
 
 source %{
 
+#include "opto/addnode.hpp"
+
 // Emit exception handler code.
 // Stuff framesize into a register and call a VM stub routine.
 int HandlerImpl::emit_exception_handler(CodeBuffer& cbuf) {


More information about the hotspot-compiler-dev mailing list