Allow misaligned volatile stores in C6X.
authorBernd Schmidt <bernds@codesourcery.com>
Fri, 27 Mar 2015 13:02:39 +0000 (13:02 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 27 Mar 2015 13:02:39 +0000 (13:02 +0000)
* config/c6x/c6x.md (movmisalign<mode>): Use MEM_P, not
memory_operand.

From-SVN: r221732

gcc/ChangeLog
gcc/config/c6x/c6x.md

index 8e4b6c18055a0e60cdd405c28dc50e0b4d78b946..d5535f9df08f8c69c926a1ee84ea7d746f564d06 100644 (file)
@@ -1,5 +1,8 @@
 2015-03-27  Bernd Schmidt  <bernds@codesourcery.com>
 
+       * config/c6x/c6x.md (movmisalign<mode>): Use MEM_P, not
+       memory_operand.
+
        PR target/65052
         * config/c6x/constraints.md (S3): New constraint.
         * config/c6x/c6x.md (real_jump): Use it.
index fafefa6eca2d9a1a7ebf6e3c7743ee7515e518ca..e957eca6e387ddfa338dc4cef490a50839f09442 100644 (file)
                       UNSPEC_MISALIGNED_ACCESS))]
   "TARGET_INSNS_64"
 {
-  if (memory_operand (operands[0], <MODE>mode))
+  if (MEM_P (operands[0]))
     {
       emit_insn (gen_movmisalign<mode>_store (operands[0], operands[1]));
       DONE;