8131676: Fix warning 'negative int converted to unsigned' after 8085932

Also fix 64-bit constant added in 8076276.

Reviewed-by: kvn
This commit is contained in:
Goetz Lindenmaier 2015-07-16 14:18:13 +02:00
parent ae05bc036d
commit ad601cca0c
2 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ protected:
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

View File

@ -2169,7 +2169,7 @@ bool SuperWord::construct_bb() {
}//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++) {