hg: aarch32-port/jdk8u/hotspot: 8168849: aarch32: support soft-float platform

Chi Vo thegeek108 at gmail.com
Thu Nov 3 08:24:16 UTC 2016


Dear Snazarki,

--- a/src/share/vm/c1/c1_LinearScan.cpp	Tue Oct 04 13:21:19 2016 +0300
<http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.1>+++
b/src/share/vm/c1/c1_LinearScan.cpp	Thu Oct 27 18:42:29 2016 +0300
<http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.2>@@
-32,6 +32,7 @@ <http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.3>
#include "c1/c1_LinearScan.hpp"
<http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.4>
#include "c1/c1_ValueStack.hpp"
<http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.5>
#include "utilities/bitMap.inline.hpp"
<http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.6>+#include
"vm_version_aarch32.hpp"
<http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.7>
#ifdef TARGET_ARCH_x86
<http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.8>
# include "vmreg_x86.inline.hpp"
<http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.9>
#endif <http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.10>@@
-196,10 +197,10 @@
<http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/4d49ebf4b433#l23.11>
}


I think this line +#include "vm_version_aarch32.hpp" must be put in block
code if *#ifdef TARGET_ARCH_aarch32* like that to avoid compiling error
when compile for other platform.
(In my case, its compile error for x86)

#ifdef TARGET_ARCH_aarch32
# include "vmreg_aarch32.inline.hpp"
# include "vm_version_aarch32.hpp"
#endif


Best Regards,
Chi Vo


More information about the aarch32-port-dev mailing list