https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69299

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |68991

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
With

diff --git a/gcc/config/i386/constraints.md b/gcc/config/i386/constraints.md
index bac9d66..1a7d386 100644
--- a/gcc/config/i386/constraints.md
+++ b/gcc/config/i386/constraints.md
@@ -161,7 +161,7 @@
   "@internal GOT memory operand."
   (match_operand 0 "GOT_memory_operand"))

-(define_constraint "Bm"
+(define_memory_constraint "Bm"
   "@internal Vector memory operand."
   (match_operand 0 "vector_memory_operand"))

I got

-       vmovaps 16(%rsp), %xmm7
-       vcvtps2pd       %xmm7, %xmm3
+       vcvtps2pd       16(%rsp), %xmm3

But we can't use define_memory_constraint:

https://gcc.gnu.org/ml/gcc-patches/2016-01/msg00125.html


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68991
[Bug 68991] -O3 generates misaligned xorv4si3

Reply via email to