8131676: Fix warning 'negative int converted to unsigned' after 8085932.
Summary: Also fix 64-bit constant added in 8076276.
Reviewed-by: kvn
--- a/hotspot/src/cpu/x86/vm/vm_version_x86.hpp Thu Jul 16 14:16:44 2015 +0000
+++ b/hotspot/src/cpu/x86/vm/vm_version_x86.hpp Thu Jul 16 14:18:13 2015 +0200
@@ -285,7 +285,7 @@
CPU_AVX512BW = (1 << 31)
} cpuFeatureFlags;
-#define CPU_AVX512VL 0x100000000 // EVEX instructions with smaller vector length : enums are limited to 32bit
+#define CPU_AVX512VL UCONST64(0x100000000) // EVEX instructions with smaller vector length : enums are limited to 32bit
enum {
// AMD
--- a/hotspot/src/share/vm/opto/superword.cpp Thu Jul 16 14:16:44 2015 +0000
+++ b/hotspot/src/share/vm/opto/superword.cpp Thu Jul 16 14:18:13 2015 +0200
@@ -2169,7 +2169,7 @@
}//while
int ii_current = -1;
- unsigned int load_idx = -1;
+ unsigned int load_idx = (unsigned int)-1;
_ii_order.clear();
// Create real map of block indices for nodes
for (int j = 0; j < _block.length(); j++) {