From: Bernd Schmidt Date: Fri, 27 Mar 2015 13:02:39 +0000 (+0000) Subject: Allow misaligned volatile stores in C6X. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2166d2a1a010c5172a14e30bb17c3bd4ca9a9ff3;p=gcc.git Allow misaligned volatile stores in C6X. * config/c6x/c6x.md (movmisalign): Use MEM_P, not memory_operand. From-SVN: r221732 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e4b6c18055..d5535f9df08 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2015-03-27 Bernd Schmidt + * config/c6x/c6x.md (movmisalign): Use MEM_P, not + memory_operand. + PR target/65052 * config/c6x/constraints.md (S3): New constraint. * config/c6x/c6x.md (real_jump): Use it. diff --git a/gcc/config/c6x/c6x.md b/gcc/config/c6x/c6x.md index fafefa6eca2..e957eca6e38 100644 --- a/gcc/config/c6x/c6x.md +++ b/gcc/config/c6x/c6x.md @@ -775,7 +775,7 @@ UNSPEC_MISALIGNED_ACCESS))] "TARGET_INSNS_64" { - if (memory_operand (operands[0], mode)) + if (MEM_P (operands[0])) { emit_insn (gen_movmisalign_store (operands[0], operands[1])); DONE;