RFR: 8175567: Build of hotspot for arm-vfp-sflt fails

Bob Vandette bob.vandette at oracle.com
Mon Feb 27 16:15:13 UTC 2017


BUG:

https://bugs.openjdk.java.net/browse/JDK-8175567

DESCRIPTION:

The changes that were done under  (JDK-8160245 Clean up platform #defines in c1_LIR.hpp),
broke the arm-vfp-sflt build. 

Here’s a link to that original bug:

     https://bugs.openjdk.java.net/browse/JDK-8160245

This change below corrects the issue.

diff --git a/src/share/vm/c1/c1_LIR.hpp b/src/share/vm/c1/c1_LIR.hpp
--- a/src/share/vm/c1/c1_LIR.hpp
+++ b/src/share/vm/c1/c1_LIR.hpp
@@ -613,7 +613,7 @@
   // Platform dependant.
   static LIR_Opr double_fpu(int reg1, int reg2 = -1 /*fnoreg*/);
 
-#ifdef __SOFTFP__
+#ifdef ARM32
   static LIR_Opr single_softfp(int reg) {
     return (LIR_Opr)(intptr_t)((reg  << LIR_OprDesc::reg1_shift) |
                                LIR_OprDesc::float_type           |

Bob.



More information about the aarch32-port-dev mailing list