src/hotspot/cpu/s390/vm_version_s390.cpp
changeset 47634 6a0c42c40cd1
parent 47607 c2ff34932cbd
child 47675 5af0dc07c0e7
equal deleted inserted replaced
47633:1c21c60f51bf 47634:6a0c42c40cd1
   222   if (FLAG_IS_DEFAULT(UsePopCountInstruction)) {
   222   if (FLAG_IS_DEFAULT(UsePopCountInstruction)) {
   223     FLAG_SET_DEFAULT(UsePopCountInstruction, true);
   223     FLAG_SET_DEFAULT(UsePopCountInstruction, true);
   224   }
   224   }
   225 
   225 
   226   // z/Architecture supports 8-byte compare-exchange operations
   226   // z/Architecture supports 8-byte compare-exchange operations
   227   // (see Atomic::cmpxchg and StubGenerator::generate_atomic_cmpxchg_ptr)
   227   // (see Atomic::cmpxchg)
   228   // and 'atomic long memory ops' (see Unsafe_GetLongVolatile).
   228   // and 'atomic long memory ops' (see Unsafe_GetLongVolatile).
   229   _supports_cx8 = true;
   229   _supports_cx8 = true;
   230 
   230 
   231   _supports_atomic_getadd4 = VM_Version::has_LoadAndALUAtomicV1();
   231   _supports_atomic_getadd4 = VM_Version::has_LoadAndALUAtomicV1();
   232   _supports_atomic_getadd8 = VM_Version::has_LoadAndALUAtomicV1();
   232   _supports_atomic_getadd8 = VM_Version::has_LoadAndALUAtomicV1();