[04/46] i386: Allow UNSPECV_EMMS with SSE2 in 64-bit mode

Message ID 20190201211809.963-5-hjl.tools@gmail.com
State New
Headers show
Series
  • Implement MMX intrinsics with SSE
Related show

Commit Message

H.J. Lu Feb. 1, 2019, 9:17 p.m.
In 64-bit mode, also support __builtin_ia32_emms with SSE2.

	PR target/89021
	* config/i386/mmx.md (UNSPECV_EMMS): Replace TARGET_MMX with
	TARGET_MMX_INSNS.
---
 gcc/config/i386/mmx.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

Patch

diff --git a/gcc/config/i386/mmx.md b/gcc/config/i386/mmx.md
index c1e0f2c411e..0d44aa60c79 100644
--- a/gcc/config/i386/mmx.md
+++ b/gcc/config/i386/mmx.md
@@ -1578,7 +1578,7 @@ 
    (set_attr "mode" "DI")])
 
 (define_int_iterator EMMS
-  [(UNSPECV_EMMS "TARGET_MMX")
+  [(UNSPECV_EMMS "TARGET_MMX_INSNS")
    (UNSPECV_FEMMS "TARGET_3DNOW")])
 
 (define_int_attr emms