hotspot/src/cpu/sparc/vm/vm_version_sparc.cpp
changeset 41323 ddd5600d4762
parent 38304 6c8815222785
child 41706 eb0fab7b44af
--- a/hotspot/src/cpu/sparc/vm/vm_version_sparc.cpp	Thu Sep 01 16:47:53 2016 +0200
+++ b/hotspot/src/cpu/sparc/vm/vm_version_sparc.cpp	Fri Aug 26 12:17:50 2016 -0700
@@ -266,6 +266,11 @@
     FLAG_SET_DEFAULT(UseGHASHIntrinsics, false);
   }
 
+  if (UseFMA) {
+    warning("FMA instructions are not available on this CPU");
+    FLAG_SET_DEFAULT(UseFMA, false);
+  }
+
   // SHA1, SHA256, and SHA512 instructions were added to SPARC T-series at different times
   if (has_sha1() || has_sha256() || has_sha512()) {
     if (UseVIS > 0) { // SHA intrinsics use VIS1 instructions