From ed22b54075707bbf1b859cb36aac0ef0219b6522 Mon Sep 17 00:00:00 2001 From: bernds Date: Fri, 27 Mar 2015 13:02:39 +0000 Subject: [PATCH] Allow misaligned volatile stores in C6X. * config/c6x/c6x.md (movmisalign): Use MEM_P, not memory_operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221732 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 3 +++ gcc/config/c6x/c6x.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e4b6c1..d5535f9 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 fafefa6..e957eca 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; -- 2.7.4