This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, i386]_ Fix isa attribute for sse_loadld
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 23 Jan 2015 20:53:26 +0100
- Subject: [PATCH, i386]_ Fix isa attribute for sse_loadld
- Authentication-results: sourceware.org; auth=none
Hello!
movd is a SSE2 insn.
2015-01-23 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sse.md (sse2_loadld): Set attribute isa to sse2 for
alternative 1.
Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.
Committed to mainline SVN as obvious.
Index: config/i386/sse.md
===================================================================
--- config/i386/sse.md (revision 220055)
+++ config/i386/sse.md (working copy)
@@ -12578,7 +12578,7 @@
movss\t{%2, %0|%0, %2}
movss\t{%2, %0|%0, %2}
vmovss\t{%2, %1, %0|%0, %1, %2}"
- [(set_attr "isa" "sse2,*,noavx,noavx,avx")
+ [(set_attr "isa" "sse2,sse2,noavx,noavx,avx")
(set_attr "type" "ssemov")
(set_attr "prefix" "maybe_vex,maybe_vex,orig,orig,vex")
(set_attr "mode" "TI,TI,V4SF,SF,SF")])
Uros.