src/hotspot/cpu/x86/x86.ad
changeset 57804 9b7b9f16dfd9
parent 55299 40320fb1920a
child 58061 fafba5cf3546
--- a/src/hotspot/cpu/x86/x86.ad	Tue Aug 20 10:46:23 2019 +0200
+++ b/src/hotspot/cpu/x86/x86.ad	Tue Aug 20 10:11:53 2019 +0100
@@ -1478,6 +1478,13 @@
         ret_value = false;
       break;
 #endif
+    case Op_CacheWB:
+    case Op_CacheWBPreSync:
+    case Op_CacheWBPostSync:
+      if (!VM_Version::supports_data_cache_line_flush()) {
+        ret_value = false;
+      }
+      break;
   }
 
   return ret_value;  // Per default match rules are supported.