From 6bd65ad89c202aba3929b9a03ef7e84de873380a Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 14 Jan 2020 19:07:47 +0100 Subject: [PATCH] PR target/93254 - -msse generates sse2 instructions * config/i386/i386.md (*movsf_internal): Require SSE2 ISA for alternatives 9 and 10. --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f586fe..a5133c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2020-01-14 Uroš Bizjak + + PR target/93254 + * config/i386/i386.md (*movsf_internal): Require SSE2 ISA for + alternatives 9 and 10. + 2020-01-14 David Malcolm * attribs.c (excl_hash_traits::empty_zero_p): New static constant. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 0344110..f08410a 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -3696,7 +3696,7 @@ } } [(set (attr "isa") - (cond [(eq_attr "alternative" "14,15") + (cond [(eq_attr "alternative" "9,10,14,15") (const_string "sse2") ] (const_string "*"))) -- 2.7.4