--- old/src/hotspot/cpu/x86/x86.ad 2019-02-16 20:56:36.149822517 +0530 +++ new/src/hotspot/cpu/x86/x86.ad 2019-02-16 20:56:35.945822513 +0530 @@ -1,5 +1,5 @@ // -// Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. // // This code is free software; you can redistribute it and/or modify it @@ -1450,6 +1450,15 @@ if (UseSSE < 2) ret_value = false; break; +#ifdef _LP64 + case Op_MaxD: + case Op_MaxF: + case Op_MinD: + case Op_MinF: + if (UseAVX < 1) // enabled for AVX only + ret_value = false; + break; +#endif } return ret_value; // Per default match rules are supported.