-/* Copyright (C) 2008-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2020 Free Software Foundation, Inc.
This file is part of GCC.
/* AES */
-#ifndef __AES__
+#if !defined(__AES__) || !defined(__SSE2__)
#pragma GCC push_options
-#pragma GCC target("aes")
+#pragma GCC target("aes,sse2")
#define __DISABLE_AES__
#endif /* __AES__ */
/* PCLMUL */
-#ifndef __PCLMUL__
+#if !defined(__PCLMUL__) || !defined(__SSE2__)
#pragma GCC push_options
-#pragma GCC target("pclmul")
+#pragma GCC target("pclmul,sse2")
#define __DISABLE_PCLMUL__
#endif /* __PCLMUL__ */